foxygit / GZDoom Log in
commits tags

/wadsrc/static/shaders_gles/glsl/func_defaultmat.fp · 190 B

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