On 05/09/2012 05:37 AM, Eldar Insafutdinov wrote:
Well, adding "[0]" actually did the trick! Mismatch of the array sizes did not
matter in the end(I want to pass arrays of variable length to glsl with sizes up to 20
elements, so that's fine with me). Not sure why my drivers don't work here, I'm on Linux
with NVIDIA card and fairly up to date drivers. Thanks for helping me out!
Hi, Eldar,
The problem actually only occurs with recent NVIDIA drivers (older
versions didn't have this issue).
As David mentioned, the latest SVN and the most recent developer
releases also include this workaround, so you won't need to add the
"[0]" yourself if you use one of those. Obviously, it'll be in the next
public OSG release, too.
--"J"
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org