From 966a61ad4216bb470668924591c448893ed30259 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Mon, 27 Jan 2020 01:03:55 +0000 Subject: [PATCH] Stopped stars popping into existence --- assets/voxygen/shaders/include/sky.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/voxygen/shaders/include/sky.glsl b/assets/voxygen/shaders/include/sky.glsl index 447b90ef62..91d6237534 100644 --- a/assets/voxygen/shaders/include/sky.glsl +++ b/assets/voxygen/shaders/include/sky.glsl @@ -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 float star = 0.0; - if (with_stars && sun_dir.z > 0.0) { + if (with_stars) { star = is_star_at(dir); }