gzdoom-gles/wadsrc/static/shaders/glsl/func_brightmap.fp

10 lines
217 B
GLSL

Material ProcessMaterial()
{
Material material;
material.Base = getTexel(vTexCoord.st);
material.Normal = ApplyNormalMap(vTexCoord.st);
material.Bright = texture(brighttexture, vTexCoord.st);
return material;
}