how to let Sprite3D cast shadow in a 3D world

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By huahuapro

as title. i see a turn cast shadow on in geomartyInstance, but i got no shadow.

thanks!

I have the same problem.

QuestionAsker137 | 2021-05-21 05:44

:bust_in_silhouette: Reply From: QuestionAsker137

Alright, I found an answer.

In Sprite3D, filter the property “alpha”. You’ll see one option available, Alpha Cut. Change its setting to “Opaque pre-pass”. This should allow sprites to work. If it doesn’t, your DirectionalLight settings may be messing it up. In my case, it was, so I changed the Bias property within DirectionalLight to 0.1 (apparently the default) and that fixed it. I hope this helps, sorry it had to come almost 2 months late.

4 Likes