mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
e00847f64b
- missing GL resources for gzdoom.pk3.
9 lines
253 B
GLSL
9 lines
253 B
GLSL
uniform sampler2D texture2;
|
|
|
|
vec4 Process(vec4 color)
|
|
{
|
|
vec4 brightpix = desaturate(texture2D(texture2, gl_TexCoord[0].st));
|
|
vec4 texel = getTexel(gl_TexCoord[0].st);
|
|
return vec4(texel.rgb * min (color.rgb + brightpix.rgb, 1.0), texel.a*color.a);
|
|
}
|
|
|