Hi Robert, Just as you said, I comment out #if SHADERS_GL3 AND #elif SHADERS_GL2 's codes, recompiling and rerunning, everything looks fine now. Thank you! Cheers, Li ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=70539#70539