diff --git a/voxygen/shaders/terrain.frag b/voxygen/shaders/terrain.frag index 03981a2cb3..75bc338d6f 100644 --- a/voxygen/shaders/terrain.frag +++ b/voxygen/shaders/terrain.frag @@ -30,7 +30,7 @@ void main() { f_norm = vec3(0.0, 0.0, 1.0) * norm_dir; } - vec3 light = (get_sun_diffuse(f_norm, time_of_day.x) + light_at(f_pos, f_norm)) * f_light; + vec3 light = get_sun_diffuse(f_norm, time_of_day.x) * f_light + light_at(f_pos, f_norm); vec3 surf_color = f_col * light; float fog_level = fog(f_pos.xy, focus_pos.xy);