From 35b5beb0a313095055428ad9c523210652330fa1 Mon Sep 17 00:00:00 2001 From: Vivian Meazza Date: Thu, 1 Dec 2011 21:07:48 +0000 Subject: [PATCH] Amend fog function Signed-off-by: Vivian Meazza --- Shaders/include_fog.frag | 2 +- Shaders/include_fog.vert | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;