This demo of AnyPortrait shows sprites having casting shadows on 3d objects.
https://youtu.be/aj-qPLLzX4I?t=37
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?
Any Portrait don't use SpriteRenderer component, it's a mesh (3D), so it can cast shadows.
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.
https://rainyrizzle.github.io/en/AdvancedManual/AD_BakeDialog.html
If you have any further questions, please leave a post!
Thank you.