Emmett Lalish 5 éve
szülő
commit
5269bcb913
1 módosított fájl, 4 hozzáadás és 4 törlés
  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();