Remove reflection modulation by shininess factor (bump map alpha channel)
This commit is contained in:
parent
5d2845a540
commit
3e563df3a4
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ void main (void)
|
||||||
reflFactor = (gl_FrontMaterial.shininess / 128) + transparency_offset;
|
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
|
// set ambient adjustment to remove bluiness with user input
|
||||||
float ambient_offset = clamp(ambient_correction, -1.0, 1.0);
|
float ambient_offset = clamp(ambient_correction, -1.0, 1.0);
|
||||||
|
|
Loading…
Reference in a new issue