aboutsummaryrefslogtreecommitdiff
path: root/src/sky.h
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@yahoo.com>2014-04-18 12:47:25 +0200
committerRealBadAngel <maciej.kasatkin@yahoo.com>2014-04-21 22:00:16 +0200
commitf20267862f075cf9cb7a05df3d173499088dca90 (patch)
tree1e7a04f42ecda2b1902a455dd1e51c4cd9a26954 /src/sky.h
parentda3c5c743fbc850f71a3387f9b67b936de239850 (diff)
downloadminetest-f20267862f075cf9cb7a05df3d173499088dca90.tar.gz
minetest-f20267862f075cf9cb7a05df3d173499088dca90.tar.bz2
minetest-f20267862f075cf9cb7a05df3d173499088dca90.zip
Textureable sun and moon.
Diffstat (limited to 'src/sky.h')
-rw-r--r--src/sky.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sky.h b/src/sky.h
index c906bd324..aaa2faf57 100644
--- a/src/sky.h
+++ b/src/sky.h
@@ -24,7 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#ifndef SKY_HEADER
#define SKY_HEADER
-#define SKY_MATERIAL_COUNT 3
+#define SKY_MATERIAL_COUNT 5
#define SKY_STAR_COUNT 200
// Skybox, rendered with zbuffer turned off, before all other nodes.
@@ -127,6 +127,10 @@ private:
v3f m_stars[SKY_STAR_COUNT];
video::S3DVertex m_star_vertices[SKY_STAR_COUNT*4];
LocalPlayer* m_player;
+ video::ITexture* m_sun_texture;
+ video::ITexture* m_moon_texture;
+ video::ITexture* m_sun_tonemap;
+ video::ITexture* m_moon_tonemap;
};
#endif