blackvoyagegames : I can't find any documentation on which specific shader property to modify. OutlineWidth doesn't seem to do anything on its own, and there is no boolean. How can I toggle the outline like I would a boolean?
The reason why changing a bool property does not work is due to the fact that the Spine shaders use a custom UI which essentially switches to a different shader. E.g. when enabling Outline
at a material using the shader Spine/Skeleton
will be changed to Spine/Outline/Skeleton
.
If you are interested in why that is necessary: the outline shaders require an additional pass, while parameters cannot be used to enable or disable shader passes, they can only be used to enable or disable #ifdef
code branches within a pass.