On 6/08/09 8:19 PM, Pau Moreno wrote:
No I'm not having errors of compiling shaders, and executing it. Returning to the topic of this post: If I comment the MultitexCoord line, nothing is showing in the viewer, but that's logic. The problem if is it uncommented ( I need theis function so I can pass my parameters to the shader in each vertex I have) the application crashes, and I
'osg::Geometry::setVertexAttribArray()' passes per-vertex attribute data (via glVertexAttrib*) and 'osg::Program::addBindAttribLocation()' binds a vertex attrib location to a name.
Hope this helps. Cheers, /ulrich _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org