Click or drag to resize

VisualServerLightSetReverseCullFaceMode Method

If true, reverses the backface culling of the mesh. This can be useful when you have a flat mesh that has a light behind it. If you need to cast a shadow on both sides of the mesh, set the mesh to use double sided shadows with InstanceGeometrySetCastShadowsSetting(RID, VisualServerShadowCastingSetting). Equivalent to ShadowReverseCullFace.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void LightSetReverseCullFaceMode(
	RID light,
	bool enabled
)

Parameters

light
Type: GodotRID

[Missing <param name="light"/> documentation for "M:Godot.VisualServer.LightSetReverseCullFaceMode(Godot.RID,System.Boolean)"]

enabled
Type: SystemBoolean

[Missing <param name="enabled"/> documentation for "M:Godot.VisualServer.LightSetReverseCullFaceMode(Godot.RID,System.Boolean)"]

See Also