mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +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);
|
|
}
|