I’m having trouble getting a shadow to cast onto the ground from the car using a point light. The car mesh is imported and the shadowGenerator code is in. Any ideas where I’m going wrong?
Holding the mouse over addShadowCaster reveals this:
So it expects one mesh, and a boolean of whether to include the descendants, but in the playground it’s given the meshes array and undefined variable includeDescendants