Skip to content

Commit

Permalink
WebGLPrograms: Fixed isRawShaderMaterial check.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Aug 21, 2020
1 parent 0ff92ce commit d912970
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/webgl/WebGLPrograms.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 ++ ) {

Expand Down

0 comments on commit d912970

Please sign in to comment.