Shadow disappears

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

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

1 Like

That’s awesome! Thank you Deltakosh