HI Saravanan? Have a look at the osgdistortion example for how you can render to texture and reuse the result when rendering to a screen aligned quad.
Robert. On 18 July 2014 13:31, Saravanan Sivaprahasam < saransivapraha...@rediffmail.com> wrote: > Hi, > > I have a scene to be captured by camera and render it to a texture. I am > applying shaders to post process the scene and draw the scene as texture to > a scene aligned quad. > > I need clarification regarding applying shaders and drawing the scene. > Does it needs to implemented as camera callback. Kindly suggest me a > suitable method > > Thank you! > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=60326#60326 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org