This demo of AnyPortrait shows sprites having casting shadows on 3d objects.
I remember reading that Unity's Sprite renderer didn't support that. Does AnyPortrait use custom shaders to be able to do that or is that a new built-in feature for 2D URP?
What do I have to do to enable shadow casting on 3d objects?
Hello, Michael Aganier.
As OscarLeif said, AnyPortrait does not use SpriteRenderer, it uses MeshRenderer, so it can be placed with 3D objects.
( Thank OscarLeif for answering! :) )
Additionally, shadow options are in the Bake Dialog.
Please check the link below.
If you have any further questions, please leave a post!
Any Portrait don't use SpriteRenderer component, it's a mesh (3D), so it can cast shadows.