Git Product home page Git Product logo

computeerosion's Introduction

ComputeErosion

This is an implementation an erosion simulation in Unity based on the papers Fast Hydraulic Erosion Simulation and Visualization on GPU and Interactive Terrain Modeling Using Hydraulic Erosion.

Unity Erosion Simulation

The simulation uses multiple compute shaders that compute the flow of water, sediment transport and decomposition and water evaporation.

Goal of the project

The goal of this project was to get familiar with compute shaders in Unity and create beautiful pictures.

How to use the Simulation

  • Create a plane mesh with lots of subdivisions and import it into Unity (I just used Blender).
  • Add an ErodingTerrain component.
  • Add the VertexDisplacement material to its Mesh Renderer.
  • Use the editor script to create a base terrain.
  • Uncheck the 'EditTerrain' flag to run the simulation.
  • Change the parameters to your liking.
  • Check the 'EditTerrain' flag to edit the base terrain again.
  • Rinse and repeat.

computeerosion's People

Contributors

fancyfennec avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.