4 #pragma MSP stage(vertex)
5 out float gl_ClipDistance[2];
7 void clipping(vec3 eye_vertex) override
9 gl_ClipDistance[0] = dot(eye_vertex.xyz, vec3(0.5, -0.288675, -0.816497));
10 gl_ClipDistance[1] = dot(eye_vertex.xyz, vec3(-0.5, -0.288675, -0.816497));