Click or drag to resize
Ab4d.SharpEngine logo

PlanarShadowMeshCreator Properties

The PlanarShadowMeshCreator type exposes the following members.

Properties
 NameDescription
Public propertyClipToPlane Gets or sets a boolean that specifies if the shadow mesh is clipped to the plane's edge. Default value is true.
Public propertyOriginalGroupNode Gets the GroupNode that was used to create the planar shadow mesh (set when PlanarShadowMeshCreator is created from a GroupNode).
Public propertyOriginalMesh Gets the StandardMesh that was used to create the planar shadow mesh (set when PlanarShadowMeshCreator is created from a StandardMesh).
Public propertyShadowMesh ShadowMesh gets the StandardMesh that represents a show geometry that was generated after calling ApplyDirectionalLight(Vector3), ApplyPointLight(Vector3) or ApplyShadowMatrix(Matrix4x4).
Public propertySimplifyNormalCalculation 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.
Top
See Also