aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/skybox1.pngbin0 -> 236 bytes
-rw-r--r--data/skybox2.pngbin0 -> 231 bytes
-rw-r--r--data/skybox3.pngbin0 -> 190 bytes
-rw-r--r--src/game.cpp18
4 files changed, 10 insertions, 8 deletions
diff --git a/data/skybox1.png b/data/skybox1.png
new file mode 100644
index 000000000..9801d5f4f
--- /dev/null
+++ b/data/skybox1.png
Binary files differ
diff --git a/data/skybox2.png b/data/skybox2.png
new file mode 100644
index 000000000..a8c94b4d2
--- /dev/null
+++ b/data/skybox2.png
Binary files differ
diff --git a/data/skybox3.png b/data/skybox3.png
new file mode 100644
index 000000000..2776ec712
--- /dev/null
+++ b/data/skybox3.png
Binary files differ
diff --git a/src/game.cpp b/src/game.cpp
index 6f0760ee9..21d960db0 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -605,10 +605,9 @@ void the_game(
// The color of the sky
- //video::SColor skycolor = video::SColor(255,90,140,200);
- //video::SColor skycolor = video::SColor(255,166,202,244);
- //video::SColor skycolor = video::SColor(255,120,185,244);
- video::SColor skycolor = video::SColor(255,140,186,250);
+ //video::SColor skycolor = video::SColor(255,140,186,250);
+
+ video::SColor bgcolor_bright = video::SColor(255,170,200,230);
/*
Draw "Loading" screen
@@ -719,14 +718,14 @@ void the_game(
/*
Create skybox
*/
- /*scene::ISceneNode* skybox;
+ scene::ISceneNode* skybox;
skybox = smgr->addSkyBoxSceneNode(
driver->getTexture(porting::getDataPath("skybox2.png").c_str()),
driver->getTexture(porting::getDataPath("skybox3.png").c_str()),
driver->getTexture(porting::getDataPath("skybox1.png").c_str()),
driver->getTexture(porting::getDataPath("skybox1.png").c_str()),
driver->getTexture(porting::getDataPath("skybox1.png").c_str()),
- driver->getTexture(porting::getDataPath("skybox1.png").c_str()));*/
+ driver->getTexture(porting::getDataPath("skybox1.png").c_str()));
/*
Create the camera node
@@ -1676,9 +1675,12 @@ void the_game(
u8 l = decode_light((daynight_ratio * LIGHT_SUN) / 1000);
video::SColor bgcolor = video::SColor(
255,
- skycolor.getRed() * l / 255,
+ bgcolor_bright.getRed() * l / 255,
+ bgcolor_bright.getGreen() * l / 255,
+ bgcolor_bright.getBlue() * l / 255);
+ /*skycolor.getRed() * l / 255,
skycolor.getGreen() * l / 255,
- skycolor.getBlue() * l / 255);
+ skycolor.getBlue() * l / 255);*/
/*
Update coulds