1
0
Fork 0
fgdata/Shaders/light-cone.vert

10 lines
168 B
GLSL
Raw Normal View History

varying float fogCoord;
void main()
{
vec3 ecPosition = vec3(gl_ModelViewMatrix * gl_Vertex);
gl_Position = ftransform();
fogCoord = abs(ecPosition.z);
}