O'Reilly logo

OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition by Bill M. Licea-Kane, John M. Kessenich, Graham Sellers, Dave Shreiner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Tessellation Control Shaders

Once your application issues a patch, the tessellation control shader will be called (if one is bound) and is responsible for completing the following actions:

• Generate the tessellation output patch vertices that are passed to the tessellation evaluation shader, as well as update any per-vertex, or per-patch attribute values as necessary.

• Specify the tessellation level factors that control the operation of the primitive generator. These are special tessellation control shader variables called gl_TessLevelInner and gl_TessLevelOuter, and are implicitly declared in your tessellation control shader.

We’ll discuss each of these actions in turn.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required