foxygit / GZDoom Log in
commits tags

/wadsrc/static/shaders/glsl/func_defaultmat.fp · 188 B

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