LIGHTNIGN, FLASHES TOO.. max cloudy fog height,

This commit is contained in:
Xonk
2023-06-22 21:00:42 -04:00
parent 90c92973b7
commit 84a3d8148e
10 changed files with 99 additions and 43 deletions

View File

@ -272,7 +272,7 @@ void main() {
if (isEyeInWater == 1){
float fogfade = clamp( exp(length(p3) / -10) ,0.0,1.0);
color.rgb = color.rgb * fogfade ;
vl.a *= fogfade*0.7+0.3 ;
vl.a *= fogfade ;
}
color *= vl.a;