ShadowParameters

Description

sealed class Tinman.Engine.Rendering.Effects.Shared.ShadowParameters

Derived from

RenderEffectParameters abstract

Shared render effect parameters for shadow mapping.

The following low-level render effect parameter slots are always defined:

Public / Constants

Cascades​Count


public constant CascadesCount → (3:int32)

The number of shadow map cascades.

Changed​Blend


public constant ChangedBlend → (1 << 0:int32)

Changed flag for Blend.

Changed​Cascades


public constant ChangedCascades → (1 << 1:int32)

Changed flag for Cascades.

Changed​Light​Bleed


public constant ChangedLightBleed → (1 << 2:int32)

Changed flag for LightBleed.

Public / Constructors

Shadow​Parameters


public constructor ShadowParameters → ()

Creates a new instance of ShadowParameters.

Public / Attributes

Blend


public attribute Blend → (get,set)

value : Vec4F

The coefficient vector.

Coefficients for blending the shadow cascades.

Defaults to Vec4F.Zero.

Cascades


public readonly attribute Cascades → (RenderEffectParameterArray<ShadowCascadeParameters>)

The render effect parameters for each shadow map cascade (see CascadesCount).

Light​Bleed


public attribute LightBleed → (get,set)

value : float32

The light bleeding correction value in the range [0..1[.

The light bleeding correction value.

Defaults to 0.