Click or drag to resize
AB4D logo

SuperShadowShaderEffectSetShadowMappingParameters(ShadowLightData, Single, RenderingContext) Method

SetShadowMappingParameters sets parameters needed for shadow mapping. This method must be called after the ApplyPerFrameSettings(ICamera, IListILight, RenderingContext) method and enabled shadow rendering until the next call to ApplyPerFrameSettings(ICamera, IListILight, RenderingContext) method.

Namespace: Ab3d.DirectX
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.0.8865.1045
Syntax
C#
public void SetShadowMappingParameters(
	ShadowLightData[] shadowLightsData,
	float shadowThreshold,
	RenderingContext renderingContext
)

Parameters

shadowLightsData  ShadowLightData
array of ShadowLightData - one element for each light
shadowThreshold  Single
float value that helps prevent light bleeding
renderingContext  RenderingContext
RenderingContext
See Also