Table of Contents

Enum GeometryInstance3D.ShadowCastingSetting

Namespace
Godot
Assembly
GodotSharp.dll
public enum GeometryInstance3D.ShadowCastingSetting : long

Fields

DoubleSided = 2

Will cast shadows from all visible faces in the GeometryInstance3D.

Will not take culling into account, so all faces will be taken into account when shadow casting.

Off = 0

Will not cast any shadows. Use this to improve performance for small geometry that is unlikely to cast noticeable shadows (such as debris).

On = 1

Will cast shadows from all visible faces in the GeometryInstance3D.

Will take culling into account, so faces not being rendered will not be taken into account when shadow casting.

ShadowsOnly = 3

Will only show the shadows casted from this object.

In other words, the actual mesh will not be visible, only the shadows casted from the mesh will be.