Extends the Stylized Water 2 shader asset with underwater rendering, by seamlessly blending the water with post processing effects.
Draws a waterline lens effect for partially submerged camera's. Unlike in many games, it won't be required to snap the camera to sit either above or below the water, or resort to other tricks.
NEW! VR rendering support (Unity 2021.2+)
Features:
• Underwater fog based on the water's deep/shallow colors. Option to use volumes to blend settings.
• Waterline rendering for partially submerged cameras (supports split screen)
• Scene lighting is translated into the underwater fog, including sub-surface scattering. Reacts to dynamic directional and ambient lighting.
• Caustics rendering on geometry. Directional projection option.
• Blurring and distortion
• Underside of the water is correctly shaded, to seamlessly match.
• Includes sub-graphs to add underwater fog support for transparent Shader Graphs
• Scalable performance, features can be limited on the render feature
Limitations:
• Not suitable for mobile hardware
• Designed for oceans, lakes and ponds. Dioramas or aquariums aren't possible.
• Can't mask underwater (eg. submarine windows)
• Not a volumetric fog/light solution, but rather depth-based.
• Requires a single water level (incompatible with rivers/planets)