diff options
author | RealBadAngel <maciej.kasatkin@yahoo.com> | 2014-04-18 12:47:25 +0200 |
---|---|---|
committer | RealBadAngel <maciej.kasatkin@yahoo.com> | 2014-04-21 22:00:16 +0200 |
commit | f20267862f075cf9cb7a05df3d173499088dca90 (patch) | |
tree | 1e7a04f42ecda2b1902a455dd1e51c4cd9a26954 /src/sky.h | |
parent | da3c5c743fbc850f71a3387f9b67b936de239850 (diff) | |
download | minetest-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.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |