# | Line 20 | Line 20 | skybright = wmean((Dz+1.01)^10, if(A1, cloudysky, sunn | |
---|---|---|
20 | ||
21 | wmean(a, x, b, y) = (a*x + b*y) / (a + b); | |
22 | ||
23 | < | cloudysky = A2 * if(A1-1, 1, (1 + 2*Dz)/3); |
23 | > | cloudysky = A2 * if(A1-1.5, 1, (1 + 2*Dz)/3); |
24 | ||
25 | sunnysky = A2 * (.91 + 10*exp(-3*gamma) + .45*cosgamma*cosgamma) | |
26 | * if( Dz - .01, 1.0 - exp(-.32/Dz), 1.0) / A4; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |