Emmett Lalish 5 rokov pred
rodič
commit
5269bcb913
1 zmenil súbory, kde vykonal 4 pridanie a 4 odobranie
  1. 4 4
      src/renderers/webgl/WebGLPrograms.js

+ 4 - 4
src/renderers/webgl/WebGLPrograms.js

@@ -269,13 +269,13 @@ function WebGLPrograms( renderer, extensions, capabilities ) {
 
 			}
 
-		}
+			array.push( renderer.outputEncoding );
 
-		array.push( material.onBeforeCompile.toString() );
+			array.push( renderer.gammaFactor );
 
-		array.push( renderer.outputEncoding );
+		}
 
-		array.push( renderer.gammaFactor );
+		array.push( material.onBeforeCompile.toString() );
 
 		return array.join();