re-implement "render clouds as fog" setting. still has no curvature fix but its better than before...

This commit is contained in:
Xonk
2024-01-09 20:53:17 -05:00
parent 841ca3559f
commit 3eb81ec185
6 changed files with 140 additions and 117 deletions

View File

@ -660,7 +660,7 @@ void main() {
Background += Sky;
#ifdef VOLUMETRIC_CLOUDS
vec4 Clouds = texture2D_bicubic_offset(colortex0, texcoord*CLOUDS_QUALITY, noise_2);
vec4 Clouds = texture2D_bicubic_offset(colortex0, texcoord*CLOUDS_QUALITY, noise, RENDER_SCALE.x);
Background = Background * Clouds.a + Clouds.rgb;
#endif