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

8 lines
248 B
GLSL

void SetupMaterial(inout Material material)
{
SetMaterialProps(material, vTexCoord.st);
material.Specular = texture(speculartexture, vTexCoord.st).rgb;
material.Glossiness = uSpecularMaterial.x;
material.SpecularLevel = uSpecularMaterial.y;
}