Thanks for letting me now you plan to add such a section. Also enabling "add normals" did solve my lighting problem. Thanks.
Linard

- 26 mars
- Inscrit 5 oct. 2020
- Dans Custom spine shader
- Dans Custom spine shader
Hi, thanks for your answer.
After I posted the question we just straight up tried applying our shader(lit) to a spine objects mesh and it mostly worked fine right out of the gate actually. We just had a bit of problems with the vertex normals which seem to be flipped backwards?Maybe a more refined question now would be: Are there any caveats with a custom shader or some special things we have to consider when using our own shaders. Do the shaders that come with Spine do anything out of the ordinary? Again, the documentation doesn not really cover this question despite the example scenes telling otherwise...
- Dans Custom spine shader
- Modifié
- Dans Custom spine shader
Hi,
we are currently developing a game using URP and are looking into using Spine for our sprite animations, but require to the use of our own shaders as we need to modify the vertex positions of our sprites. In the Basic Platformer example scene, it says that it's also possible to use your own shaders for Spine, given that it fulfils certain requirements and that the Spine-Unity documentation says more about it, but looking at the documentation online there is no mention on how to create your own shaders that support Spine.Could anyone give me some starting point on what steps are required to write a shader that is compatible with Spine and how to make Spine use it?
Thanks in advance!