Reference noLights()

noLights()

Removes all lights from the sketch.

Calling noLights() removes any lights created with lights(), ambientLight(), directionalLight(), pointLight(), or spotLight(). These functions may be called after noLights() to create a new lighting scheme.

Examples

Notice any errors or typos? Please let us know. Please feel free to edit src/webgl/light.js and open a pull request!

Related References