SHADERS: fix c/p fail in bumpspec.frag. Thanks Chris Forbes for reporting.
Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
This commit is contained in:
parent
56d05521c1
commit
fa0e47f919
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
// -*- mode: C; -*-
|
||||
// Licence: GPL v2
|
||||
// Author: Frederic Bouvier
|
||||
|
||||
#version 120
|
||||
//varying float fogCoord;
|
||||
|
||||
varying vec3 VNormal;
|
||||
|
@ -48,6 +48,6 @@ void main (void)
|
|||
// fogFactor = clamp(fogFactor, 0.0, 1.0);
|
||||
// gl_FragColor = mix(gl_Fog.color, color, fogFactor);
|
||||
|
||||
color.rgb = fog_Func(fragColor.rgb, fogType);
|
||||
color.rgb = fog_Func(color.rgb, fogType);
|
||||
gl_FragColor = color;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue