1
0
Fork 0
fgdata/Shaders/HDR/copy-prev-luminance.frag
Fernando García Liñán c4d19877cf HDR: Significant update
- New atmosphering rendering technique based on my own work.
- Attempt to fix some remaining transparency issues.
- Use a luminance histogram for auto exposure.
- Add support for clustered shading.
- Add WS 2.0 shaders.
- Add 3D cloud shaders.
- Add orthoscenery support.
2023-04-06 00:18:29 +02:00

10 lines
125 B
GLSL

#version 330 core
out float prevLum;
uniform sampler2D tex;
void main()
{
prevLum = texelFetch(tex, ivec2(0), 0).r;
}