# Shadow disappears

**URL:** <https://forum.babylonjs.com/t/shadow-disappears/6231>\
**Category:** Bugs\
**Tags:** lighting\
**Created:** [October 9, 2019, 3:08pm UTC](https://forum.babylonjs.com/t/shadow-disappears/6231 "2019-10-09T15:08:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryannewelluk](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@ryannewelluk](https://forum.babylonjs.com/u/ryannewelluk)\
**Post date:** [October 9, 2019, 3:08pm UTC](https://forum.babylonjs.com/t/shadow-disappears/6231/1 "2019-10-09T15:08:05Z")

</div>

I’m not sure if this is a bug or just the way the project is set up.  
Once both the outer and inner parts of the wheel are clicked on to turn green, the shadow cast on the ground disappears. I tried adding shadowGenerator.forceBackFacesOnly but this didn’t help.

[https://www.babylonjs-playground.com/#YIU90M#72](https://www.babylonjs-playground.com/#YIU90M#72)

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [October 9, 2019, 4:09pm UTC](https://forum.babylonjs.com/t/shadow-disappears/6231/2 "2019-10-09T16:09:48Z")

</div>

Hello! this is because your mesh has vertex alpha which forces the standard material to turn transparent:  
[https://www.babylonjs-playground.com/#YIU90M#85](https://www.babylonjs-playground.com/#YIU90M#85)

---

<div class="post-metadata">

**Author:** ![ryannewelluk](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@ryannewelluk](https://forum.babylonjs.com/u/ryannewelluk)\
**Post date:** [October 10, 2019, 8:45am UTC](https://forum.babylonjs.com/t/shadow-disappears/6231/3 "2019-10-10T08:45:38Z")

</div>

That’s awesome! Thank you Deltakosh
