Stopped stars popping into existence

This commit is contained in:
Joshua Barretto 2020-01-27 01:03:55 +00:00
parent 4f0d27690c
commit 966a61ad42

View File

@ -115,7 +115,7 @@ vec3 get_sky_color(vec3 dir, float time_of_day, vec3 origin, vec3 f_pos, float q
// Add white dots for stars. Note these flicker and jump due to FXAA // Add white dots for stars. Note these flicker and jump due to FXAA
float star = 0.0; float star = 0.0;
if (with_stars && sun_dir.z > 0.0) { if (with_stars) {
star = is_star_at(dir); star = is_star_at(dir);
} }