cave fog changes color in some places, biome fog tweaks

This commit is contained in:
Xonk
2023-06-28 20:05:44 -04:00
parent 3b2f038acb
commit 158002d259
9 changed files with 42 additions and 26 deletions

View File

@ -31,6 +31,7 @@ uniform mat4 gbufferModelViewInverse;
// #include "lib/biome_specifics.glsl"
// uniform float sandStorm;
float luma(vec3 color) {
return dot(color,vec3(0.21, 0.72, 0.07));
}
@ -67,6 +68,8 @@ void main() {
lightCol.a = float(sunElevation > 1e-5)*2-1.;
lightCol.rgb = sc;
// lightCol.rgb = mix(lightCol.rgb, luma(lightCol.rgb) * vec3(1.0, 0.01, 0.1) , sandStorm);
// #ifdef VOLUMETRIC_CLOUDS
// #ifndef VL_Clouds_Shadows
// lightCol.rgb *= (1.0-rainStrength*0.9);