This project started as a system for a mini game within Mentalytics Gym. The idea was that the more the player focused the more it would rain in the world to fill a container with water. This needed very clear visuals to be as easy to understand as possible for the player. I then remade the entire system and continued working on it as a personal project where the goal was to create a material function that you could plug into any master material to make it look wet, build puddles and like it’s receiving rain.
The entire effect consists of the following:
The master material function is then simply connected into the master materials used by the scene for the video test:
The “Wet”, “Wind”, “Puddles” and “Rain” inputs above can be overridden if needed and will otherwise default to scalar parameters in the MPC. Since the entire system now is controlled by the MPC parameters we can use them to make the entire scene wet and rainy at the same time, or at least on every object with the modified master material.
In the concept video above I used the “Modular Sci-Fi Indoor/Outdoor environment pack – Rocky Swampy Planet” pack by Roman Kharlamov with a few master materials modified.