On 08/02/2011 05:35 AM, Joe Abreu wrote:
hybr wrote:
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.

You sir, are a legend. Thanks!


Wow, that's subtle.  Good eyes, Sergey!

--"J"

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to