Stylized Water 2 – Underwater Rendering docs

Stylized Water 2 - Underwater Rendering (Extension)

Stylized Water 2 - Underwater Rendering (Extension)
Version: 1.0.5
Review

1.Compatibility #

Please also check the compatibility page for Stylized Water 2. The sections below are specific to Underwater Rendering extension asset.

Unless stated here, you can safely assume compatibility details for the base asset also apply to this extension

Unity 2022.2+ is not supported at the time. Unity pulled the rug on the rendering API, affecting any post-processing asset. As usual, it’s unclear how to proceed.

A future update will add compatibility for these versions, but it’ll take time to reverse engineer everything again.

Base asset
At this time, the minimum version requirement of the Stylized Water 2 base asset is v1.1.5. Using an older version will likely cause console errors.

Third-party integrations
The only exception, compared to the water shader, is that these asset aren’t compatible:

  • Atmospheric Height Fog
  • COZY Weather (fog)
  • Curved World 2020
  • WaveMaker

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.

Mobile
Not supported. Due to the nature of the rendering involved to achieve the effects, it’s not suited for mobile performance targets.

Virtual/Mixed reality
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.

Yes No Suggest edit
Last updated on August 23, 2022
0 of 0 users found this section helpful
Suggest Edit