See also

  • The chapter04/scenetoon.cpp file in the example code
  • The Using per-fragment shading for improved realism recipe
  • The Blinn-Phong reflection model recipe 
  • The Drawing silhouette lines using the geometry shader recipe in Chapter 6, Image Processing and Screen Space Techniques

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.