Răsfoiți Sursa

Update WebGPUPipelineUtils.js

see https://github.com/mrdoob/three.js/pull/30862#discussion_r2034041690
Michael Herzog 9 luni în urmă
părinte
comite
4e3db421ae
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/renderers/webgpu/utils/WebGPUPipelineUtils.js

+ 1 - 1
src/renderers/webgpu/utils/WebGPUPipelineUtils.js

@@ -88,7 +88,7 @@ class WebGPUPipelineUtils {
 
 
 		let blending;
 		let blending;
 
 
-		if ( material.blending !== NoBlending && ( material.blending !== NormalBlending || material.transparent === true ) ) {
+		if ( material.blending !== NoBlending && ( material.blending !== NormalBlending || material.transparent !== false ) ) {
 
 
 			blending = this._getBlending( material );
 			blending = this._getBlending( material );
 
 

粤ICP备19079148号