我使用spine web player 实现spine文件的预览效果,但是我所有的素材在web上预览都会有绿色的骨骼区块,不知道怎么去掉?我需要帮助
I use the spine web player to preview spine files, but all my assets have green bone blocks when previewed on the web. How can I remove them? I need help
我使用spine web player 实现spine文件的预览效果,但是我所有的素材在web上预览都会有绿色的骨骼区块,不知道怎么去掉?我需要帮助
I use the spine web player to preview spine files, but all my assets have green bone blocks when previewed on the web. How can I remove them? I need help
I use the spine web player to preview spine files, but all my assets have green bone blocks when previewed on the web. How can I remove them? I need help
We have an example in our repo with the web player using the Celeste skeleton, which works perfectly. You can check it out here.
Could you share the assets and code that result in the green artifacts? Since you're using our examples, there should be no issue in sharing both the code and assets here.
Davide https://codesandbox.io/p/sandbox/8c9ntf
This is a demo I wrote. Please help me figure out why there are green blocks. Thank you very much.
How did you export the Celestial Circus assets? It looks like you're using non-premultiplied alpha textures but rendering them as premultiplied.
If you set premultipliedAlpha: false
in the player config, the skeleton renders without green artifacts. By default, premultipliedAlpha
is true
.
Note that Celeste's skeleton uses multiply blending modes, which don’t work well with non-premultiplied alpha rendering.
Please export the assets with pma
set to true
and use those assets.