|
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.UtilitiesAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public Matrix3D GetDirectionalLightShadowMatrix(
Vector3D lightDirection
)
Parameters
- lightDirection Vector3D
- The light direction (should be normalized)
Return Value
Matrix3Dshadow Matrix3D
See Also