Click or drag to resize
AB4D logo

PlaneGetDirectionalLightShadowMatrix Method

Creates a matrix that flattens a 3D mesh into a shadow mesh that lies on this plane and has zero height.

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public Matrix3D GetDirectionalLightShadowMatrix(
	Vector3D lightDirection
)

Parameters

lightDirection  Vector3D
The light direction (should be normalized)

Return Value

Matrix3D
shadow Matrix3D
See Also