1
0
Fork 0

Bugfix - remove emissivity

This commit is contained in:
vmmeazza 2010-04-07 22:02:22 +00:00
parent bbdf4694ad
commit 20535a3893

View file

@ -96,10 +96,10 @@ void main (void)
reflFactor = clamp(reflFactor, 0.0, 1.0); reflFactor = clamp(reflFactor, 0.0, 1.0);
// set adjust ambient // 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);
vec4 ambient_Correction = mix(gl_LightSource[0].ambient, vec4(1.0, 1.0, 0.6, 1.0), 0.5) vec4 ambient_Correction = vec4(gl_LightSource[0].ambient.rg, gl_LightSource[0].ambient.b * 0.6, 0.5) * ambient_offset ;
* ambient_offset; ambient_Correction = clamp(ambient_Correction, -1.0, 1.0);
// map noise vectore // map noise vectore
vec4 noisevec = texture3D(Noise, rawpos.xyz); vec4 noisevec = texture3D(Noise, rawpos.xyz);