# Is there any way to use specular light?

**URL:** <https://discourse.processing.org/t/is-there-any-way-to-use-specular-light/7855>\
**Category:** p5.js\
**Created:** [January 26, 2019, 12:43pm UTC](https://discourse.processing.org/t/is-there-any-way-to-use-specular-light/7855 "2019-01-26T12:43:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanketsingh24](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@sanketsingh24](https://discourse.processing.org/u/sanketsingh24)\
**Post date:** [January 26, 2019, 12:43pm UTC](https://discourse.processing.org/t/is-there-any-way-to-use-specular-light/7855/1 "2019-01-26T12:43:06Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)\
**Post date:** [January 28, 2019, 1:11am UTC](https://discourse.processing.org/t/is-there-any-way-to-use-specular-light/7855/2 "2019-01-28T01:11:37Z")

</div>

**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](https://processing.org/reference/specular_.html)  
> but instead you wanted this?  
> [lightSpecular() / Reference / Processing.org](https://processing.org/reference/lightSpecular_.html)

Okay, second attempt – are you looking for lightSpecular? Anecdotally, I believe it is in p5.js, although I haven’t tried it:

> <https://github.com/processing/p5.js/pull/3112/files>
>
> added lights method for a feature request.
> issue #2645 .

---

<div class="post-metadata">

**Author:** ![sanketsingh24](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@sanketsingh24](https://discourse.processing.org/u/sanketsingh24)\
**Post date:** [January 30, 2019, 12:25pm UTC](https://discourse.processing.org/t/is-there-any-way-to-use-specular-light/7855/3 "2019-01-30T12:25:22Z")

</div>

Actually I couldn’t find it in reference, and it seems this PR is still not merged ☹
