Found the answer. The code in the example resets the depth buffer to 1.0 before drawing the skybox. This means that all depth info is effectively cleared from the z buffer, and the skybox overwrites everything then.
Not sure how this code worked in the example, but removed the z-clear from my code made the skybox work perfectly. ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51419#51419 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org