> I will receive the final scene with or without textures You could traverse the scene graph and check the state sets to see if they bind a texture to a texture unit. Then depending on these findings, choose the correct shader code.
Christian
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org