VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
LightMapTerrainEffect.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright(c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 #ifndef OSGEARTH_LIGHTMAP_TERRAIN_EFFECT_H
10 #define OSGEARTH_LIGHTMAP_TERRAIN_EFFECT_H
11 
12 #include <osgEarth/TerrainEffect>
13 #include <osgEarth/ImageLayer>
14 #include <osg/Image>
15 #include <osg/Uniform>
16 #include <osg/Texture2D>
17 
18 using namespace osgEarth;
19 
20 
21 namespace osgEarth
22 {
23  namespace LightMap
24  {
29  {
30  public:
32  LightMapTerrainEffect(const osgDB::Options* dbOptions);
33 
34  public: // TerrainEffect interface
35 
36  void onInstall(TerrainEngineNode* engine);
37 
38  void onUninstall(TerrainEngineNode* engine);
39 
40  protected:
41  virtual ~LightMapTerrainEffect() { }
42 
43  protected:
44  std::string myFragmentName;
45  };
46 
47  } // namespace osgEarth:LightMap
48 }
49 
50 #endif // OSGEARTH_LIGHTMAP_TERRAIN_EFFECT_H

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)