Browse Source

Minor clean up.

Mr.doob 10 years ago
parent
commit
8cb8e20452

+ 4 - 4
src/renderers/shaders/ShaderChunk/bumpmap_pars_fragment.glsl

@@ -3,10 +3,10 @@
 	uniform sampler2D bumpMap;
 	uniform float bumpScale;
 
-			// Derivative maps - bump mapping unparametrized surfaces by Morten Mikkelsen
-			//	http://mmikkelsen3d.blogspot.sk/2011/07/derivative-maps.html
+	// Derivative maps - bump mapping unparametrized surfaces by Morten Mikkelsen
+	// http://mmikkelsen3d.blogspot.sk/2011/07/derivative-maps.html
 
-			// Evaluate the derivative of the height w.r.t. screen-space using forward differencing (listing 2)
+	// Evaluate the derivative of the height w.r.t. screen-space using forward differencing (listing 2)
 
 	vec2 dHdxy_fwd() {
 
@@ -37,4 +37,4 @@
 
 	}
 
-#endif
+#endif

+ 2 - 2
src/renderers/shaders/ShaderChunk/normalmap_pars_fragment.glsl

@@ -3,8 +3,8 @@
 	uniform sampler2D normalMap;
 	uniform vec2 normalScale;
 
-			// Per-Pixel Tangent Space Normal Mapping
-			// http://hacksoflife.blogspot.ch/2009/11/per-pixel-tangent-space-normal-mapping.html
+	// Per-Pixel Tangent Space Normal Mapping
+	// http://hacksoflife.blogspot.ch/2009/11/per-pixel-tangent-space-normal-mapping.html
 
 	vec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm ) {