From dd24db51250fdb6b6c3aa9b128c0ba88aa76a2c0 Mon Sep 17 00:00:00 2001 From: Sasha Date: Thu, 29 Jun 2023 05:13:34 +0100 Subject: [PATCH] bigger brain end fog fix --- shaders/lib/end_fog.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shaders/lib/end_fog.glsl b/shaders/lib/end_fog.glsl index 5fa96f5..6fb0375 100644 --- a/shaders/lib/end_fog.glsl +++ b/shaders/lib/end_fog.glsl @@ -85,7 +85,7 @@ vec3 LightSourcePosition(vec3 WorldPos, vec3 CameraPos){ Origin = WorldPos - CameraPos ; #ifdef THE_ORB - if(ManualLightPos.x == 0.0 && ManualLightPos.y == 0.0 && ManualLightPos.z == 0.0){ + if(ManualLightPos == vec3(0.0)){ #endif float nosie = (densityAtPosFog(Origin / 30 + sin(frameTimeCounter/5)*100)-0.15) * 15 ;