Weird Shadow casted on Sprite3D, when using 2D texture

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

I’m currently trying to make Paper 2D / HD-2D / 2.5D game. Basically 2d sprite in 3d world. I encounter an issue like, https://www.youtube.com/watch?v=g17C_EXna3M ,at 0:06 timestamp, where it’s own shadow is casted on itself too.
This can created by enabling Y-Billboarding, Shaded, and set Alpha Cut to Opaque Pre-pass in Sprite3D. If you didn’t see it, try rotating around the Y axis or set a larger pixel size, it will be more obvious.
My current workaround it create another Sprite3D with the same properties but set Cast Shadow to shadow only. But this doesn’t work either as it will also cast shadow on the original Sprite3D , so I need to figure out a way to cast shadow on specific layers only.
Does anyone have any suggestion or workaround for this issue?
Greatly appreciate any dissuasions or suggestions. Thank you.

:bust_in_silhouette: Reply From: Dray98

Saw that there’s a fix for it: Fix shadows for billboarded Sprite3D's by ecmjohnson · Pull Request #72638 · godotengine/godot · GitHub

Current approach is to create a script to rotate sprite y axis to face camera