DepthOccluded Rain

I haven’t really seen anything on the forums/discord about this (At least from a simple search of “Rain”) so i’m posting this to give other people the ability to do the same. This is a rain/snow/dust? material that occludes based off of depth (IE: Snow can’t fall past a roof.

Here is the project link:
https://github.com/Xapher/FlaxOccludedRainSample

Eventually there will be a short video explaining how to use it, But here is a short demo of what it does.
https://www.youtube.com/watch?v=vJ6X4lkUE78&feature=youtu.be

Modify the texture, shader, etc how you want to make this better or how you want it, this was a quick “Setup” by me and others can make it better.

3 Likes