specularLight(v1, v2, v3)
-
Currently, p5 only has support for specularMaterial()
, and so, this method will also add the support for specular highlighting by light and not just by its material property. The specular component can be entirely different from the ambient component. Mainly, It will be useful in those scenarios when there are multiple lights and will give more control to the user. I will explain this in detail soon.
Arguments -
- The color of the light