fix a stinky in the end fog, make a temporary work around for clouds making stars vanish at high y coords

This commit is contained in:
Xonk
2023-06-29 00:10:03 -04:00
parent 7d141bb9a6
commit dab7d25472
4 changed files with 4 additions and 5 deletions

View File

@ -882,7 +882,7 @@ void main() {
vec4 cloud = texture2D_bicubic(colortex0,texcoord*CLOUDS_QUALITY);
background = background*cloud.a + cloud.rgb;
if(eyeAltitude < 25000) background = background*cloud.a + cloud.rgb;
gl_FragData[0].rgb = clamp(fp10Dither(background ,triangularize(noise)),0.0,65000.);
#endif