Gotcha, thanks.  No need for apologies, I never would have got as far as I did 
to begin with if it weren't for that post.  Thanks again everyone for the 
assistance on this one, I have the LUT method working perfectly now with 
floating point values.


Jean-Sébastien Guay wrote:
> 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              
> http://whitestar02.dyndns-web.com/
> _______________________________________________
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  ------------------
> Post generated by Mail2Forum


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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to