Disable all lighting.


Disable all lighting. Lighting is turned off by default and enabled with the Py5Graphics.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.

This method is the same as no_lights() but linked to a Py5Graphics object. To see example code for how it can be used, see no_lights().

Underlying Processing method: PGraphics.noLights


no_lights() -> None

Updated on September 01, 2022 14:08:27pm UTC