1
0
Fork 0
fgdata/Shaders/HDR/copy-prev-luminance.frag
2021-07-23 07:46:05 +02:00

10 lines
133 B
GLSL

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