Click or drag to resize

VisualServerLightParam Enumeration

[Missing <summary> documentation for "T:Godot.VisualServer.LightParam"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum LightParam
Members
  Member nameValueDescription
Energy0

The light's energy.

Specular2

The light's influence on specularity.

Range3

The light's range.

Attenuation4

The light's attenuation.

SpotAngle5

The spotlight's angle.

SpotAttenuation6

The spotlight's attenuation.

ContactShadowSize7

Scales the shadow color.

ShadowMaxDistance8

Max distance that shadows will be rendered.

ShadowSplit1Offset9

Proportion of shadow atlas occupied by the first split.

ShadowSplit2Offset10

Proportion of shadow atlas occupied by the second split.

ShadowSplit3Offset11

Proportion of shadow atlas occupied by the third split. The fourth split occupies the rest.

ShadowNormalBias12

Normal bias used to offset shadow lookup by object normal. Can be used to fix self-shadowing artifacts.

ShadowBias13

Bias the shadow lookup to fix self-shadowing artifacts.

ShadowBiasSplitScale14

Increases bias on further splits to fix self-shadowing that only occurs far away from the camera.

Max15

Represents the size of the VisualServerLightParam enum.

See Also