Stylized Water 2
4.7.Third party integrations
Installation for third party assets can be activated through the asset window, accessible through the Window → Stylized Water 2 → Hub menu
Depth-based fog effects cannot shade transparent materials, such as water. Instead, the exact same fog shading must be applied directly in the shader, similar to how the built-in Unity fog works. These assets provide general use shader functions, which the water is able to incorporate. This allows it to mirror the fog shading perfectly.
_WaterFogDisabledfloat is set to either 1 (on) or 0 (off).
Note: Without Enviro’s fog render feature active, the water will turn white, since no fog settings will be passed on.
This has to be activated through the “Activator” tab in the Curved World window. It should point to the Assets\Stylized Water 2\Shaders folder before hitting the “Activate” button.
After which, options will appear in the material UI at the very bottom.
Note that the Underwater Rendering extension is not compatible with this asset.
If present in the project, a button will appear that unlocks the StylizedWaterDataProvider component.
Buoyancy only works for flat water bodies, such as lakes and oceans. A curved mesh such as a river or planets is not supported. It’s unlikely support for this will appear, due to the technical complexity involved.
For further details, see the Buoyancy section…