Skip to content

textmode.js / Textmodifier / noLights

Method: noLights()

ts
noLights(): void;

Remove all active lights (ambient and point) and reset light falloff to (1, 0, 0).

Useful when you want later draw calls in the same frame to render unlit.

Returns

void

Example