mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-22 00:37:35 +08:00
fix skylight in water under caves, fix tiny bloomy fog issue
This commit is contained in:
@ -243,7 +243,7 @@ void main() {
|
||||
#endif
|
||||
|
||||
vec4 vl = BilateralUpscale(colortex0, depthtex1, gl_FragCoord.xy, frDepth, vec2(0.0));
|
||||
color *= vl.a;
|
||||
|
||||
|
||||
if (TranslucentShader.a > 0.0){
|
||||
#ifdef Glass_Tint
|
||||
@ -257,6 +257,7 @@ void main() {
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
//cave fog
|
||||
#ifdef Cave_fog
|
||||
if (isEyeInWater == 0){
|
||||
@ -274,6 +275,7 @@ void main() {
|
||||
vl.a *= fogfade*0.7+0.3 ;
|
||||
}
|
||||
|
||||
color *= vl.a;
|
||||
color += vl.rgb;
|
||||
|
||||
// bloomy rain effect
|
||||
|
Reference in New Issue
Block a user