fireball/lib/renderers/shaders/ShaderChunk/tonemapping_fragment.glsl
2018-12-25 17:29:22 +03:30

6 lines
91 B
GLSL

#if defined( TONE_MAPPING )
gl_FragColor.rgb = toneMapping( gl_FragColor.rgb );
#endif