CloudyDay
 All Classes Functions Variables Enumerations
Public Member Functions | Protected Attributes
osgCloudyDay::LightShaft Class Reference

#include <LightShaft.h>

List of all members.

Public Member Functions

 LightShaft (void)
 ~LightShaft (void)
void Initialize ()
osg::ref_ptr< osg::Camera > GetCamera ()
osg::ref_ptr< osg::Texture2D > GetLightshaft1 ()
osg::ref_ptr< osg::Texture2D > GetLightshaft2 ()

Protected Attributes

osg::ref_ptr< osg::Texture2D > fbo_lightshaft1
osg::ref_ptr< osg::Texture2D > fbo_lightshaft2
osg::ref_ptr< osg::Texture2D > fbo_lightshaft_d
osg::Camera * camera_lightshaft

Detailed Description

Class, which creates light shafts (Bruneton approach)


Constructor & Destructor Documentation

osgCloudyDay::LightShaft::LightShaft ( void  )

Constructor

osgCloudyDay::LightShaft::~LightShaft ( void  )

Deconstructor


Member Function Documentation

osg::ref_ptr< osg::Camera > osgCloudyDay::LightShaft::GetCamera ( )

Returns the camera

Returns:
camera for lightshaft calculation
osg::ref_ptr< osg::Texture2D > osgCloudyDay::LightShaft::GetLightshaft1 ( )

Returns lightshaft texture

Returns:
lightshaft1 texture
osg::ref_ptr< osg::Texture2D > osgCloudyDay::LightShaft::GetLightshaft2 ( )

Returns lightshaft texture

Returns:
lightshaft2 texture
void osgCloudyDay::LightShaft::Initialize ( )

Initialize method


The documentation for this class was generated from the following files: