raze-gles/wadsrc/static/shaders/glsl/func_spec.fp

9 lines
248 B
Text
Raw Normal View History

2020-04-26 21:17:54 +00:00
void SetupMaterial(inout Material material)
{
SetMaterialProps(material, vTexCoord.st);
material.Specular = texture(speculartexture, vTexCoord.st).rgb;
material.Glossiness = uSpecularMaterial.x;
material.SpecularLevel = uSpecularMaterial.y;
}