mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 05:31:00 +00:00
12 lines
246 B
GLSL
12 lines
246 B
GLSL
uniform sampler2D texture2;
|
|
|
|
vec4 ProcessTexel()
|
|
{
|
|
return getTexel(vTexCoord.st);
|
|
}
|
|
|
|
vec4 ProcessLight(vec4 color)
|
|
{
|
|
vec4 brightpix = desaturate(texture2D(texture2, vTexCoord.st));
|
|
return vec4(min (color.rgb + brightpix.rgb, 1.0), color.a);
|
|
}
|