1 # Use a clip and cull distances. Always accept.
9 #extension GL_ARB_cull_distance: enable
11 out float gl_CullDistance[1];
12 out float gl_ClipDistance[1];
16 gl_Position = gl_Vertex;
18 gl_CullDistance[0] = 5.0;
19 gl_ClipDistance[0] = 5.0;
27 gl_FragColor = vec4(0, 0, 1, 1);
31 clear color 0.0 1.0 0.0 1.0
36 # All blue, nothing clipped or culled
37 probe all rgba 0.0 0.0 1.0 1.0