ScaleRange#

Property in WaterRenderer

The scale the water can be (infinity for no maximum).

Water is scaled horizontally with viewer height, to keep the meshing suitable for elevated viewpoints. This sets the minimum and maximum the water will be scaled. Low minimum values give lots of detail, but will limit the horizontal extents of the water detail. Increasing the minimum value can be a great performance saving for mobile as it will reduce draw calls.

Declaration#

public Vector2 ScaleRange { get; set; }