mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 08:30:49 +00:00
14 lines
256 B
GLSL
14 lines
256 B
GLSL
|
|
#version 330
|
|
|
|
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));
|
|
}
|