I'm using OSG v2.4. I'm having some problems with conflicting texture unit ID's.
In practice, I'm creating 2 textures and storing shader relevant data in them. I'm assigning them to the state set using setTextureAttributeAndModes(1,...) and setTextureAttributeAndModes(2,...) but some objects in the scene must also have textures defined for these texture units. This causes an override of the data I've assigned to texture unit 1 and 2. Is there a way to keep this from happening? Cheers, Steven ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30994#30994 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org