Christian, I looked into doing a quick fix based upon the type of the vertex attributes but I decided that wouldn't be valid or safe. The glVertexAttribPointer method that is currently used does have defined behavior for when the vertex attributes are integer types. Because of that there may be some existing code out there that would be broken by just switching over to using glVertexAttribIPointer based upon the type of the array.
The correct fix would require API changes that would propagate up from State.cpp in order to provide a whole different code path for specifying the integer types. Hopefully this will get noticed and handled by the ninjas who make such broad changes. Until then, I've done the int-float conversion just like you. Not optimal, but it works. thanks, Joel ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=46115#46115 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

