当设置为“出血”时,直线alpha图形的文件大小会更大,因为它们在透明区域中包含RGB信息。 这很重要,否则你会在直的alpha纹理上获得黑色边框。
Straight alpha graphics will be larger in file size when set to Bleed
, because they contain RGB information in the transparent areas. This is important, otherwise you would get black borders at straight-alpha textures.
无论如何,输入文件大小并不重要,它将取决于您在Unity中配置纹理压缩的方式,它决定了已部署应用程序中的文件大小。
Anyway, input file size does not matter much, it will depend on how you configure texture compression in Unity which determines the file size in the deployed application.
您描述的设置是正确的。
请参阅有关Premultiplied-vs-Straight-Alpha的spine-unity文档中的新部分以及Unity中的正确导入设置:
spine-unity Runtime Documentation: Advanced Premultiplied vs Straight Alpha Export
spine-unity Runtime Documentation: Advanced Premultiplied vs Straight Alpha Import
The settings you described are correct.
Please see the new sections in the spine-unity docs about Premultiplied-vs-Straight-Alpha and correct import settings in Unity:
spine-unity Runtime Documentation: Advanced Premultiplied vs Straight Alpha Export
spine-unity Runtime Documentation: Advanced Premultiplied vs Straight Alpha Import