• 中文
  • spine升级问题

  • Изменено
Related Discussions
...

我从2.1.27升级到3.8.99之后,原先2.1.27版本的光的效果在3.8.99里面变的更加强了。我发现加强的都是原先2.1.27的slot的混合模式是additive或者其他,把它改成Normal就与之前的2.1.27的效果一样了。请问升级后是否都需要把相加模式改成normal。

您是否注意到 Spine 编辑器或您的游戏引擎(在运行时端)中的附加效果变得更强? 如果它在运行时端发生了变化,您使用的是哪个运行时?

如果您使用的是 spine-unity,请注意 Unity 可能在播放器设置中配置为使用线性颜色空间而不是 Gamma 颜色空间,与旧版本的 Spine 编辑器中的 Gamma 空间混合相比,这将改变任何混合结果。 在较新的 Spine Editor 版本中还有一个颜色空间设置可用,您可能也想检查一下。


Did you notice the additive effect becoming stronger in the Spine Editor, or in your Game Engine (on the runtime side). If it changed on the runtime side, which runtime are you using?

If you are using spine-unity, please note that Unity may be configured to use Linear color space in the Player settings instead of Gamma color space, which will change any blending result compared to the Gamma space blending in the Spine Editor of older versions. There is also a Color Space setting available in newer Spine Editor versions, you may want to check this as well.

我使用的是cocos2d-x,它的确在运行时发生了变化。


因为时间久了,找不到2.1.27的.spine项目,所以需要导入之前的json文件保存到.spine文件中,然后用3.8.99继续打开。 引用的图片是使用 3.8.99 的 "texture unpack" 工具对 2.1.27.atlas文件获得的。 不知道是不是这个原因。

如果您使用 Spine - Texture Unpacker 解包纹理,您可以选择 Unpremultiply Alpha。 如果您的原始纹理是在启用“Premultiply Alpha”的情况下导出的,则需要在解包时启用“Unpremultiply Alpha”,否则您导入的纹理在透明区域会太暗。


If you are unpacking textures using Spine - Texture Unpacker, you have the option to Unpremultiply Alpha. If your original textures were exported with Premultiply Alpha enabled, you need to enable Unpremultiply Alpha upon unpacking, otherwise your imported texture will be too dark in transparent areas.