Browse Source

Merge pull request #15727 from linbingquan/clean-up1

glsl.js: Clean up
Mr.doob 6 years ago
parent
commit
8e37ba2d73

+ 1 - 1
src/renderers/shaders/ShaderChunk/dithering_fragment.glsl.js

@@ -1,7 +1,7 @@
 export default /* glsl */`
 #if defined( DITHERING )
 
-  gl_FragColor.rgb = dithering( gl_FragColor.rgb );
+	gl_FragColor.rgb = dithering( gl_FragColor.rgb );
 
 #endif
 `;

+ 1 - 1
src/renderers/shaders/ShaderChunk/encodings_fragment.glsl.js

@@ -1,3 +1,3 @@
 export default /* glsl */`
-  gl_FragColor = linearToOutputTexel( gl_FragColor );
+gl_FragColor = linearToOutputTexel( gl_FragColor );
 `;

+ 1 - 1
src/renderers/shaders/ShaderChunk/tonemapping_fragment.glsl.js

@@ -1,7 +1,7 @@
 export default /* glsl */`
 #if defined( TONE_MAPPING )
 
-  gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );
+	gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );
 
 #endif
 `;