diff --git a/shaders/dimensions/deferred.vsh b/shaders/dimensions/deferred.vsh index 40814d0..02bf6ec 100644 --- a/shaders/dimensions/deferred.vsh +++ b/shaders/dimensions/deferred.vsh @@ -146,8 +146,8 @@ void main() { } // maximum control of color and luminance - // vec3 minimumlight = vec3(0.5,0.75,1.0) * (MIN_LIGHT_AMOUNT*0.001 + nightVision); - vec3 minimumlight = vec3(0.5,0.75,1.0) * nightVision; + vec3 minimumlight = vec3(0.5,0.75,1.0) * (min(MIN_LIGHT_AMOUNT,0.0025) + nightVision); + // vec3 minimumlight = vec3(0.5,0.75,1.0) * nightVision; averageSkyCol_Clouds = max( normalize(averageSkyCol_Clouds) * min(luma(averageSkyCol_Clouds) * 3.0,2.5) * (1.0-rainStrength*0.7), minimumlight); averageSkyCol = max(averageSkyCol * PLANET_GROUND_BRIGHTNESS, minimumlight); diff --git a/shaders/lib/settings.glsl b/shaders/lib/settings.glsl index 774654a..f20d233 100644 --- a/shaders/lib/settings.glsl +++ b/shaders/lib/settings.glsl @@ -1,4 +1,4 @@ -#define SHADER_VERSION_LABEL 480 // [480] +#define SHADER_VERSION_LABEL 481 // [481] #define saturate(x) clamp(x,0.0,1.0)