fix SSGI/RTAO in nether. fix LPV fog brightness slider not working right. add color picker for the selection box outline

This commit is contained in:
Xonk
2024-06-21 14:20:25 -04:00
parent 60e807cfce
commit 52b5e13155
6 changed files with 28 additions and 10 deletions

View File

@ -114,7 +114,7 @@ float linearizeDepthFast(const in float depth, const in float near, const in flo
vec3 LpvTorchLight = GetLpvBlockLight(lpvSample);
vec3 lighting = LpvTorchLight;
float density = exp(-5.0 * clamp( 1.0 - length(lpvSample.xyz) / 16.0,0.0,1.0)) * (LPV_VL_FOG_ILLUMINATION_BRIGHTNESS/100) * LpvFadeF;
float density = exp(-5.0 * clamp( 1.0 - length(lpvSample.xyz) / 16.0,0.0,1.0)) * (LPV_VL_FOG_ILLUMINATION_BRIGHTNESS/100.0) * LpvFadeF;
color = lighting - lighting * exp(-density*dd*dL);
}