http://developer.apple.com/library/mac/#samplecode/GLSLShowpiece/Introduction/Intro.html