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);
|
||||
|
@ -146,7 +146,7 @@ float invLinZ (float lindepth){
|
||||
}
|
||||
#ifdef OVERWORLD_SHADER
|
||||
|
||||
uniform sampler2D colortex4;
|
||||
// uniform sampler2D colortex4;
|
||||
// uniform sampler2D colortex12;
|
||||
// const bool shadowHardwareFiltering = true;
|
||||
uniform sampler2DShadow shadow;
|
||||
|
Reference in New Issue
Block a user