Skip to content

Bug: black borders (seaming lines) in Spine viewer #192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
isHarryh opened this issue Feb 11, 2025 · 1 comment
Closed

Bug: black borders (seaming lines) in Spine viewer #192

isHarryh opened this issue Feb 11, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@isHarryh
Copy link

isHarryh commented Feb 11, 2025

问题描述

此问题涉及 Spine 查看器组件。

如图所示,部分较早实装的模型,在渲染时会在 Spine 组件之间出现黑色边缘(缝合线)。

Image

初步推测,可能是渲染函数的 srcColorONE 被更改为 SRC_ALPHA 导致的。这实际上是一种对预乘 Alpha 模式(PMA)的禁用操作。相关的 Commit 是 0d0d3c0

我的项目 ArkPets 也遇到了这个问题。直到近日才找到问题的具体原因(涉及游戏内部的纹理打包逻辑),并给出了一种解决方法,特此将相关调查结果分享给 PRTS,调查报告参见 ArkPets Issue #76

附表

PMA 对渲染表现的影响

模型是否是 PMA 模型 是否启用了 PMA 渲染 渲染表现
√ 是 √ 是 正常
√ 是 × 否 有缝合线问题
× 否 √ 是 有伪影问题
× 否 × 否 正常
@StarHeartHunt StarHeartHunt added the bug Something isn't working label Feb 12, 2025
@StarHeartHunt StarHeartHunt self-assigned this Apr 11, 2025
@StarHeartHunt StarHeartHunt changed the title bug: black borders (seaming lines) in Spine viewer Bug: black borders (seaming lines) in Spine viewer Apr 11, 2025
@StarHeartHunt
Copy link
Member

e254a0d 与内部解包器已修复,感谢反馈与解决方案

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants