Skip to content

feat: layered sticker construction with per-layer materials - #5

Merged
jal-co merged 1 commit into
mainfrom
feat/color-layers
Aug 3, 2026
Merged

feat: layered sticker construction with per-layer materials#5
jal-co merged 1 commit into
mainfrom
feat/color-layers

Conversation

@jal-co

@jal-co jal-co commented Aug 3, 2026

Copy link
Copy Markdown
Owner

What

Rebuilds the sticker as its real production stack when Layers is enabled (now the default):

  • Backing: the kiss-cut silhouette from the liner side, matte paper white
  • Kiss-cut: the die-cut shape in bare foil, no ink
  • Artwork: the original image printed alone

Each layer has a material picker (Holo foil / Glitter / Chrome / Matte / Prism / Satin) via per-layer uniform overrides, plus a Thickness slider.

How

  • Layers share the peel geometry and are lifted along the surface normal in the vertex shader (uLift), so the stack flips correctly on the peel flap - the liner shows, not the artwork through the back
  • uBackStyle renders each layer's own texture/material on its back face; the flap underside is the backing liner
  • New defaults: layers on, triangle overlay, 39% peel (from the reviewed settings JSON)

Testing

  • tsc + build clean
  • Visual: peel at multiple amounts/directions, tilt parallax, material presets per layer, GIF/PNG export unaffected (rebased on the export-crop fix)

@vercel

vercel Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
holosticker Ready Ready Preview Aug 3, 2026 4:57pm

Request Review

@jal-co
jal-co merged commit 0723829 into main Aug 3, 2026
4 checks passed
@jal-co
jal-co deleted the feat/color-layers branch August 3, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant