#include <Blur.h>
Public Member Functions | |
| Blur (int renderorder) | |
| ~Blur (void) | |
| virtual void | SetupUniform (osg::ref_ptr< osg::StateSet > states) |
| virtual void | SetupTextures (osg::ref_ptr< osg::StateSet > states) |
| virtual void | CreateCamera () |
Public Member Functions inherited from osgCloudyDay::HUD | |
| HUD (osg::ref_ptr< osg::Texture > debug_tex) | |
| HUD (void) | |
| ~HUD (void) | |
| void | CreateGeometry () |
| void | SetSceneTexture (osg::ref_ptr< osg::Texture2D > tex) |
| void | SetGodrayTexture (osg::ref_ptr< osg::Texture2D > tex) |
| void | SetCloudTexture (osg::ref_ptr< osg::Texture2D > tex) |
| osg::ref_ptr< osg::Camera > | GetCamera () |
Additional Inherited Members | |
Static Public Member Functions inherited from osgCloudyDay::HUD | |
| static void | Initialize () |
Protected Attributes inherited from osgCloudyDay::HUD | |
| osg::ref_ptr< osg::Texture2D > | m_scenetex |
| osg::ref_ptr< osg::Texture2D > | m_goodraytex |
| osg::ref_ptr< osg::Texture2D > | m_cloudtex |
| osg::ref_ptr< osg::Program > | sh_blur_linear |
| osg::ref_ptr< osg::Uniform > | uniform_blur_texsize |
| osg::ref_ptr< osg::Uniform > | uniform_avg_texsize |
| osg::ref_ptr< osg::Program > | sh_lum |
| osg::ref_ptr< osg::Camera > | cam_hud |
| osg::ref_ptr< osg::StateSet > | nodessP |
| osg::ref_ptr< osg::Program > | planeProg |
| osg::ref_ptr< osg::Geode > | plane |
| int | renderorder |
| osg::ref_ptr< osg::Texture > | m_debug_tex |
Static Protected Attributes inherited from osgCloudyDay::HUD | |
|
static osg::ref_ptr < osg::Texture2D > | fbo_lum0_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_lum1_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_lum2_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_lum3_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_lum4_texture = 0 |
| static osg::FrameBufferObject * | fbo_Lum0 = 0 |
| static osg::FrameBufferObject * | fbo_Lum1 = 0 |
| static osg::FrameBufferObject * | fbo_Lum2 = 0 |
| static osg::FrameBufferObject * | fbo_Lum3 = 0 |
| static osg::FrameBufferObject * | fbo_Lum4 = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_blurV1_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_blurV2_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_blurV3_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_blurV4_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_blurH1_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_blurH2_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_blurH3_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_blurH4_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_star1_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_star2_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_star3_texture = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_star4_texture = 0 |
| static osg::FrameBufferObject * | fbo_V1_blur = 0 |
| static osg::FrameBufferObject * | fbo_H1_blur = 0 |
| static osg::FrameBufferObject * | fbo_V2_blur = 0 |
| static osg::FrameBufferObject * | fbo_H2_blur = 0 |
| static osg::FrameBufferObject * | fbo_V3_blur = 0 |
| static osg::FrameBufferObject * | fbo_H3_blur = 0 |
| static osg::FrameBufferObject * | fbo_V4_blur = 0 |
| static osg::FrameBufferObject * | fbo_H4_blur = 0 |
|
static osg::ref_ptr < osg::Texture2D > | fbo_glare_texture |
Blur class for glare effect. This class has to create 2 times. First, for horicontal blur, than for vertical blur.
| osgCloudyDay::Blur::Blur | ( | int | renderorder | ) |
Constructor
| renderorder | Render order of the camera. |
| osgCloudyDay::Blur::~Blur | ( | void | ) |
Deconstructor
|
virtual |
Method to create the camera
Reimplemented from osgCloudyDay::HUD.
|
virtual |
Method to set the textures of the geode
| states | States of the geode |
Reimplemented from osgCloudyDay::HUD.
|
virtual |
Method to set the uniforms of the geode
| states | States of the geode |
Reimplemented from osgCloudyDay::HUD.
1.8.1.1