#include <Rain.h>
Public Member Functions | |
| Rain (void) | |
| ~Rain (void) | |
| void | Initialize () |
| osg::ref_ptr< osg::Geode > | GetGeode () |
Static Public Member Functions | |
| static void | CreateShader () |
| static void | CreateTexture () |
Protected Member Functions | |
| float | frand () |
Static Protected Attributes | |
| static osg::ref_ptr< osg::Program > | m_rain_shader |
|
static osg::ref_ptr < osg::Texture3D > | m_rain_texture |
Class to create a rain effect
| osgCloudyDay::Rain::Rain | ( | void | ) |
Constructor
| osgCloudyDay::Rain::~Rain | ( | void | ) |
Deconstructor
|
static |
Creates the shader
|
static |
Creates the texture
| osg::ref_ptr< osg::Geode > osgCloudyDay::Rain::GetGeode | ( | ) |
Returns the geode
| void osgCloudyDay::Rain::Initialize | ( | ) |
Initialize the rain effect
1.8.1.1