Click or drag to resize
Ab4d.SharpEngine logo

SoftShadowRenderingProviderShadowLightSize Property

Gets or sets the size of the light source used for rendering soft shadows. A larger value results in softer shadows with a more pronounced penumbra, while a smaller value produces harder shadows. Setting this value to 0 results in hard shadows, regardless of the distance from the shadow casting object. To set constat shadow blur that is not dependent to the distance from the shadow object, use ShadowBlur.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.1.9680+a1b1e43de1ad9a7e35472c33948d688d7b40ef79
Syntax
C#
public float ShadowLightSize { get; set; }

Property Value

Single
See Also