mirror of
https://github.com/minetest/minetest.git
synced 2024-12-25 23:47:29 +01:00
Increase star count to 1000 and decrease radius slightly (#9307)
* Increase star count to 1000 and decrease radius slightly. * Adjust star width.
This commit is contained in:
parent
c396800629
commit
cea4fd2b27
@ -269,7 +269,7 @@ void Sky::render()
|
|||||||
(0.25 - fabs(wicked_time_of_day < 0.5 ?
|
(0.25 - fabs(wicked_time_of_day < 0.5 ?
|
||||||
wicked_time_of_day : (1.0 - wicked_time_of_day))) * 20));
|
wicked_time_of_day : (1.0 - wicked_time_of_day))) * 20));
|
||||||
float f = starbrightness;
|
float f = starbrightness;
|
||||||
float d = 0.007 / 2;
|
float d = 0.006f / 2.0f;
|
||||||
video::SColor starcolor(255, f * 90, f * 90, f * 90);
|
video::SColor starcolor(255, f * 90, f * 90, f * 90);
|
||||||
// Stars are only drawn when brighter than skycolor
|
// Stars are only drawn when brighter than skycolor
|
||||||
if (starcolor.getBlue() < m_skycolor.getBlue())
|
if (starcolor.getBlue() < m_skycolor.getBlue())
|
||||||
|
@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define SKY_MATERIAL_COUNT 5
|
#define SKY_MATERIAL_COUNT 5
|
||||||
#define SKY_STAR_COUNT 200
|
#define SKY_STAR_COUNT 1000
|
||||||
|
|
||||||
class ITextureSource;
|
class ITextureSource;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user