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 WebGPU Custom Blending #28490

Merged

Conversation

RenaudRohlinger
Copy link
Collaborator

Description
image

This PR fix an issue where the WebGPU backend was trying to use native values such as GPUBlendFactor.One and GPUBlendFactor.Add as fallback instead of Threejs constants. The changes also reflects the WebGLRenderer by falling back to blendSrc, blendDst, and blendEquation instead.

This contribution is funded by Utsubo

@RenaudRohlinger RenaudRohlinger added this to the r165 milestone May 25, 2024
@RenaudRohlinger RenaudRohlinger merged commit 3b639a0 into mrdoob:dev May 26, 2024
11 checks passed
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