Adding a 2D water effect to your game is now easy with this versatile pixel shader and example code!
Easily configure properties to customize the behavior of the water, including:
Surface wave size/frequency
Surface wave speed
Water color
Water refraction/displacement
Just set the shader before you draw, configure the desired behavior, and off you go!
Don't worry - The implementation makes use of a custom GLSL pixel shader, leaving more CPU cycles available to playing your game.
If you use this asset in your code, we'll happily tweet (@GimpySoftware) screenshots of your project!
This asset includes fully documented example code which you can use as reference, or as the start of your own project.
End User Licence Agreement (EULA).