# Shading not working in v1.1.9 July 22, 2020

**URL:** <https://discourse.processing.org/t/shading-not-working-in-v1-1-9-july-22-2020/23142>\
**Category:** p5.js\
**Created:** [August 8, 2020, 7:54pm UTC](https://discourse.processing.org/t/shading-not-working-in-v1-1-9-july-22-2020/23142 "2020-08-08T19:54:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CND](https://avatars.discourse-cdn.com/v4/letter/c/e79b87/32.png) [@CND](https://discourse.processing.org/u/CND)\
**Post date:** [August 8, 2020, 7:54pm UTC](https://discourse.processing.org/t/shading-not-working-in-v1-1-9-july-22-2020/23142/1 "2020-08-08T19:54:35Z")

</div>

I just upgraded to p5js v1.1.9 July 22, 2020.  
I had shading before but now I don’t.

settings:  
lights();  
ambientLight(80,80,80);  
pointLight(0,0,0, 96,48,42);

What do I need to change?

---

<div class="post-metadata">

**Author:** ![Sven](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/sven/32/8293_2.png) [@Sven](https://discourse.processing.org/u/Sven)\
**Post date:** [August 12, 2020, 8:28am UTC](https://discourse.processing.org/t/shading-not-working-in-v1-1-9-july-22-2020/23142/2 "2020-08-12T08:28:17Z")

</div>

Hey there,

It’s hard to tell without a complete example. If you post your sketch at [https://editor.p5js.org](https://editor.p5js.org) (or elsewhere), we may be able to figure it out together.

---

<div class="post-metadata">

**Author:** ![glv](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/glv/32/18785_2.png) [@glv](https://discourse.processing.org/u/glv)\
**Post date:** [August 13, 2020, 6:48pm UTC](https://discourse.processing.org/t/shading-not-working-in-v1-1-9-july-22-2020/23142/5 "2020-08-13T18:48:25Z")

</div>

Hello,

> [@CND](#):
>
> pointLight(0,0,0, 96,48,42);

Take a look at the references for this:

> **[reference | p5.js](https://p5js.org/reference/#/p5/pointLight)**
>
> p5.js a JS client-side library for creating graphic and interactive experiences, based on the core principles of Processing.

0, 0, 0 in RGB or HSB mode is black and will not add light.

> [@Sven](#):
>
> It’s hard to tell without a complete example.

I agree with @Sven

Please provide a simple example with more context.

`:)`
