From d9129702f26975d15636c9c6491c5c0fd06ae902 Mon Sep 17 00:00:00 2001 From: "Mr.doob" Date: Fri, 21 Aug 2020 09:34:28 +0100 Subject: [PATCH] WebGLPrograms: Fixed isRawShaderMaterial check. --- src/renderers/webgl/WebGLPrograms.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/webgl/WebGLPrograms.js b/src/renderers/webgl/WebGLPrograms.js index e6ff6dd8e8bb1e..fe230074d491a9 100644 --- a/src/renderers/webgl/WebGLPrograms.js +++ b/src/renderers/webgl/WebGLPrograms.js @@ -304,7 +304,7 @@ function WebGLPrograms( renderer, cubemaps, extensions, capabilities, bindingSta } - if ( parameters.isRawShaderMaterial === undefined ) { + if ( parameters.isRawShaderMaterial === false ) { for ( let i = 0; i < parameterNames.length; i ++ ) {