That's the idea. 2011/8/27 Luca Vezzadini <[email protected]>
> Looking at the code I seem to understand that statistics use only the fixed > pipeline. At least this is what I see in osgViewer\StatsHandler.cpp in > setUpScene(). If that is true, then the first step is to change that > behavior so to use shaders instead. > About the precision declaration, that is just one single line to add at the > beginning of the fragment shader (something like "precision mediump > float;"). It could be ifdef'ed to add it only when GLES2 is available. >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

