OpenGL Toon Shader Example

twitterlinkedin

Purpose of the Sample:

Demonstrates how to make a toon shader using a stencil buffer for the silhouette.

CGame.h

CGame.cpp

vertexPass0.glsl

fragmentPass0.glsl

vertexPass1.glsl

fragmentPass1.glsl

fragmentPass2.glsl

Download Sample App

twitterlinkedin
Share It!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.