- Home /
how to make rain smulation with accumulation on terrain model?
hello everyone,
I am geomatic engineering student. i made a terrain project on unity by using real height data of local area where i live in. i want to make a rain smulation on this terrain model but i want to accumulation of the rain water so i can smulate behavior of rain water. for expamle rain water should accumulate in relatively deep areas, rain water should flow by slope and it should overflow if continue raining. in short i need real life rain smulation which can be a guide for engineering purpose, not a visual effect. i find various rain smulation but none of them has accumulation of rain water. if you have any suggesiton i will be gratefull.
thank you already.
Everything you describe can be achieved using calculations based on the terrainData of a terrain. Indeed, there are some similar existing assets that simulate hydraulic erosion of terrain, river flow maps, or dynamic snow buildup on certain faces of a mesh, for example.
However, I doubt you'll find if anyone has done exactly what you describe previously because, well, Unity is a game engine, and games rarely have need for detailed simulation of rainfall.
Did you try emulating it with lots of tiny spheres? I'm not suggesting this as a solution because it would be very slow, but I am curious as to what it looked like.
Have you tried this one? http://codeflow.org/entries/2011/nov/10/webgl-gpu-landscaping-and-erosion/
Answer by DenisTribouillois · Jul 29, 2016 at 10:23 AM
Hello, you could use particles with collision to achieve your goal, but the parameters to achieve something scientifically reliable can be pretty difficult. If you're not forced to use Unity, you can use other software more adapted to fluids simulation, like Houdini.
Your answer
![](https://koobas.hobune.stream/wayback/20220612085713im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can i make the game keep running in the background on android/ios ? 1 Answer
Blocky / jagged indirect realtime lightmaps? 1 Answer
Realtime point light count (Pixel Light Count) issue 0 Answers
Made a real time timer but it updates too sporadically/weirdly 0 Answers
Enemy follow player on navigation mesh 0 Answers