Skip to content

Commit 075e1c9

Browse files
rkreis-vsunag
andauthored
WebGPURenderer: Make material.transparent behave as in WebGLRenderer (#30862)
* WebGPU: Make material.transparent behave as in WebGL * cleanup --------- Co-authored-by: sunag <[email protected]>
1 parent fec7a6c commit 075e1c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/webgpu/utils/WebGPUPipelineUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class WebGPUPipelineUtils {
8888

8989
let blending;
9090

91-
if ( material.transparent === true && material.blending !== NoBlending ) {
91+
if ( material.blending !== NoBlending && ( material.blending !== NormalBlending || material.transparent === true ) ) {
9292

9393
blending = this._getBlending( material );
9494

0 commit comments

Comments
 (0)