Petits ajustements ciel et brouillard.
This commit is contained in:
parent
2c9e570537
commit
d1298cadb9
2
view.cpp
2
view.cpp
|
@ -9,7 +9,7 @@ View::View(Chose* _root)
|
||||||
fogColor[1] = 0.5;
|
fogColor[1] = 0.5;
|
||||||
fogColor[2] = 0.5;
|
fogColor[2] = 0.5;
|
||||||
fogColor[3] = 1.0;
|
fogColor[3] = 1.0;
|
||||||
density = 0.000015;
|
density = 0.00001;
|
||||||
initWindow();
|
initWindow();
|
||||||
mainLoop();
|
mainLoop();
|
||||||
}
|
}
|
||||||
|
|
2
view.hh
2
view.hh
|
@ -38,7 +38,7 @@ private :
|
||||||
public :
|
public :
|
||||||
Camera camera;
|
Camera camera;
|
||||||
static const int frontFrustum = 1;
|
static const int frontFrustum = 1;
|
||||||
static const int backFrustum = 140000; // 1km
|
static const int backFrustum = 160000; // 1km
|
||||||
private:
|
private:
|
||||||
Lod lod;
|
Lod lod;
|
||||||
GLfloat fogColor[4];
|
GLfloat fogColor[4];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user