raze/wadsrc/static/shaders/glsl/func_defaultmat.fp

8 lines
188 B
Text
Raw Normal View History

2020-04-26 21:17:54 +00:00
void SetupMaterial(inout Material material)
{
material.Base = ProcessTexel();
material.Normal = ApplyNormalMap(vTexCoord.st);
material.Bright = texture(brighttexture, vTexCoord.st);
}