LightShadowMap.ShadowMapBiasParameters Class
Namespace: Stride.Rendering.LightsAssembly: Stride.Rendering.dll
Bias parameters used for shadow map.
System.Object →
LightShadowMap.ShadowMapBiasParameters
Derived from LightShadowMap.ShadowMapBiasParameters:
[DataContract("LightShadowMap.ShadowMapBiasParameters")]
public sealed class ShadowMapBiasParameters
| Name | Description | |
|---|---|---|
| Constructors | ||
| ShadowMapBiasParameters() | Initializes a new instance of the LightShadowMap.ShadowMapBiasParameters class. |
|
| Properties | ||
| DepthBias | Gets or sets the depth bias used for shadow map comparison. |
|
| NormalOffsetScale | Gets or sets the offset scale in world space unit along the surface normal. |
|
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
| Type | Description |
|---|---|
| System.Single | 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
| Type | Description |
|---|---|
| System.Single | The offset scale. |