Adding rivers to your game can be tricky when your scene has a lot of variation in height. And static water can feel a bit lifeless when you try to play with it.
That’s why I’ve made Surface Waves, a toolset that creates dynamic rivers, lakes and oceans by making waves interact with underlying terrain. It’s GPU accelerated by making use of Compute Shaders (when supported), or Fragment shaders.
Video demonstration and explanation:
You may have seen an early version of this project last year when I entered the DX11 competition with a Water Simulation. I got a lot of encouragement to turn it into a product. Back then, it was mostly just a tech demo, which wasn’t very suitable for anything other than the scene I created. I spent a lot of time trying to make it easier to use, easier to extend and easier maintain. I also made it work across platforms. Although so far I’ve only been able to test it on Windows and OSX.
The following will be part of it:
-
GPGPU framework for DirectCompute and vertex/fragment shaders
-
Shallow Water Simulation Shaders
-
Water Shaders:
-
Simple Water Shader
-
Reflection
-
Water Color
-
Transparency
-
Complex Water Shader
-
Reflection
-
Refraction (with adjustable filter color)
-
Depth Based Fog (with adjustable color)
-
Soft Shorelines
-
Light Wrapping
-
Foam (uses simulation data)
-
Opaque Liquid Shader
-
Reflection
-
Color
-
Adjustable Emissive Lighting (Self-illumin)
-
Mix between Diffuse and Emissive
-
Example Materials:
-
Water:
-
Fjord
-
Ocean
-
Muddy
-
Simple
-
Non-Water:
-
Blood (For making blood oceans, like you do)
-
Blue and Green Ink
-
Green Goop
-
Mercury
-
Milk
-
Oil
-
Unidentified Orange Stuff
-
Realtime Texture debugger
-
Custom Reorderable List Property Drawer
-
Experimental Buoyancy (DX11 only)
-
Freeflight Camera with Physics
You can buy it on the Unity Asset Store, and in the future I also want to make it available through a service like Patreon. I want to make it available in the Unity Asset Store and through Patreon. But I still have to do some work like creating store image, writing descriptions and creating a license for the Patreon version.
Quick setup guide, and Unity 5 info.
In the meantime you can play with a demo on my website.
Please let me know what you think of it so far.
- RC-1290


