Skip to content

fix: ensure alpha transparency for 3D silkscreen textures (#770)#715

Open
li224242 wants to merge 1 commit intotscircuit:mainfrom
li224242:feat/fix-knockout-rendering
Open

fix: ensure alpha transparency for 3D silkscreen textures (#770)#715
li224242 wants to merge 1 commit intotscircuit:mainfrom
li224242:feat/fix-knockout-rendering

Conversation

@li224242
Copy link

Overview

Complementary fix for #770 to ensure the 3D texture generator respects alpha transparency, allowing the knockout effect to be visually consistent in 3D.

Changes

  • Clears canvas to transparent before rendering the silkscreen layer to support knockout holes.

Ref: #770

…t effect

- Clear canvas to transparent before rendering silkscreen layer
- Ensures knockout text holes reveal underlying PCB substrate color
- Required for proper alpha blending in Three.js MeshBasicMaterial
@vercel
Copy link

vercel bot commented Feb 27, 2026

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

Project Deployment Actions Updated (UTC)
3d-viewer Ready Ready Preview, Comment Feb 27, 2026 0:30am

Request Review

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