mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-24 09:37:00 +08:00
make VL fog exist when clouds are turned off
This commit is contained in:
@ -211,7 +211,7 @@ void main() {
|
||||
|
||||
|
||||
vec3 fragpos = toScreenSpace(vec3(tc/RENDER_SCALE,z));
|
||||
|
||||
|
||||
#ifdef Cloud_Fog
|
||||
vec4 VL_CLOUDFOG = InsideACloudFog(fragpos, vec2(R2_dither(),blueNoise()), lightCol.rgb/80., moonColor/150., (avgAmbient*2.0) * 8./150./3.);
|
||||
gl_FragData[0] = clamp(VL_CLOUDFOG,0.0,65000.);
|
||||
@ -220,6 +220,7 @@ void main() {
|
||||
gl_FragData[0] = clamp(VL_Fog,0.0,65000.);
|
||||
#endif
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
float dirtAmount = Dirt_Amount;
|
||||
|
Reference in New Issue
Block a user