mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Stopped stars appearing in the day
This commit is contained in:
parent
3de68e915a
commit
e5bcc8912e
@ -97,12 +97,12 @@ vec3 get_sky_color(vec3 dir, float time_of_day) {
|
||||
vec3 sky_top = mix(
|
||||
mix(
|
||||
SKY_DUSK_TOP,
|
||||
SKY_NIGHT_TOP,
|
||||
SKY_NIGHT_TOP + star,
|
||||
max(sun_dir.z, 0)
|
||||
),
|
||||
SKY_DAY_TOP,
|
||||
max(-sun_dir.z, 0)
|
||||
) + star;
|
||||
);
|
||||
|
||||
vec3 sky_mid = mix(
|
||||
mix(
|
||||
|
Loading…
Reference in New Issue
Block a user