Hi Cedric, On Wed, Oct 21, 2009 at 2:16 PM, Cedric Pinson <[email protected]> wrote: > I used the addBindAttribLocation to the program but it generated an > error. Because the compiling of the program gave another location to put > my data. Anyway i will a another try to test it.
With addBindAttribLocation you actively tell the glProgram the location where to the attribute name, it's not a case of asking for the binding location. The only problem I hit up against when doing the vertex alias work and using BindAttibLocation was the need to disable display lists. GL3 and GLES 2 don't support display lists so this isn't really too much of deal. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

