removeLights()
or resetLights()
At the moment, there is no method in p5.js which resets all the lighting effect, and this method, would remove all the previously defined lights from the sketch, so that the user doesn’t have to do extra work.
Arguments-
No arguments.