I can see there is ambient, directional and point light implemented and documented, but I can’t find specular light, although specular material is there.
OOPS – sorry, this was a p5.js question, not a Java question.
I’m not sure I understand the question.
Is it that you were looking at this:
specular() / Reference / Processing.org
but instead you wanted this?
lightSpecular() / Reference / Processing.org
Okay, second attempt – are you looking for lightSpecular? Anecdotally, I believe it is in p5.js, although I haven’t tried it:
Actually I couldn’t find it in reference, and it seems this PR is still not merged