New Shader System

Hi all,

You’ll be pleased to know that I’ve made some big changes to the shader system for the upcoming 1.7.0 release. The new features include:

  • GLSL support (OpenGL only,  of course) and also GLSL ES (OpenGL ES only)
  • Support for separate vertex/fragment/etc programs
  • Support for structs in Cg shaders
  • Geometry shaders for Cg and GLSL (for Cg, this was provided by Schell Games)

And some more stuff. In the future, we hope to have support for CgFX as well. Maybe for 1.8 or so. Oh well, in the meantime you can watch this cute panda explode using a geometry shader.