mapspinner 0.1.28 → 0.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/shaders/terrain.glsl +1 -1
package/package.json
CHANGED
package/src/shaders/terrain.glsl
CHANGED
|
@@ -1871,7 +1871,7 @@ void main() {
|
|
|
1871
1871
|
// no extra sampling, seam-safe, zero FPS cost vs the old single-term version.
|
|
1872
1872
|
float aoAmt = (uAoAmt > 0.0 ? uAoAmt : 1.0);
|
|
1873
1873
|
float gorgeAO = 0.0; // canyon AO decoupled (user 2026-06-10: canyons impose ELEVATION only, no material/AO keying)
|
|
1874
|
-
float slopeAO = smoothstep(0.
|
|
1874
|
+
float slopeAO = smoothstep(0.05, 0.55, slope) * 0.35; // gentle-slope AO reveals midday relief (0.20->0.90 from 0.45->0.95, peak 0.35)
|
|
1875
1875
|
float cliffAO = 1.0 - min(gorgeAO + slopeAO, 0.75) * aoAmt; // cap so faces never go black
|
|
1876
1876
|
// STRONGER NORMAL-DRIVEN SHADING (user 2026-06-03: 'normals arent affecting the lit view properly').
|
|
1877
1877
|
// The lit relief was too subtle (witnessed litON SD 6.4 vs flat 5.9 = only ~8% contrast) because
|