• 中文
  • Spine Additive模式的效果在unity内亮不起来

Unity版本:2020.3.42f1c1
颜色空间:Linear
渲染管线:Standalone
Spine版本:4.1.19
同一个Spine文件,默认模式的部分在Unity里显示正常,Spine中叠在主体上面的一层additive效果在unity中颜色变灰暗了,请问怎样可以让这个文件在Unity中显示正常?

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

因为你使用的是直接的阿尔法图像,所以骨架需要额外的材质,用于具有Additive混合模式的槽位。然而,SkeletonGraphic 组件在默认情况下只能使用一个纹理,所以你需要在 SkeletonGraphic 组件的检查器中启用 Advanced - Multiple CanvasRenderers 。请参阅spine-unity文档的以下部分。
[url=http://zh.esotericsoftware.com/spine-unity#%E9%AB%98%E7%BA%A7


%E5%8D%95%E9%A1%B5Texture-Atlas%E6%96%87%E4%BB%B6%E7%9A%84%E5%AF%BC%E5%87%BA%E5%92%8CSkeletonGraphic]spine-unity 运行时文档: 高级 单页Texture Atlas文件的导出和SkeletonGraphic[/url]


Since you are using a straight alpha image, the skeleton needs additional material for slots which have Additive blend mode. However, the SkeletonGraphic component is limited to a single texture by default, so you need to enable Advanced - Multiple CanvasRenderers at the SkeletonGraphic component Inspector. Please see the following section of the spine-unity documentation:
[url=http://zh.esotericsoftware.com/spine-unity#%E9%AB%98%E7%BA%A7


%E5%8D%95%E9%A1%B5Texture-Atlas%E6%96%87%E4%BB%B6%E7%9A%84%E5%AF%BC%E5%87%BA%E5%92%8CSkeletonGraphic]spine-unity 运行时文档: 高级 单页Texture Atlas文件的导出和SkeletonGraphic[/url]