Correction: Use setElement to set n-th matrix in the array.
WL
--------------------------------------------------
From: "Wojciech Lewandowski" <[email protected]>
Sent: Sunday, October 18, 2009 11:50 PM
To: <[email protected]>
Subject: Re: [osg-users] Can't assign more than 7 texture matrices
Hi Johannes,
It don't think this is an an error. There are only 8 texture coords and 8
tex matrices in fixed pipeline. If you want more simply use uniforms.
Matrix array uniforms are available in OpenGL and OSG. Use setElement to
sent n-th array.
Cheers,
Wojtek Lewandowski
--------------------------------------------------
From: "Johannes Schüth" <[email protected]>
Sent: Sunday, October 18, 2009 11:12 PM
To: <[email protected]>
Subject: Re: [osg-users] Can't assign more than 7 texture matrices
Seems to be another ati related issue. I was able to reproduce this issue
with pure opengl.
:-\
Any suggestions on how i can handover multiple texture matrices to my
shader?
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=18366#18366
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org