re-implement "render fog with clouds" option.

This commit is contained in:
Xonk
2023-12-26 19:57:30 -05:00
parent 993c57a34a
commit 2d64880893
10 changed files with 203 additions and 170 deletions

View File

@ -250,7 +250,7 @@ void main() {
if (isEyeInWater == 0){
#ifdef OVERWORLD_SHADER
vec4 VolumetricFog = GetVolumetricFog(viewPos, noise_1, lightCol.rgb/80.0, averageSkyCol/30.0);
vec4 VolumetricFog = GetVolumetricFog(viewPos, vec2(noise_1,noise_2), lightCol.rgb/80.0, averageSkyCol/30.0);
#endif
#if defined NETHER_SHADER || defined END_SHADER