Skip to content

Feat/flatsilver reverse shader#16

Merged
selop merged 3 commits intomainfrom
feat/flatsilver-reverse-shader
Feb 28, 2026
Merged

Feat/flatsilver reverse shader#16
selop merged 3 commits intomainfrom
feat/flatsilver-reverse-shader

Conversation

@selop
Copy link
Copy Markdown
Owner

@selop selop commented Feb 28, 2026

Summary

Implements a new shader to handle flat silver reverse holos, which are prominent in ASC ascended heroes. For now only one holo foil variant is shown even though up to 3x cards are available in the set.

Related Issue

Closes #12

Checklist

  • bun run lint passes
  • bun test:unit passes
  • bun test:shader passes (if shaders were modified)
  • Tested in browser

Adds a `preferReverse` option for sets to prioritize `FLAT_SILVER+REVERSE` foil variants when multiple types exist for a card. Includes a workaround to correctly resolve asset paths for these specific variants.

Improves asset loading robustness by adding detailed console warnings and user-facing toast notifications for failed texture loads (front, mask, foil), ensuring the loading process completes gracefully.
@selop selop merged commit 6eb4f73 into main Feb 28, 2026
2 checks passed
@selop selop deleted the feat/flatsilver-reverse-shader branch March 1, 2026 13:34
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.

Add dedicated shader for FLAT_SILVER / REVERSE foil cards

1 participant