A very astute student (thanks Scott!) found a bug in the GraphicsTown code. It’s actually in the shader utilities that have been in use for years.
The current version removes newlines from the shader program before it compiles them. This means that some things won’t compile correctly (for example, if you have C++ style comments). So, if you have a shader that works in kickjs, but not in GraphicsTown, this might be your problem.
We will provide a better version of the shader tools soon.
UPDATE: Here is a link to the new ShaderTools.cpp file. If you experience shader bugs relating to “//” comments, you can replace the old ShaderTools.cpp with this one.