Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6
void main() { gl_Position = ModelViewProjectionMatrix * vec4(pos, 1.0); gl_ClipDistance[0] = dot(ModelMatrix * vec4(pos, 1.0), ClipPlane); }