Click or drag to resize
Ab4d.SharpEngine logo

PlanarShadowMeshCreatorSimplifyNormalCalculation Property

When true (by default) then the normals for the generated shadow mesh will be all set to the normal of the plane. This is faster, but when the shadow is shown by both front and back material this may produce some z-fighting artifacts because the triangles that are pointer down will still have the same normal as triangles that are pointed up. This can be solved by setting this property to false and this will calculate the actual normals for the mesh.

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public bool SimplifyNormalCalculation { get; set; }

Property Value

Boolean

[Missing <value> documentation for "P:Ab4d.SharpEngine.Utilities.PlanarShadowMeshCreator.SimplifyNormalCalculation"]

Remarks

[Missing <remarks> documentation for "P:Ab4d.SharpEngine.Utilities.PlanarShadowMeshCreator.SimplifyNormalCalculation"]

See Also