• Editor
  • Enable backface culling in preview window

Hi,

My project by default uses backface culling setting to display correctly. However in the preview window it is displayed as backface culling disabled. How do you enable backface culling in the preview window so it is universal with the main viewport and outline window? I have a feeling it used to be universal :think: Thanks.

Related Discussions
...
  • Modifié

I hope I didn't misunderstand your question. If so, please let me know, and ignore the following paragraph.

Please note that enabling backface culling of a Spine skeleton does not make a lot of sense, be it on the runtime side or in the Spine Editor. This is because any negative scale of attachments (for flipping them from left to right, etc) would lead to the winding order changing from CCW to CW and vice versa, turning a front- into a backface. You would want to render all attachments however, not only right-facing ones, so culling mode should then be set to None as a consequence.

For typical Spine usage what Harald mentioned makes sense. Some situations benefit from backface culling, for example to do pseudo 3D. For that you have have your meshes hidden when facing away, and often have another (forward facing) mesh showing to simulate the backside of an object.

We've made backface culling apply to the preview view in 4.0.53. Cheers! :beer:

Thank you! That’s what I am looking for. Cheers