Skip to content

Components

LightShader

Replaces a Light's built-in falloff with a shader: banded lighting, a toon ramp, or a flicker that would otherwise need baking into a texture. Needs a Light on the same node.

On this page

Add it

+ Add node → Light Shader creates a node with it already on. Already have a node for it? Add component → LightShaderComponent.

Fields

FieldScript nameKindDefaultWhat it does
ShadershaderassetnoneThe shader this light's falloff comes from.
ValuesvalueslistemptyThe values, by name.
FieldScript nameKindDefaultWhat it does
NamenametextnoneThe parameter's name, exactly as declared in the shader.
ValuevaluecolournoneFour numbers, whatever the parameter's kind.