# PointLight + PBRMaterial shadows bug?

**URL:** <https://forum.babylonjs.com/t/pointlight-pbrmaterial-shadows-bug/34357>\
**Category:** Bugs\
**Created:** [September 29, 2022, 3:23pm UTC](https://forum.babylonjs.com/t/pointlight-pbrmaterial-shadows-bug/34357 "2022-09-29T15:23:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![imerso](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/imerso/32/46445_2.png) [@imerso](https://forum.babylonjs.com/u/imerso)\
**Post date:** [September 29, 2022, 3:23pm UTC](https://forum.babylonjs.com/t/pointlight-pbrmaterial-shadows-bug/34357/1 "2022-09-29T15:23:13Z")

</div>

Hello,

Could someone please confirm if there is indeed a problem with Point lights, PBRMaterials and shadows? It seems to me that actually there is a problem with this specific combination.

Here is a PG:

> **[Babylon.js Playground](https://playground.babylonjs.com/#IFYDRS%23405)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

On the above PG, you can swap Point and Directional lights plus Standard and PBR materials. When light2 is Point and the torus has PBRMaterial, the torus won’t receive shadows from light2.

I would like to know if that is a bug or a known limitation.

Thanks!

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [September 29, 2022, 4:27pm UTC](https://forum.babylonjs.com/t/pointlight-pbrmaterial-shadows-bug/34357/2 "2022-09-29T16:27:36Z")

</div>

The light units are not the same in pbr and standard as they need to be physical values.

So you end up with [https://playground.babylonjs.com/#IFYDRS#405](https://playground.babylonjs.com/#IFYDRS#405) where the torus is not lit

You could crank the light up [https://playground.babylonjs.com/#IFYDRS#406](https://playground.babylonjs.com/#IFYDRS#406) but it will overburn standard

So the simplest is to enforce the same lights unit on all the mat which overburns everything: [https://playground.babylonjs.com/#IFYDRS#407](https://playground.babylonjs.com/#IFYDRS#407)

And come back to a normal light value: [https://playground.babylonjs.com/#IFYDRS#408](https://playground.babylonjs.com/#IFYDRS#408)

With all the lights in: [https://playground.babylonjs.com/#IFYDRS#409](https://playground.babylonjs.com/#IFYDRS#409)

---

<div class="post-metadata">

**Author:** ![imerso](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/imerso/32/46445_2.png) [@imerso](https://forum.babylonjs.com/u/imerso)\
**Post date:** [September 29, 2022, 4:57pm UTC](https://forum.babylonjs.com/t/pointlight-pbrmaterial-shadows-bug/34357/3 "2022-09-29T16:57:47Z")

</div>

Awesome, thank you!
