SampleTerrainHeightForScale#

Property in WaterRenderer

Also checks terrain height when determining the scale.

The scale is changed based on the viewer’s height above the water surface. This can be a problem with varied water level, as the viewer may not be directly over the higher water level leading to a height difference, and thus incorrect scale.

Declaration#

public bool SampleTerrainHeightForScale { get; set; }