1
0
Fork 0

Remove reflection modulation by shininess factor (bump map alpha channel)

This commit is contained in:
Frederic Bouvier 2010-09-26 08:41:50 +02:00
parent 5d2845a540
commit 3e563df3a4

View file

@ -97,7 +97,7 @@ void main (void)
reflFactor = (gl_FrontMaterial.shininess / 128) + transparency_offset;
}
reflFactor = clamp(reflFactor * ns.a, 0.0, 1.0);
reflFactor = clamp(reflFactor, 0.0, 1.0);
// set ambient adjustment to remove bluiness with user input
float ambient_offset = clamp(ambient_correction, -1.0, 1.0);