1
0
Fork 0

Amend fog function

Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
This commit is contained in:
Vivian Meazza 2011-12-01 21:07:48 +00:00
parent a37de2ec49
commit 35b5beb0a3
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
//#define FOG_FUNCTION
//#define fog_FuncTION
//default fog
//varying float fogCoord;
varying vec3 PointPos;

View file

@ -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;