WaterReflections#

Class in WaveHarmonic.Crest, WaveHarmonic.Crest

Renders reflections for water. Currently on planar reflections.

Members#

Properties#

AllowMSAA

Whether to allow MSAA.

ClipPlaneOffset

The near clip plane clips any geometry before it, removing it from reflections.

DisableOcclusionCulling

Disables occlusion culling.

DisablePixelLights

Disables pixel lights (BIRP only).

DisableShadows

Disables shadows.

Enabled

Whether planar reflections are enabled.

FarClipPlane

Anything beyond the far clip plane is not rendered.

HDR

Whether to allow HDR.

Layers

The layers to rendering into reflections.

ReflectionSide

What side of the water surface to render planar reflections for.

NonObliqueNearSurface

Planar relfections using an oblique frustum for better performance.

NonObliqueNearSurfaceThreshold

If within this distance from the surface, disable the oblique matrix.

QualitySettingsOverride

Overrides global quality settings.

Resolution

Resolution of the reflection texture.

Sky

Whether to render the sky or fallback to default reflections.

Stencil

Whether to allow stencil operations.

UseObliqueMatrix

An oblique matrix will clip anything below the surface for free.

Mode

What side of the water surface to render planar reflections for.

Events#

OnCameraAdded

Invoked when the reflection camera is created.