add tonemapping shaders
This commit is contained in:
6
shader/ToneMap/RomBinDaHouse.glsl
Normal file
6
shader/ToneMap/RomBinDaHouse.glsl
Normal file
@@ -0,0 +1,6 @@
|
||||
vec3 ToneMapping(vec3 color)
|
||||
{
|
||||
color = exp( -1.0 / ( 2.72*color + 0.15 ) );
|
||||
|
||||
return linearTosRGB(color);
|
||||
}
|
Reference in New Issue
Block a user