diff --git a/Shaders/include_fog.frag b/Shaders/include_fog.frag index bb8b2bdc7..58dcd24bd 100644 --- a/Shaders/include_fog.frag +++ b/Shaders/include_fog.frag @@ -1,4 +1,4 @@ -//#define FOG_FUNCTION +//#define fog_FuncTION //default fog //varying float fogCoord; varying vec3 PointPos; diff --git a/Shaders/include_fog.vert b/Shaders/include_fog.vert index 2286437ab..7dd8c195e 100644 --- a/Shaders/include_fog.vert +++ b/Shaders/include_fog.vert @@ -2,7 +2,7 @@ varying vec3 PointPos; //varying vec4 EyePos; -void fog_func(int type) +void fog_Func(int type) { PointPos = (gl_ModelViewMatrix * gl_Vertex).xyz; //PointPos = gl_Vertex;