Hi, Joe Seems like you mess up sampler uniforms setup. You unit declared as unsigned int, and osg uses different gl functions to set uniform with int and unsigned values (which is right thing), and samplers uniforms must be set with signed int version. So just cast it to int when use uniform->set(sampler) or redeclare as signed integers.
Cheers, Sergey. 01.08.2011, 20:09, "Joe Abreu" <pure...@hotmail.com>: > Jason Daly wrote: > >> What hardware are you running on? It's almost as if you don't have >> enough texture units (i.e.: more than one) to handle the operation... > > I'm running a NVidia GeForce GTX 460 on my i7 machine, I've done plenty of > other shader stuff before with multiple textures, for some reason in this > example I'm running it just isn't working. It's the first time trying to link > to OSG 3.0.0, but I've tried linking back to the previous version of open > scene graph I was using (2.8.3) and it still doesn't work. > > Joe > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=41767#41767 > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org