1. Kill Rotation Shimmer
Instead of snapping flat quads to pixel centers, AASpriteStacker raycasts a tight 3D volume with
rotated-grid supersampling (RGSS) in linear light—cutting 1° rotation shimmer by 58%.
AASpriteStacker solves rotation aliasing—keeping crisp pixel art at any angle.
Zero shimmer, zero pixel boil, and intact 1px details from classic 2.5D isometric to full 6-DOF.
Classic 2D slice stacking snaps pixels to a jagged grid—or bleeds black halos if you turn on bilinear filtering. AASpriteStacker raycasts the volume in linear light, keeping authentic pixel-art interiors sharp while eliminating rotation aliasing. New to sprite stacking? Read the 2-min primer →
Flat 2D slices snapped to nearest pixels. Look at the jagged staircase outline, the broken rooftop weathervane, and the missing brass doorknob—all of which crawl and boil on every degree of rotation.
Keeps the authentic chunky pixel-art interior intact while supersampling sub-pixel edges in linear light. The silhouette is razor-smooth, the 1px weathervane and brass doorknob stay 100% solid, and 1° rotation shimmer drops by 58%.
Instead of snapping flat quads to pixel centers, AASpriteStacker raycasts a tight 3D volume with
rotated-grid supersampling (RGSS) in linear light—cutting 1° rotation shimmer by 58%.
Premultiplied linear blending, RGB edge dilation, and correlated coverage stop transparent pixels from bleeding dark fringes and keep thin posts, roofs, and outlines solid at every angle.
Continuous 3D volume stepping stays solid at any tilt, and a live setQuality("eco" | "balanced" | "ultra")
softswitch lets developers and players dial between battery-cool 2×/4× and full Retina 8× AA on the fly.
Fly Chase, Overhead, or Cockpit view at 60 fps (34.6 KB gz) with a live A/B split
curtain and Eco 2× / Bal 4× / Ultra 8× AA softswitch mid-flight.
Drag-and-drop any MagicaVoxel .vox model or horizontal slices.png
strip, inspect AA live with a 4× pixel loupe, and export 16-direction AA sprite sheets.
Building a 2D or isometric game? Try the live 2.5D Isometric & Oblique Transparent Overlay Sandbox →
— switch between 2:1 Iso, True Iso, Oblique Stack, and 3/4 Top-Down over a real Canvas2D tilemap with click-to-tile picking.
Zero runtime dependencies. Works directly in WebGL2, or convert standard 4-view art / MagicaVoxel .vox files.
import { AASpriteRenderer, SceneWorld, createIsometricCamera, loadSliceStripUrl, quatFromYawPitchRoll } from "@aastack/core";
// Drop straight over any existing 2D canvas/tilemap with premultiplied transparent alpha:
const renderer = new AASpriteRenderer(canvas, { background: "transparent", quality: "ultra" });
const world = new SceneWorld({
// First-class presets: "dimetric-2to1" | "isometric" | "oblique-stack" | "topdown-3quarter"
camera: createIsometricCamera({ preset: "dimetric-2to1", target: [0, 2, 0], orthoSize: 9.5 }),
});
// Load standard slices.png strips (or MagicaVoxel via loadVoxUrl("/model.vox", { id: "car" })):
const car = await loadSliceStripUrl("/car_slices.png", { id: "car", slices: 24 });
world.registerAsset(car);
world.applyPatch([
{ op: "set", path: "aaMode", value: "voxel-dda" }, // Crisp pixel-art interior + smooth AA edges
{ op: "spawn", entity: { id: "hero", assetId: "car", pos: [0, 2.8, 0], rot: quatFromYawPitchRoll(0.6, 0, 0), scale: 1, outline: true } },
]);
// Runtime AA quality softswitch ("eco" 2x | "balanced" 4x | "ultra" 8x Retina + full-res outlines):
renderer.setQuality("ultra", world);
renderer.render(world);
# Convert a 4-view orthographic sprite sheet (Front / Right / Back / Left) into edge-dilated AA slices + 3D SDF:
.venv/bin/python skills/aa-sprite-stacking/scripts/aa_views_to_slices.py \
views.png out/slices.png \
--slices 36 \
--sdf out/sdf.png \
--normals out/normals.png \
--html out/viewer.html
Also includes standalone Godot 4 & Unity URP reference shaders (Architecture Docs),
a live 2.5D Isometric & Oblique Overlay starter (examples/minimal-2d/), and an optional local MCP bridge for AI coding agents
(AI & MCP Guide · llms-full.txt).