• Runtimes
  • meshes only works with WebGL?

I add a mesh to a image, and created a test game.

When I run the game on canvas it does not display.
Does it mean any operations with meshes require WebGL?

Related Discussions
...
  • Modificato

Hello!

I read this from the readme. spine-runtimes/spine-ts at master

spine-ts Canvas does not support color tinting and mesh attachments.
Only the alpha channel from tint colors is applied.
Experimental support for mesh attachments can be enabled by setting spine.canvas.SkeletonRenderer.useTriangleRendering to true. Note that this method is slow and may lead to artifacts on some browsers.

It appears Cocos Creator copied our old Javascript runtime which does not have this setting. Please contact the Cocos Creator authors and ask if they could update to the latest spine-ts runtime.