Hi all --
Has anyone ever used uniform arrays of ints on OS X? If so, did that work? For
some odd reason, my shaders running on OS X behave as if all elements of uniform
int arrays are zero. The same code running on Linux or Windows runs fine.
As a workaround, I've been able to either 1) not use an array, instead use a
bunch of individual int uniforms, and 2) change the type to a uniform array of
float, instead of int. Both of these ugly hacks work.
Host code uses OSG 2.8.3, and a fairly recent 2.9.x shows the same issue. I have
not yet tried a plain GL app, but I suspect if this was an issue with setting
the uniform on the host, I'd see the problem on all platforms. My Mac is OS X
10.6.6 with dual GeForce 8800 cards.
Thanks for any info.
-Paul
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org