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.

Luca

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=42273#42273





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to