sprite ai
Give Sprite Depth Inspection and Occlusion Proofs Separate Previews
A generated game sprite may ship with depth cues or an occlusion map. A preview that shows only black and white can be answering whether a reference passed a comparison rather than displaying the underlying continuous values. Label the two views so artists can decide what actually needs repair.
Compare two known depth samples
Use a near sample and a far sample on opposite sides of a stated comparison threshold. In numeric inspection mode, require two grayscale values with the expected ordering. In comparison mode, require the intended binary pass result. Toggle back to numeric inspection and verify that the original grayscale values have not changed. Log which sampler mode the renderer used for each view.
The FrameSprite technical guide and test fixture demonstrates this distinction using a real ModernGL depth texture and shader readback. When the asset is an ordinary grayscale PNG, verify its data representation before choosing a depth sampler. A convincing depth-looking thumbnail is not evidence that its source format or scene depth convention matches the compositor.
Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.