noLights()

Lights Camera / Lights

Description

Disables all lighting. Geometry will be rendered flat with fill color only.

Syntax

void noLights()

Parameters

None

Returns

void

Related

Under the Hood

From Processing.h:

void noLights(); inline void PGraphics::noLights() { if(PApplet::g_papplet) PApplet::g_papplet->noLights(); }

Under the Hood

From Processing.cpp:

void PApplet::noLights() { glDisable(GL_LIGHTING); glDisable(GL_COLOR_MATERIAL); lightsEnabled = false; lightIndex = 0; }