Hi Romulo, I guess you should do a render to texture and make sure the texture format is with texels as floating points. Then custom shaders that will render normals and depths into these textures.
I am on travel at the moment will help you more when I get back. Meanwhile you can do research. Start with the osgprerender example On Dec 11, 2017 7:13 PM, "Rômulo Cerqueira" <[email protected]> wrote: > Hi Nick, > > how can I encode the normal and depth data in the env texture? > > ... > > Thank you! > > Cheers, > Rômulo > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=72565#72565 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

