ugly-game 0.14.32 → 0.14.33
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/dist/assets/gpuCrowd.js +4 -1
- package/package.json +1 -1
package/dist/assets/gpuCrowd.js
CHANGED
|
@@ -920,7 +920,10 @@ const DETAIL_STRENGTH: f32 = 0.35;
|
|
|
920
920
|
const ENV_SKY: f32 = 1.7;
|
|
921
921
|
// And how much DARKER the faked ground is. Both ends are forced apart on purpose — see the note in fs
|
|
922
922
|
// about an overcast scene where the ambient and the fog tint are the same colour.
|
|
923
|
-
|
|
923
|
+
// ⚠️ 0.55, not 0.3. STAINLESS is not a dark metal — it sits around the middle of the range and gets
|
|
924
|
+
// its drama from what it reflects, not from going near-black where it faces away from the sky. At 0.3
|
|
925
|
+
// the shadowed sides crushed almost to black, which reads as gunmetal or cast iron.
|
|
926
|
+
const ENV_GROUND: f32 = 0.55;
|
|
924
927
|
// ⚠️ A DELIBERATE MIP BIAS on the material texture only, and it is what lets a dense pattern actually
|
|
925
928
|
// be seen. The gradient handed to textureSampleGrad is what picks the mip, so shrinking it selects a
|
|
926
929
|
// SHARPER level than the footprint strictly warrants. Without it the grain hit a hard ceiling: 32
|