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!

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41780#41780





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

Reply via email to