add "atmosphere ground" setting. this is to make the dark bottom of the sky optional.

This commit is contained in:
Xonk
2024-01-10 19:47:27 -05:00
parent f9024fb91b
commit 4ad17fc9aa
7 changed files with 33 additions and 23 deletions

View File

@ -277,7 +277,6 @@ if (gl_FragCoord.x > 18.+257. && gl_FragCoord.y > 1. && gl_FragCoord.x < 18+257+
vec3 temp = texelFetch2D(colortex4,ivec2(gl_FragCoord.xy),0).rgb;
vec3 curr = gl_FragData[0].rgb*150.;
gl_FragData[0].rgb = clamp(mix(temp, curr, mixhistory),0.0,65000.);