Hi Ethan,

Thanks Sergey, that clears it up for me.

Yes, Sergey has it right, that post was written from memory and obviously I got it backwards. I always cast the variable to int, or explicitly create a uniform of type SAMPLER_2D which avoids this issue altogether but is more lines of code.

Sorry for the confusion,

J-S
--
______________________________________________________
Jean-Sebastien Guay              jean_...@videotron.ca
                    http://whitestar02.dyndns-web.com/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to