gzdoom/wadsrc/static/shaders_gles/glsl/func_defaultmat.fp

7 lines
190 B
GLSL

void SetupMaterial(inout Material material)
{
material.Base = ProcessTexel();
material.Normal = ApplyNormalMap(vTexCoord.st);
material.Bright = texture2D(brighttexture, vTexCoord.st);
}