1
0
Fork 0
fgdata/Compositor/Shaders/Default/include_fog.vert
2019-10-26 01:42:48 +02:00

12 lines
295 B
GLSL

#version 120
//varying float fogCoord;
varying vec3 PointPos;
//varying vec4 EyePos;
void fog_Func(int type)
{
PointPos = (gl_ModelViewMatrix * gl_Vertex).xyz;
//PointPos = gl_Vertex;
//EyePos = gl_ModelViewMatrixInverse * vec4(0.0,0.0,0.0,1.0);
//fogCoord = abs(ecPosition.z);
}