Does anyone know how or what would be the best way to create a flowing river in unity? I tried 2 tools I found but neither worked right so it looks like i’m going to have to make this from scratch…any suggestions or known tutorials on where or how to do this? Please help me someone, any advice or points in the right direction will help, thanks!
I saw a YouTube video a while ago that showed off a moving river using a custom shader. I’m sorry but I forgot the name of the video, and I’m also not that knowledgeable about shaders. But I hope I gave you a pointer!
Animated texture + some particles of spray/mist/foam near rocks is the standard way to do it. You can get fancier with procedural shaders if you have the time and cycles to spare.
uv shifting?
Something that might be worth a try is the shader for the animated smoke in THIS (other goodies there as well). Set up a river mesh and change the textures (because smoke does not really fit of course). Toss in some particles like RaynB said and you might just have yourself a river!
there are river shaders in the forums also…
I made some testing while ago too,
riverscene test (2 webplayers)
its just moving uv maps and mixing colors, transparencies, bumps…
Check out this LINK from Unity Example Project. I’m sure that’s sort of what you need.
Check out the bootcamp demo that used to come with Unity.
They have a river in that scene that looks pretty cool.
Wow mgear! I think that looks pretty good! Can you do that on a mobile device?
havent tried any mobile shader stuff…so dont know…
added the test river shader source to the blog, its quite a mess still… : )
Here a good tool to make a river !
https://www.assetstore.unity3d.com/#/content/15783
Sadly that tool is not very good if your river changes height as it flows downhill. If your river is at the same Y height and meanders around, that’s not so bad. The problem is when you have land that actually slopes and a river or stream runs down it. Much tougher to make. I guess Unity just hasn’t caught up with my imagination yet. ![]()
no it is good at slope and down hill too, you can watch it on the video !
I would recommend Flowhiz Unity Asset Store - The Best Assets for Game Making
You can just “paint” direction inside Unity and preview it in real time mode. Works fine.
P.S.
it also has additional fast shaders for mobile games.