mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-27 02:32:39 +08:00
add distance haze to cloud planes. fix weird stuff when atmosphere ground setting is turned off.
This commit is contained in:
@ -489,7 +489,7 @@ void main() {
|
||||
#ifdef SKY_GROUND
|
||||
vec3 borderFogColor = skyGroundColor;
|
||||
#else
|
||||
vec3 borderFogColor = skyFromTex(playerPos_normalized, colortex4)/30.0;
|
||||
vec3 borderFogColor = skyFromTex(playerPos_normalized, colortex4)/1200.0 * Sky_Brightness;
|
||||
#endif
|
||||
|
||||
color.rgb = mix(color.rgb, borderFogColor, fog);
|
||||
|
Reference in New Issue
Block a user