source: GTP/trunk/App/Demos/Vis/FriendlyCulling/src/SkyPreetham.h @ 2955

Revision 2955, 527 bytes checked in by mattausch, 16 years ago (diff)
Line 
1#ifndef _SKYPREETHAM_H__
2#define _SKYPREETHAM_H__
3
4
5namespace CHCDemoEngine{
6class Vector3;
7}
8
9class SkyPreetham
10{
11public:
12        // Constructor and destructor.
13        SkyPreetham(float turbitity);
14        virtual ~SkyPreetham();
15
16        void Compute(const CHCDemoEngine::Vector3 &sunDir);
17
18protected:
19
20        void RenderSunDisk();
21        void CreateSunQuad();
22
23
24        /// Members.
25/*      FEffect*                mEffect;
26
27        FEffect*                mSunEffect;
28        FTexture2D*             mSunTexture;
29        FVertexBuffer*  mSunQuad;
30*/
31        float mTurbidity;
32};
33
34#endif //_SKYPREETHAM_H__
35
Note: See TracBrowser for help on using the repository browser.