mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Textureable sun and moon.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user