mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
parent
9676364c1f
commit
7a28f2c4fa
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ vec4 applyBloom(vec4 color, vec2 uv)
|
|||
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_TONE_MAPPING
|
||||
#if ENABLE_TONE_MAPPING
|
||||
|
||||
/* Hable's UC2 Tone mapping parameters
|
||||
A = 0.22;
|
||||
|
@ -84,7 +84,7 @@ void main(void)
|
|||
if (uv.x > 0.5 || uv.y > 0.5)
|
||||
#endif
|
||||
{
|
||||
#ifdef ENABLE_TONE_MAPPING
|
||||
#if ENABLE_TONE_MAPPING
|
||||
color = applyToneMapping(color);
|
||||
#else
|
||||
color.rgb /= 2.5; // default exposure factor, see also RenderingEngine::DEFAULT_EXPOSURE_FACTOR;
|
||||
|
|
Loading…
Add table
Reference in a new issue