레퍼런스 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.

예제

This page is generated from the comments in src/webgl/light.js . Please feel free to edit it and submit a pull request!

관련 레퍼런스