Browse Source

glsl.js: Clean up

linbingquan 6 years ago
parent
commit
b90f614fd5

+ 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
 `;