See also...

  • The chapter07/sceneshadewire.cpp file in the example code.
  • This technique was originally published in an NVIDIA whitepaper in 2007 (Solid Wireframe, NVIDIA Whitepaper WP-03014-001_v01 available at developer.nvidia.com). The white paper was listed as a Direct3D example, but of course our implementation here is provided in OpenGL.
  • The Creating shadows using shadow volumes and the geometry shader recipe in Chapter 8, Shadows.

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.