SL-9806
Remove blend effect when sun disc nears horizon (was letting the stars show through).meow-7.2.2
parent
5158ffa5ce
commit
8b0e2e4c82
|
|
@ -52,7 +52,7 @@ void main()
|
|||
c.rgb = fullbrightAtmosTransport(c.rgb);
|
||||
c.rgb = fullbrightScaleSoftClip(c.rgb);
|
||||
|
||||
c.a *= sun_fade;
|
||||
//c.a *= sun_fade;
|
||||
|
||||
frag_data[0] = c;
|
||||
frag_data[1] = vec4(0.0f);
|
||||
|
|
|
|||
|
|
@ -47,7 +47,9 @@ void main()
|
|||
vec4 sunA = texture2D(diffuseMap, vary_texcoord0.xy);
|
||||
vec4 sunB = texture2D(altDiffuseMap, vary_texcoord0.xy);
|
||||
vec4 c = mix(sunA, sunB, blend_factor);
|
||||
c.a *= sun_fade;
|
||||
|
||||
// SL-9806
|
||||
// c.a *= sun_fade;
|
||||
|
||||
c.rgb = pow(c.rgb, vec3(0.7f));
|
||||
c.rgb = fullbrightAtmosTransport(c.rgb);
|
||||
|
|
|
|||
Loading…
Reference in New Issue