diff --git a/data/base/shaders/skybox.vert b/data/base/shaders/skybox.vert index ff77407e2d1..8775394e5da 100644 --- a/data/base/shaders/skybox.vert +++ b/data/base/shaders/skybox.vert @@ -33,9 +33,6 @@ void main() if(fog_enabled > 0) { - fog = - vertex.y < -0.7 ? vec4(0, 0, 0, 1) : - vertex.y < 0.5 ? fog_color : - vec4(fog_color.xyz, 0); + fog = vertex.y < 0.5 ? fog_color : vec4(fog_color.xyz, 0); } } diff --git a/data/base/shaders/vk/skybox.vert b/data/base/shaders/vk/skybox.vert index 88549dde144..b2fc20772a8 100644 --- a/data/base/shaders/vk/skybox.vert +++ b/data/base/shaders/vk/skybox.vert @@ -25,9 +25,6 @@ void main() if(fog_enabled > 0) { - fog = - vertex.y < -0.7 ? vec4(0, 0, 0, 1) : - vertex.y < 0.5 ? fog_color : - vec4(fog_color.xyz, 0); + fog = vertex.y < 0.5 ? fog_color : vec4(fog_color.xyz, 0); } }