Graphics Shaders: Theory and Practice

Chapter 2 Source Code


This page was last updated: September 14, 2009


ExampleGLIB fileVertex fileFragment fileGeometry fileComments
Bad Screen Example badscreen.glib badscreen.vert badscreen.frag   Why alpha=0. doesn't work
Good screen example screen.glib screen.vert screen.frag   Why discard works