Skip to content

Reproduce translucent face ordering in merged world sections - #336

Merged
InventivetalentDev merged 5 commits into
mainfrom
demo/world-transparency
Oct 17, 2026
Merged

InventivetalentDev merged 5 commits into
mainfrom
demo/world-transparency

Conversation

@InventivetalentDev

@InventivetalentDev InventivetalentDev commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

Two translucent panels merged into one world section can hide the rear panel’s letter, border, and grid where they overlap. This adds a deterministic comparison page at demo/transparency/ using real MineRenderWorld placement.

The page compares one merged section with the same panels across a section boundary. Both views share a camera slider and presets. Labeled, offset panels and a floor grid expose the spacing and missing content. Reverse placement order swaps the draw order while keeping the panels in place. On load, the page compares every preset in both placement orders and prints one PASS/FAIL line, so it also checks the sorting fix in #338. The page overrides the shared root scroll lock and supports desktop and touch scrolling.

All textures and fixture assets are generated locally. The comparison uses identical geometry and materials translated with the camera. Library rendering behavior is unchanged.

Validation:

  • Web typecheck and production build pass.
  • check demo/transparency/ in Chrome reports FAIL: the merged section hides panel detail at 180° (A, then B), 0° (B, then A). on this branch, and PASS with Sort translucent quads in merged world sections #338.
  • Desktop wheel and keyboard scrolling and mobile touch scrolling work, with no horizontal overflow, browser or WebGL errors, or external asset requests.

@github-actions github-actions Bot added apps Any app under apps/ web Demo and test pages (apps/web) labels Oct 17, 2026
@InventivetalentDev
InventivetalentDev marked this pull request as ready for review October 17, 2026 19:43
@InventivetalentDev
InventivetalentDev merged commit d53564c into main Oct 17, 2026
3 checks passed
@InventivetalentDev
InventivetalentDev deleted the demo/world-transparency branch October 17, 2026 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apps Any app under apps/ web Demo and test pages (apps/web)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant