Hi Shayne,
I was successful in getting a floating point array uniform going for my
shader. At Paul's request, here's what I did...
In the shader setup code:
[...]
In the update callback:
And what about the shader itself? How do you access it from there? Is it
as simple as
float altitudes[10];
? What about the array size? Do you pass another uniform for that?
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org