DepthProbe#

Class in WaveHarmonic.Crest, WaveHarmonic.Crest

Captures scene height / water depth, and renders it into the simulation.

Caches the operation to avoid rendering it every frame. This should be used for static geometry, dynamic objects should be tagged with the DepthLodInput component.

Members#

Properties#

AdditionalJumpFloodRounds

How many additional Jump Flood rounds to use.

CaptureRange

The far and near plane of the depth probe camera respectively, relative to the transform.

EnableBackFaceInclusion

Increase coverage by testing mesh back faces within the Fill Holes area.

FillHolesCaptureHeight

Fills holes left by the maximum of the capture range.

GenerateSignedDistanceField

Generate a signed distance field for the shoreline.

Layers

The layers to render into the probe.

QualitySettingsOverride

Overrides global quality settings.

RefreshMode

Controls how the probe is refreshed in the Player.

Resolution

The resolution of the probe.

SavedTexture

Baked probe.

Type

Specifies the setup for this probe.

Methods#

Populate

Populates the DepthProbe.