Hi, Well I had a look in the code shader, you set gl_fragColor with a color depending on the face index osgppu_CubeMapFace. The corresponding update code is in void UnitInOut::init() method. That's why the bigger sphere holds colors. But the samplerCube input is unused in this sample, why ? Is this texture holds the reflection of the satellite objects ?
Sebastien ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23686#23686 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org