Simple Water Shaders are fast and easy water shaders running on mobile and desktop platforms. The asset includes two shaders, Specular and Surface. Water over time changes the direction vector, the direction of movement changes in a circle. You can also set the direction of water movement (for example, synchronize the direction of water with the direction of the Wind Zone). These shaders do not use tessellation, only normal mapping and parallax. Supported rendering path deferred and forward (DepthTextureMode).
This shader is well suited for decorative purposes, in scenes where water is not a key element.
Features:
- Two shaders, Specular and Surface.
- Advanced settings for visualization.
- Control the direction of water movement.
- Support for all functions in Forward Rendering and Deferred Rendering.
- Good performance.
Information
This shader does not work with SRP (HDRP, URP)!
This water shader uses parallax, so it is tied to UV mesh.
For shaders to work on mobile platforms with Forward Rendering, enable "Depth Texture Mode" function.
If you use mobile platforms, enable HDR for proper operation (Project Settings / Graphics).
I recommend importing this asset into a new project. Study the operation of the asset and copy the components you need to your project.
For Unity version of at least 2019.1.8 (Built-in Render Pipeline)
Current version 1.5.1
License
This project is licensed under
MIT License