c4d19877cf
- 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.
10 lines
125 B
GLSL
10 lines
125 B
GLSL
#version 330 core
|
|
|
|
out float prevLum;
|
|
|
|
uniform sampler2D tex;
|
|
|
|
void main()
|
|
{
|
|
prevLum = texelFetch(tex, ivec2(0), 0).r;
|
|
}
|