Once i spend several hours resolving same problem, now i know :D

02.08.2011, 20:10, "Jason Daly" <[email protected]>:
> 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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to