VisualServerSingleton.LightParam

Values

ValueMeaning
lightParamEnergy0

The light's energy.

lightParamSpecular2

The light's influence on specularity.

lightParamRange3

The light's range.

lightParamAttenuation4

The light's attenuation.

lightParamSpotAngle5

The spotlight's angle.

lightParamSpotAttenuation6

The spotlight's attenuation.

lightParamContactShadowSize7

Scales the shadow color.

lightParamShadowMaxDistance8

Max distance that shadows will be rendered.

lightParamShadowSplit1Offset9

Proportion of shadow atlas occupied by the first split.

lightParamShadowSplit2Offset10

Proportion of shadow atlas occupied by the second split.

lightParamShadowSplit3Offset11

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

lightParamShadowNormalBias12

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

lightParamShadowBias13

Bias the shadow lookup to fix self-shadowing artifacts.

lightParamShadowBiasSplitScale14

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

lightParamMax15

Represents the size of the lightparam enum.

Meta