Explorar o código

ShaderLib: Minor code clean up.

Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
24a55ee5a6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/renderers/shaders/ShaderLib.js

+ 2 - 2
src/renderers/shaders/ShaderLib.js

@@ -172,10 +172,10 @@ THREE.ShaderLib = {
 		fragmentShader: [
 
 			"uniform vec3 diffuse;",
-			"uniform float opacity;",
-
 			"uniform vec3 emissive;",
 
+			"uniform float opacity;",
+
 			"varying vec3 vLightFront;",
 
 			"#ifdef DOUBLE_SIDED",