Alan, This is most likely due to the number of texture units you have available. To check this, try:
osg::Texture::Extensions* textureExt = osg::Texture::getExtensions(0, true); int num_units = textureExt->numTextureUnits(); Note that you'll need a valid graphics context. Andrew -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alan Harris Sent: Tuesday, July 17, 2007 10:31 AM To: osg users Subject: [osg-users] TexGenNode and TexGen I created a forest base using TexGenNode to representing the shading on the landscape. It works fine, but when trying to do a number using texture units from 1 to n, I cannot get more than 3 bases to appear. Is this related to the limit GL_MAX_TEXTURE_UNITS or something more subtle that I am missing. I am on v1.2. -- Regards Alan Harris ReSoft Ltd Cornwallis, Burycroft Road Hook Norton Banbury, OX15 5PR, UK Tel: +44 (0) 1608 730707 Email: [EMAIL PROTECTED] Web: www.resoft.co.uk _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/