diff --git a/include/osgSim/OverlayNode b/include/osgSim/OverlayNode index 1c9c8132d..f702fd910 100644 --- a/include/osgSim/OverlayNode +++ b/include/osgSim/OverlayNode @@ -139,8 +139,12 @@ class OSGSIM_EXPORT OverlayNode : public osg::Group OverlayTechnique _overlayTechnique; + // overlay subgraph is render to a texture osg::ref_ptr _overlaySubgraph; + + osg::ref_ptr _overlayStateSet; + osg::ref_ptr _mainStateSet; // texture to render to, and to read from. GLenum _texEnvMode; @@ -168,6 +172,10 @@ class OSGSIM_EXPORT OverlayNode : public osg::Group osg::ref_ptr _texture; osg::Polytope _textureFrustum; osg::ref_ptr _geode; + + osg::ref_ptr _mainSubgraphProgram; + osg::ref_ptr _y0; + osg::ref_ptr _inverse_one_minus_y0; }; typedef std::map OverlayDataMap;