Sprite Production Field Notes

sprite sheet maker

Make sprite offsets stop at the intended edge of each atlas cell

A sprite outline that samples neighboring positions can read a colored fringe where the asset should be transparent. A transparent sampler border helps when the effect crosses the edge of a standalone ModernGL texture. A sprite atlas has a different boundary. Its sampler sees the full texture, so it can reach another cell while still reading coordinates inside that texture.

Give the shader both the atlas texture coordinates and the visible cell's bounds. Map the intended offset into the appropriate coordinate space. For an effect that needs empty space around the cell, return transparent coverage when the requested sample falls outside it, or use independently allocated textures. Choose a sampling rule at filtered cell edges and include padding if the effect needs a smooth, transparent transition.

Make a fixture with an opaque red tile touching a saturated blue tile and offset just beyond red's right edge. With nearest sampling, test just inside and just outside, then repeat for a red tile by itself. The outside atlas sample should have zero coverage under your cell rule. Repeat with the project's actual filtering and scale. technical guide and test fixture provides the standalone texture control and explains why a texture border alone cannot isolate an interior rectangle.

Prepared by the FrameSprite Workflow Team with AI assistance. Examples are illustrative unless attributed to a linked fixture.