RuntimeData/shader/ToneMap/RomBinDaHouse.glsl

7 lines
115 B
Plaintext
Raw Normal View History

2020-05-22 19:59:34 +08:00
vec3 ToneMapping(vec3 color)
{
color = exp( -1.0 / ( 2.72*color + 0.15 ) );
return linearTosRGB(color);
}