Hi,
I am trying to add vertex attributes to my shader program and I am
having a crash when I reload the geometry with vertex attributes.
Now I am looking into the source and came across the func
osg::State::disableVertexAttribPointersAboveAndIncluding(). Looking at
the func name I would expect that the vertex attribute units would be
disabled, but it doesn't count up. I am really new in this area and
would like to learn. Is there someone who can explain this piece?
Mike Weiblen, could you take a look maybe, you're a shader expert!
A related question: I see that 'some' vertex attribute units are used in
examples like the glsl_confetti.osg. Can any unit be used arbitrarily,
without 0 which seems to be used for the vertex coordinates?
thanks a lot for explaining, best regards
Raymond
this is in the svn btw
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org