raze-gles/wadsrc/static/shaders/glsl/func_defaultmat.fp
2020-05-30 23:10:17 +02:00

7 lines
188 B
GLSL

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