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.
Underlying Java method: PGraphics.noLights
no_lights() -> None
Updated on September 11, 2021 16:51:34pm UTC