sprite ai
Separate Visible Sprite Similarity from Cutout Integrity
A regenerated decal can look the same in a gallery and still lose a thin edge that matters at runtime. Conversely, two clear regions may contain different RGB bytes that the player never sees. Avoid asking one similarity score to classify both cases.
Keep two review views
Composite the candidates over the same opaque shade for the visible comparison. Independently compare their masks, or sample coverage in places where an exact boundary matters. Create a pair whose colors differ only where alpha is zero and another pair where coverage changes while the RGB pixels remain identical. The first pair should pass the appearance rule. The second needs a cutout review even if the tool's raw fingerprint remains constant.
The FrameSprite technical guide and test fixture reproduces those two failure modes. If the game uses a multiply effect or renders over both light and dark backgrounds, add a representative backdrop to the appearance check. Preserve the original delivered RGBA independently from the QA composite, so approval cannot flatten away the very alpha channel that the importer needs.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.