[osg-users] VertexAttribDivisor -- should it be part of the VAO state?
Glenn Waldron
gwaldron at gmail.com
Tue Mar 19 09:50:19 PDT 2019
Robert et al.,
Consider: Should the VertexAttribDivisor be stored in the VAO state?
I'm running into issues where a VertexAttribDivisor (high in the scene
graph) is getting lost when drawing various sets of instanced geometries in
a scene. It happens when a new VAO is bound via glBindVertexArray.
The divisor is really a property of the Array. I am thinking that it should
be set in osg::Array and then applied in
Geometry::drawVertexArraysImplementation.
Hope to hear your thoughts.
Glenn Waldron / osgEarth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190319/7f912753/attachment.html>
More information about the osg-users
mailing list