3 GL_ARB_tessellation_shader
13 color = vec4(0, 1, 0, 1);
17 [tessellation evaluation shader]
18 #extension GL_ARB_tessellation_shader: require
25 gl_Position = gl_in[0].gl_Position * gl_TessCoord[0]
26 + gl_in[1].gl_Position * gl_TessCoord[1]
27 + gl_in[2].gl_Position * gl_TessCoord[2];
29 color_fs = color[0] * gl_TessCoord[0]
30 + color[1] * gl_TessCoord[1]
31 + color[2] * gl_TessCoord[2];
40 gl_FragColor = color_fs;
53 clear color 0.1 0.1 0.1 0.1
55 patch parameter vertices 3
56 draw arrays GL_PATCHES 0 6
57 probe all rgba 0.0 1.0 0.0 1.0