Fully Anti-Aliased
Sprite Stacking.

Crisp pixel-art volumes at any rotation angle, without the shimmer.

WebGL2 renderer for 2.5D isometric and 6-DOF games. Keeps 1px details solid with no black halos.

Play 6-DOF Demo → Open 4-View Studio GitHub MIT Open Source · −58% shimmer · 0 runtime deps
⇄
Classic · No AA
AASpriteStacker · 8×
4× · No AA | AA 8×
Drag divider · Hover to inspect · Drag to orbit
60 fps
Same 24×24×28 Sprite Stack · Rotated 35°

Same pixel-art slices. Clean edges when rotated.

Classic 2D slice stacking snaps pixels to a jagged grid, or bleeds dark halos as soon as you turn on bilinear filtering. AASpriteStacker raycasts the volume in linear light, keeping the pixel-art interior sharp without rotation aliasing. New to sprite stacking? Read the primer →

Legacy 1x Nearest sprite stack rotated 35 degrees showing jagged outline, broken weathervane, and missing doorknob
Classic Stackers · No AA

Legacy 1× Nearest

Flat 2D slices snapped to nearest pixels. Notice the jagged outline, the broken rooftop weathervane, and the missing brass doorknob. Every degree of rotation makes these edges crawl.

1. Stop 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%.

2. Keep 1px Details, No Dark Halos

Premultiplied linear blending, RGB edge dilation, and correlated coverage prevent transparent pixels from bleeding dark fringes while keeping thin posts, roofs, and outlines intact at every angle.

3. Live AA Quality Toggle (2.5D to 6-DOF)

Continuous 3D volume stepping stays solid at any camera pitch. Call setQuality("eco" | "balanced" | "ultra") at runtime to switch between lightweight 2×/4× sampling and full Retina 8× AA.

Interactive Demos

Try it in a live scene, or drop in your own art.

SkyStack 6-DOF flight demo running anti-aliased sprite stacking at 60 fps

SkyStack 6-DOF Flight Demo

Fly Chase, Overhead, or Cockpit view at 60 fps (29.8 KB gz) with a draggable A/B split and live Eco 2× / Bal 4× / Ultra 8× quality controls.

Play 6-DOF Demo →
4-View A/B anti-aliasing studio with live split curtain and 4x loupe

4-View A/B Studio

Drop in any MagicaVoxel .vox model or horizontal slices.png strip, inspect edges under a 4× pixel loupe, and export 16-direction AA sprite sheets.

Open 4-View Studio →

Building a 2D or isometric game? Try the 2.5D Isometric & Oblique Overlay Sandbox →. Switch between 2:1 Iso, True Iso, Oblique Stack, and 3/4 Top-Down, click tiles to drive, or toggle 64× Instanced to draw 64 cars in 1 WebGL2 call.

Open Source · MIT License

Add anti-aliased sprite stacking in 15 lines.

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";

// Layer over any existing 2D canvas/tilemap with premultiplied transparent alpha:
const renderer = new AASpriteRenderer(canvas, { background: "transparent", quality: "ultra" });
const world = new SceneWorld({
  // 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: 20 });
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 } },
]);

// Switch AA quality at runtime ("eco" 2x | "balanced" 4x | "ultra" 8x Retina + full-res outlines):
renderer.setQuality("ultra", world);
renderer.render(world);
# Clone the MIT open-source monorepo (zero runtime dependencies):
git clone https://github.com/dmsimon1/AASpriteStacker.git
cd AASpriteStacker
npm install && npm run build && npm run dev:serve

# Open locally:
#   http://127.0.0.1:8765/examples/minimal-2d/   (2.5D Iso & Oblique Overlay)
#   http://127.0.0.1:8765/examples/flight-6dof/  (SkyStack 6-DOF Flight Demo)
# 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

MIT licensed & zero runtime dependencies. Includes standalone Godot 4 & Unity URP 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).