Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGPURenderer: Fix alpha canvas in WebGPU #27442

Merged
merged 2 commits into from Dec 26, 2023
Merged

Conversation

RenaudRohlinger
Copy link
Collaborator

The alpha canvas was not working with the WebGPUBackend. This PR fixes the issue.
alpha = true by default to align with the best practices of the WebGL backend and I added a new parameter alpha to the constructor like in legacy renderer.

@sunag sunag added this to the r161 milestone Dec 26, 2023
@sunag sunag merged commit d3bd0d8 into mrdoob:dev Dec 26, 2023
11 checks passed
AdaRoseCannon pushed a commit to AdaRoseCannon/three.js that referenced this pull request Jan 15, 2024
* fix alpha background in webgpu

* fix whitespace
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.

None yet

2 participants