gzdoom-gles/wadsrc/static/shaders/glsl/func_brightmap.fp
2018-02-09 23:29:31 +01:00

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);
}