2
0
Эх сурвалжийг харах

WebGLState: handle CustomBlending case

Fixes #11280
WestLangley 8 жил өмнө
parent
commit
999ffcf53f

+ 1 - 1
src/renderers/webgl/WebGLState.js

@@ -523,7 +523,7 @@ function WebGLState( gl, extensions, paramThreeToGL ) {
 
 		}
 
-		if ( blending !== currentBlending || premultipliedAlpha !== currentPremultipledAlpha ) {
+		if ( ( blending !== CustomBlending ) && ( blending !== currentBlending || premultipliedAlpha !== currentPremultipledAlpha ) ) {
 
 			if ( blending === AdditiveBlending ) {