LightRenderMode.ForcePixel

LightRenderMode.ForcePixel

Description

Force the Light to be a pixel light.

Use this only for really important lights, like a player flashlight. See Also: light component.

JavaScript
    // Force the light to be pixel-lit
light.renderMode = LightRenderMode.ForcePixel;