gl_TessCoord.3G - Man Page

contains the coordinate of the vertex within the current patch


in vec3 gl_TessCoord ;.SH "DESCRIPTION"

Available only in the tessellation cevaluation language, gl_TessCoord specifies the three component (u, v, w) vector identifying the position of the vertex being processed by the shader relative to the primitive being tessellated.

Version Support

OpenGL Shading Language Version
Function Name1.101.201.301.401.503.304.

See Also

gl_TessLevelOuter(), gl_TessLevelInner(), gl_PatchVerticesIn()

Referenced By

gl_PatchVerticesIn.3G(3), gl_TessLevelInner.3G(3), gl_TessLevelOuter.3G(3).