Stylized Water Shader Documentation

Stylized Water Shader

Stylized Water Shader
Author: jonathan
Version: 2.0.6
Dated: 19 Mar 2017

3.Compatibility #

Unity version
The minimum supported version is 5.6, up to 2019.2.

Beta and Alpha versions may work but will not be eligible for support, due to the frequent changes.

Scriptable Render Pipeline
The Lightweight and High-Definition render pipelines are not supported, as are custom pipelines.

VR
The shaders have been tested using an Oculus Rift where no issues have been encountered. Planar reflections do not work in Single-Pass Stereo Rendering and are automatically disabled.

GearVR and Oculus Quest are excluded, since the Oculus SDK strips access to the depth buffer in shaders, making the water turn invisible.

Mobile
The minimum hardware requirement is a GPU compatible with OpenGL ES 3.0. Devices released after 2012 support this.

The shaders offer different lighting methods, the “Unlit” and “Simple” lighting methods are best suited for mobile.

MacOS
Compatible with both OpenGL and Metal

Fog
The water renders to the Transparency queue and does not contribute to the scene’s depth, as such it will not be affected by third-party fog effects.

Consoles
Users have reported to have no issues on Playstation 4 and Xbox One. The shaders are “surface shaders”, which means they use Unity’s internal lighting system rather than a custom one. This leads to assume the chance of any graphical or compiling issues are minimal.

I do not have access to any dev kits. So if you find yourself having any such issues, please get in touch as I’d be happy to work towards a solution!

No issues found on Nintendo Switch.

Lighting
With the lighting mode set to “Advanced” the shader supports Skybox reflections and Reflection Probes.

Point lights and spot light are not supported, which is a limitation of transparent surface shaders.

Reflections
Objects using shaders that render to the “Transparent” render queue cannot be reflected.

Misc
DirectX 9 is not supported, a minimum of Shader Model 3.5 is required. Any graphics card newer than a Radeon X1000 or GeForce 6 will support this.

Yes No Suggest edit
Last updated on August 1, 2019
1 of 1 users found this section helpful
Suggest Edit