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

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