Skip to content

Overhaul PCB Rendering with Physically-Based Materials and Realistic Surface Relief - #960

Open
AnasSarkiz wants to merge 7 commits into
tscircuit:mainfrom
AnasSarkiz:AnasSarkiz/flux-clone
Open

Overhaul PCB Rendering with Physically-Based Materials and Realistic Surface Relief#960
AnasSarkiz wants to merge 7 commits into
tscircuit:mainfrom
AnasSarkiz:AnasSarkiz/flux-clone

Conversation

@AnasSarkiz

@AnasSarkiz AnasSarkiz commented Aug 4, 2026

Copy link
Copy Markdown
Member

Flux-grade PCB rendering, now the default

PCB renders now use the Flux-style product presentation in every viewer path: controlled studio lighting, a satin solder-mask response, physical copper/trace relief, and no engineering grid or rendering-mode fallback.

  • Uses geometry-derived masked-copper maps, so an empty board cannot generate false texture artifacts.
  • Keeps the existing solder-mask color map intact while applying material detail only where copper geometry exists.
  • Keeps Appearance state focused: Lighting and an opt-in Dark Background. Transparency is the default for every new viewer session.
  • Removes the unused engineering grid and shadow-receiver path.
  • Sets Storybook stories to fullscreen so the visual review is edge-to-edge.

Interactive review

Open the Keypad preview

Keypad visual comparison

Transparent canvas (default)

Keypad render on a transparent canvas

Dark studio background (optional)

Keypad render with the Flux-style dark studio background

Validation

  • bun test tests/board-relief-textures.test.ts tests/manifold-board-textures-strict-mode.test.tsx
  • bunx tsc --noEmit --pretty false (blocked only by existing canvas color typing errors outside this change)
  • Biome checks on the changed files

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
3d-viewer Ready Ready Preview Aug 4, 2026 9:09pm

Request Review

@AnasSarkiz AnasSarkiz changed the title Give PCB renders Flux-grade studio realism Make Flux-Grade PCB Renders the Default Experience Aug 4, 2026
@AnasSarkiz AnasSarkiz changed the title Make Flux-Grade PCB Renders the Default Experience Overhaul PCB Rendering with Physically-Based Materials and Realistic Surface Relief Aug 4, 2026
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