Hi all I have some light cones that simulate the glowing of a light. All the light cones are in one group in the scene graph, and they have their apropriate shader in the group stateset to get the desired effect.
Now my goal is to render the cones in a osgppu postpro step. I want to have them rendered over the normal scene. So my intention is to write a UnitInOut class that can take a osg::Group node and render it over the existing input texture. This is actually very close to the UnitText class, instead of a osg::Text I have a small sub scene graph. One issue is the correct view and projection matrixes, which must no longer be related to the screen quad, but instead must be the same like the main scene. I hope you get the idea... I started to write the class, but I'm stuck with applying the correct stateset and matrixes at the correct time. Can anybody help me? Thank you! Cheers, Daniel ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52949#52949 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org