diff --git a/config.js b/config.js index 2c14302..1c95064 100644 --- a/config.js +++ b/config.js @@ -152,7 +152,7 @@ window.CONFIG = { // only ever reports sunny/cloudy/stormy, so the deck keeps that // coverage through the night as well - 'night' is used by the weather // simulation (weatherSim: true) alone. - density: { sunny: 0.12, cloudy: 0.60, stormy: 0.95, night: 0.35 } + density: { sunny: 0.30, cloudy: 0.70, stormy: 1.00, night: 0.45 } // density: { sunny: 0.05, cloudy: 0.9, stormy: 1.0, night: 0.2 } }, diff --git a/vendor/clouds3d.js b/vendor/clouds3d.js index b1cf67e..76a6f4f 100644 --- a/vendor/clouds3d.js +++ b/vendor/clouds3d.js @@ -685,8 +685,8 @@ var FRAG_SRC = [ 'float stepSize = (tExit - tEnter) / 24.0;', 'float t = tEnter + stepSize * 0.5;', 'float coverage = clamp(uDensity, 0.0, 1.0);', - 'float baseThresh = mix(0.72, 0.22, coverage);', - 'float densityGain = mix(0.25, 1.0, coverage);', + 'float baseThresh = mix(0.62, 0.20, coverage);', + 'float densityGain = mix(0.45, 1.0, coverage);', 'float sunUp = smoothstep(-0.20, 0.05, uSunAlt);', 'float cosT = dot(rd, uSunDir);', 'float phase = 0.30 + 0.70 * pow(max(0.0, cosT), 2.5);',