Stylized Water 2 - Underwater Rendering (Extension)
Unless stated here, you can safely assume compatibility details for the base asset also apply to this extension
At this time, the minimum version requirement of the Stylized Water 2 base asset is
v1.4.0. Using an older version will likely cause console errors.
The only exception, compared to the water shader, is that these asset aren’t compatible:
- Atmospheric Height Fog
- COZY Weather (fog)
- Curved World 2020
Camera use cases
- Works with both perspective and orthographic cameras. For an orthographic camera, the near plane value must be higher than 1. Arguably, orthographic cameras pose a small use case. The asset is not developed as a side-scroller water solution.
- The effect works with split-screen cameras, since it renders on a per-camera basis.
- Overlay cameras are not supported, due to limitations imposed by URP camera stacking system. Instead, underwater rendering will be skipped for any objects on an overlay camera. First person objects can be rendered using the Render Objects render feature, which will work perfectly.
Not supported. Due to the nature of the rendering involved to achieve the effects, it’s not suited for mobile performance targets.
Single Pass Instanced and Multiview rendering are both supported. Though it’ll only work correctly using Unity 2021.2+ due to a bug in older versions.
Fog post processing effects
See this page.
Not compatible with the Atmospheric Height Fog and COZY Weather assets, seeing as they render as a Mesh Renderer, rather than through a scripted render pass.