参考 noLights()

noLights()

从绘图中移除所有光源。

调用 noLights() 会移除通过 lights(), ambientLight(), directionalLight(), pointLight(), 或 spotLight() 创建的任何光源。在调用nolights()后,可以调用这些函数来创建新的光照方案。

示例

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

相关参考