Hi Aurelien You right, your submission use VertexAttribI to pass integer to shader instead of float. But the choice to change integer array in float, or keep it as integer in shader is not available. User have to use the good Array type to pass integer or float to shader. I think this a good idea but this will break backward compatibility.
Best Regards David 2013/5/31 Aurelien Albert <[email protected]> > Hi all, > > Not sure about that, but maybe this issue is (at least partialy) solved by > the use of more ArrayDispatchers, preserving both the type and the > "normalise" flags, as submitted here : > > - old submission (not up-to-date) : > http://forum.openscenegraph.org/viewtopic.php?p=52849#52849 > > - new submission (up-to-date) : > https://github.com/openscenegraph/osg/pull/10 > > > > Thank you! > > Cheers, > Aurelien > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=54333#54333 > > > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
