- Editado
sprite disappears when using URP skeleton Lit
Hi,
When I try to use the URP skeleton Lit shader the texture on the sprite does not show. In fact, it happens with all the Spine URP shaders.
Note that all other sprites in the scene make use of the URP shaders (not Spine shaders) and work, Any ideas?
Thanks
Ok, figured it out. I was using the shader for 3D as opposed to 2D. The fact that there is a 3D and 2D shader for spine animated sprites should perhaps be made clearer.
Thanks for getting back to us, glad you've figured it out.
Kdrago escribióThe fact that there is a 3D and 2D shader for spine animated sprites should perhaps be made clearer.
We kept to Unity's naming scheme, where all 2D shaders are in Universal Render Pipeline/2D
and non-2D shaders are put outside this 2D
category, but not in a Universal Render Pipeline/3D
category. While I see your point, it could be misleading in other ways for some users that are used to Unity's standard shader naming structure.
As always when having any problems, please be sure to have a look at the spine-unity documentation pages, as they might have solved your problem more quickly:
spine-unity Runtime Documentation: URP Shaders Extension UPM Package