Click or drag to resize
AB4D logo

SuperShaderSetShadowMappingParameters Method

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

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

Parameters

shadowLightsData  ShadowLightData
array of ShadowLightData - one element for each light
renderingContext  RenderingContext
RenderingContext
See Also