mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 23:32:04 +00:00
5849c83028
Added gl_renderbuffers CVAR that disables render buffers Added patch shader support to FShaderProgram Added OpenGL 2 fallback support to render buffers
12 lines
242 B
GLSL
12 lines
242 B
GLSL
|
|
in vec2 TexCoord;
|
|
out vec4 FragColor;
|
|
|
|
uniform sampler2D SceneTexture;
|
|
uniform float ExposureAdjustment;
|
|
|
|
void main()
|
|
{
|
|
vec4 color = texture(SceneTexture, TexCoord);
|
|
FragColor = max(vec4(color.rgb * ExposureAdjustment - 1, 1), vec4(0));
|
|
}
|