Type:ShadowCastMode

From Resonite Wiki
Revision as of 01:46, 4 March 2024 by PJB (talk | contribs) (Clean up page, improve descriptions.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

ShadowCastMode is an Enum for determining how MeshRenderer and SkinnedMeshRenderer cast shadows for rendered objects.

Values
Name Value Description
Off 0 Shadows are not cast from the object.
On 1 Shadows are cast from the object.
ShadowOnly 2 Renders only the shadow; the original mesh is not drawn.
DoubleSided 3 Shadows are cast from the object. If the mesh' materials have face culling set, it is disabled for drawing the shadows, so both back and front faces will always be rendered.