Fix cave fog

This commit is contained in:
Xonk 2024-05-04 22:25:56 -04:00
parent 00b62d436f
commit 742e79bae1

View File

@ -366,7 +366,7 @@ void main() {
BiomeFogColor(cavefogCol); BiomeFogColor(cavefogCol);
#endif #endif
color.rgb = mix(color.rgb, cavefogCol, cavefog * lightleakfix); color.rgb = mix(color.rgb, cavefogCol, cavefog * (1.0-lightleakfix));
} }
#endif #endif