Hi, I am trying to use instancedSprite with shadows and billboarding. I am experiencing that the shadow is casted based on the light position, but the the rotation of the sprite from which the shadow is casted is incorrect (the shadow is calculated from a sprite facing the light). But the billboarded sprite is actually not facing the light. You can clearly see it in the example https://threlte.xyz/docs/reference/extras/instanced-sprite just turn billboarding on and start rotating the scene.
Is there any solution to this? Can I make it cast shadows based on the billboard position (roatation relative to light position)?
Hi, I am trying to use instancedSprite with shadows and billboarding. I am experiencing that the shadow is casted based on the light position, but the the rotation of the sprite from which the shadow is casted is incorrect (the shadow is calculated from a sprite facing the light). But the billboarded sprite is actually not facing the light. You can clearly see it in the example https://threlte.xyz/docs/reference/extras/instanced-sprite just turn billboarding on and start rotating the scene.
Is there any solution to this? Can I make it cast shadows based on the billboard position (roatation relative to light position)?