Using Geometry and Tessellation Shaders

In this chapter, we will cover:

  • Point sprites with the geometry shader
  • Drawing a wireframe on top of a shaded mesh
  • Drawing silhouette lines using the geometry shader
  • Tessellating a curve
  • Tessellating a 2D quad
  • Tessellating a 3D surface
  • Tessellating based on depth

Get OpenGL 4 Shading Language Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.