Skip to content

Commit

Permalink
Increase star count to 1000 and decrease radius slightly (#9307)
Browse files Browse the repository at this point in the history
* Increase star count to 1000 and decrease radius slightly.
* Adjust star width.
  • Loading branch information
lhofhansl authored and SmallJoker committed Jan 16, 2020
1 parent c396800 commit cea4fd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client/sky.cpp
Expand Up @@ -269,7 +269,7 @@ void Sky::render()
(0.25 - fabs(wicked_time_of_day < 0.5 ?
wicked_time_of_day : (1.0 - wicked_time_of_day))) * 20));
float f = starbrightness;
float d = 0.007 / 2;
float d = 0.006f / 2.0f;
video::SColor starcolor(255, f * 90, f * 90, f * 90);
// Stars are only drawn when brighter than skycolor
if (starcolor.getBlue() < m_skycolor.getBlue())
Expand Down
2 changes: 1 addition & 1 deletion src/client/sky.h
Expand Up @@ -25,7 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#pragma once

#define SKY_MATERIAL_COUNT 5
#define SKY_STAR_COUNT 200
#define SKY_STAR_COUNT 1000

class ITextureSource;

Expand Down

0 comments on commit cea4fd2

Please sign in to comment.