Lumen Light
The LumenLightLayer simulates a fake light source for stylized lighting effects, including spotlights and fluctuating intensity. Use this layer to add non-physical, artistic lighting to your scenes.
Common Uses:
Stylized spotlights for stage or event scenes
Magical light sources with fluctuating intensity
Area lights for highlighting gameplay zones
Variables
range
float
Effective range of the light.
intensity
float
Intensity of the light effect.
smoothness
float
Softness of the light’s edges (0–5).
isSpotlight
bool
If true, behaves as a spotlight.
minSpotlightAngle
float
Minimum spotlight cone angle.
maxSpotlightAngle
float
Maximum spotlight cone angle.
normalFade
bool
Enable fading based on surface normals.
normalFadeOffset
float
Offset for normal fade.
normalFadeMultiplier
float
Multiplier for normal fade.
fluctuation
bool
Enable fluctuating light intensity.
fluctuationSpeed
float
Speed of fluctuation.
fluctuationScale
float
Scale of fluctuation.
fluctuationAmount
float
Maximum deviation in intensity.
Inherits posterize, noise variation, sine variation, repeat, color, mesh, etc. from LumenEffectLayer.
Example:
Use LumenLightLayer for a magical orb that pulses with light.
Create a stylized spotlight for a character on stage.
Last updated