On 03/05/2012 03:17 PM, Ethan Fahy wrote:
Thanks Jason,
I may do some testing with floats to see if they work out, but most likely I'll
play it safe and use unsigned ints for r,g,and b and come up with an indexing
scheme that can theoretically host up to 16.7 million discrete values.
Just curious,
Is there some reason you're specifying a scaled index for a look-up
table as a color? Any reason you can't just pass your scaled index to
your shader as a 32 bit generic integer vertex attribute?
--"J"
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org