mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-03 08:52:59 +00:00
13 lines
242 B
Text
13 lines
242 B
Text
|
|
||
|
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));
|
||
|
}
|