CloudyDay
 All Classes Functions Variables Enumerations
TerrainHimmel.h
1 #pragma once
2 #include "terrain.h"
3 
4 namespace osgCloudyDay
5 {
10  {
11  public:
17  TerrainHimmel(TerrainConfig* config, bool use_tesselation_shader);
21  ~TerrainHimmel(void);
22 
26  virtual void Initialize();
27 
32  osg::ref_ptr<osg::Texture2D> GetLightshaft1();
37  osg::ref_ptr<osg::Texture2D> GetLightshaft2();
38 
43  void SetLightshaft1(osg::ref_ptr<osg::Texture2D> tex);
48  void SetLightshaft2(osg::ref_ptr<osg::Texture2D> tex);
49 
50  protected:
51  osg::ref_ptr<osg::Texture2D> fbo_lightshaft1;
52  osg::ref_ptr<osg::Texture2D> fbo_lightshaft2;
53  };
54 }