robertosfield wrote:
I didn't even realize there was a glVertexAttribIPointer... so yes
this does sound like it will be the issue. Either
osg::Geometry::drawImplementation or osg::State will need to be
adapted to detect the use of the interger array and use the
glVertexAttribIPointer. Feel
It looks like a problem with OSG to me. OSG should be using
glVertexAttribIPointer instead of glVertexAttribPointer when dealing with
integer attributes.
See:
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflatNumber=296704#Post296704
Not sure this is the actual problem but it
Hi Fred,
I didn't even realize there was a glVertexAttribIPointer... so yes
this does sound like it will be the issue. Either
osg::Geometry::drawImplementation or osg::State will need to be
adapted to detect the use of the interger array and use the
glVertexAttribIPointer. Feel free to dive
Hi,
I can successfully bind a Vec3 attribute to my vertices. But somehow, calling
setVertexAttribArray with an IntArray doesn't work for me.
I have attached a modified osggeometryshaders.cpp file to illustrate my issue.
Summary of changes:
Code:
// all shader versions changed to #version 150
4 matches
Mail list logo