add tonemapping shaders

This commit is contained in:
2020-05-22 19:59:34 +08:00
parent eb0b29275e
commit 23685cd868
18 changed files with 606 additions and 59 deletions

View File

@@ -0,0 +1,6 @@
vec3 ToneMapping(vec3 color)
{
color = clamp(u_Exposure * color, 0., 1.);
return linearTosRGB(color);
}