SurfaceRenderer

Class in WaveHarmonic.Crest, WaveHarmonic.Crest

Renders the water surface.

Members

Properties

AllowRenderQueueSorting

Whether to allow sorting using the render queue.

CastShadows

Have the water surface cast shadows for albedo (both foam and custom).

Enabled

Whether the underwater effect is enabled.

Layer

The water chunk renderers will have this layer.

Material

Material to use for the water surface.

TimeSliceBoundsUpdateFrameCount

How many frames to distribute the chunk bounds calculation.

VolumeMaterial

Underwater will copy from this material if set.

WaterBodyCulling

Whether ‘Water Body’ components will cull the water tiles.

Events

OnCreateChunkRenderer

Invoked after water chunk modification.