Revision 2954,
433 bytes
checked in by mattausch, 16 years ago
(diff) |
implemented sun color
|
Line | |
---|
1 | #ifndef _SKYPREETHAM_H__
|
---|
2 | #define _SKYPREETHAM_H__
|
---|
3 |
|
---|
4 | class SkyPreetham: public Entity
|
---|
5 | {
|
---|
6 | public:
|
---|
7 | // Constructor and destructor.
|
---|
8 | SkyPreetham(float turbitity);
|
---|
9 | virtual ~SkyPreetham();
|
---|
10 |
|
---|
11 | protected:
|
---|
12 |
|
---|
13 | void renderSunDisk();
|
---|
14 | void createSunQuad();
|
---|
15 |
|
---|
16 |
|
---|
17 | /// Members.
|
---|
18 | FEffect* mEffect;
|
---|
19 |
|
---|
20 | FEffect* mSunEffect;
|
---|
21 | FTexture2D* mSunTexture;
|
---|
22 | FVertexBuffer* mSunQuad;
|
---|
23 |
|
---|
24 | float mTurbidity;
|
---|
25 | };
|
---|
26 |
|
---|
27 | #endif //_SKYPREETHAM_H__
|
---|
28 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.