no_lights()

Disable all lighting.

Description

Disable all lighting. Lighting is turned off by default and enabled with the lights() function. This function can be used to disable lighting so that 2D geometry (which does not require lighting) can be drawn after a set of lighted 3D geometry.

Underlying Java method: noLights

Syntax

no_lights() -> None

Updated on September 11, 2021 16:51:34pm UTC