Table of Contents

Class LightShadowMap.ShadowMapBiasParameters

Namespace
Stride.Rendering.Lights
Assembly
Stride.Rendering.dll

Bias parameters used for shadow map.

[DataContract("LightShadowMap.ShadowMapBiasParameters")]
public sealed class LightShadowMap.ShadowMapBiasParameters
Inheritance
LightShadowMap.ShadowMapBiasParameters

Constructors

ShadowMapBiasParameters()

Initializes a new instance of the LightShadowMap.ShadowMapBiasParameters class.

public ShadowMapBiasParameters()

Properties

DepthBias

Gets or sets the depth bias used for shadow map comparison.

[DataMember(10)]
public float DepthBias { get; set; }

Property Value

float

The bias.

NormalOffsetScale

Gets or sets the offset scale in world space unit along the surface normal.

[DataMember(20)]
public float NormalOffsetScale { get; set; }

Property Value

float

The offset scale.