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

8 lines
190 B
Text
Raw Normal View History

2021-09-18 11:03:36 +00:00
void SetupMaterial(inout Material material)
{
material.Base = ProcessTexel();
material.Normal = ApplyNormalMap(vTexCoord.st);
material.Bright = texture2D(brighttexture, vTexCoord.st);
}