UnderwaterRenderer#
Renders the underwater effect.
Members#
Properties#
Whether to execute for all cameras.  | 
|
Copying parameters each frame ensures underwater appearance stays consistent with the water surface.  | 
|
Proportion of visibility below which the water surface will be culled when underwater.  | 
|
Whether the underwater effect is enabled.  | 
|
Provides out-scattering based on the camera’s underwater depth.  | 
|
How much this effect applies.  | 
|
Adjusts the far plane for horizon line calculation. Helps with horizon line issue.  | 
|
Any camera or probe with this layer in its culling mask will render underwater.  | 
|
The underwater material. The water surface material is copied into this material.  | 
Static Properties#
Raised after copying the water material properties to the underwater material.  |