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

9 lines
248 B
Text
Raw Normal View History

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