mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 16:41:07 +00:00
11 lines
221 B
GLSL
11 lines
221 B
GLSL
|
|
vec4 ProcessTexel()
|
|
{
|
|
return getTexel(vTexCoord.st);
|
|
}
|
|
|
|
vec4 ProcessLight(vec4 color)
|
|
{
|
|
vec4 brightpix = desaturate(texture(brighttexture, vTexCoord.st));
|
|
return vec4(min (color.rgb + brightpix.rgb, 1.0), color.a);
|
|
}
|