Hi Raphael, On 21 December 2012 14:10, raphael cano <[email protected]> wrote: > After a quick look on the osgUtil::Smoothingvisitor class, it seems to be > that it uses the "normal" openGL pipeline, i.e. the nomals are pushed into > the drawable with setNormalArray. > Is there a possibility to use this functionnality with attribute, in order to > make it compatible with openGLes2.0?
The OSG supports vertex attribute aliasing (via features in osg::State) that allow norml, colour etc. arrays to be automatically remapped to vertex attribute array equivalents. This means you shouldn't need to remap them yourself. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

