Amend fog function
Signed-off-by: Vivian Meazza <vivian.meazza@lineone.net>
This commit is contained in:
parent
a37de2ec49
commit
35b5beb0a3
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
//#define FOG_FUNCTION
|
||||
//#define fog_FuncTION
|
||||
//default fog
|
||||
//varying float fogCoord;
|
||||
varying vec3 PointPos;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue