@expofp/renderer 3.44.7 → 3.44.8

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.
@@ -349,15 +349,14 @@ function litWallPeak(directionalIntensity, pitchRadians, sky, ground, directiona
349
349
  /**
350
350
  * The rig this design agreed, and what each mount starts from.
351
351
  *
352
- * `contrast` is `0.7`, measured at the default `60°` pitch with these colors: the roof lands on
353
- * `1.00`, the lit wall on `0.92`, the wall facing away on `0.66`, the underside on `0.49`. At
354
- * `contrast = 1` the roof and the lit wall both sit on `1.00`, and the separation section 03 of the
355
- * design target asks for disappears.
352
+ * At any `contrast` the roof lands on `1.00`. At `contrast = 1` the lit wall reaches `1.00` as well,
353
+ * and the separation section 03 of the design target asks for disappears, so the default stays well
354
+ * under it.
356
355
  */
357
356
  const LIGHT_DEFAULTS = {
358
357
  trackPitch: false,
359
- pitchDegrees: 60,
360
- contrast: 0.7,
358
+ pitchDegrees: 38,
359
+ contrast: 0.3,
361
360
  skyColor: '#ffffff',
362
361
  groundColor: '#b9c1cc',
363
362
  directionalColor: '#fff3e6',
@@ -103,7 +103,7 @@ export declare const OCCLUSION_DEFAULTS: {
103
103
  * How far the term looks for an occluder, in plan units.
104
104
  *
105
105
  * Chosen against the story plans, whose booths run about a hundred plan units across. That makes
106
- * a band about a tenth of a booth wide, where a junction's shadow reads as shading rather than as
106
+ * a band under a tenth of a booth wide, where a junction's shadow reads as shading rather than as
107
107
  * an outline.
108
108
  */
109
109
  radius: number;
@@ -47,12 +47,12 @@ export const OCCLUSION_DEFAULTS = {
47
47
  * How far the term looks for an occluder, in plan units.
48
48
  *
49
49
  * Chosen against the story plans, whose booths run about a hundred plan units across. That makes
50
- * a band about a tenth of a booth wide, where a junction's shadow reads as shading rather than as
50
+ * a band under a tenth of a booth wide, where a junction's shadow reads as shading rather than as
51
51
  * an outline.
52
52
  */
53
- radius: 12,
53
+ radius: 8,
54
54
  /** How far the read blends an occluded fragment toward the shadow color, from `0` to `1`. */
55
- strength: 0.5,
55
+ strength: 0.35,
56
56
  /**
57
57
  * The blur kernel's side length in texels. It starts at the side that covers the rotation tile,
58
58
  * see {@link AmbientOcclusion.aoBlur}.
@@ -75,9 +75,9 @@ export function createContactShadow() {
75
75
  */
76
76
  export const CONTACT_SHADOW_DEFAULTS = {
77
77
  /** How far above a volume's base the shadow reaches, in plan units. */
78
- distance: 3,
78
+ distance: 1.5,
79
79
  /** How far the base is blended toward the shadow color, from `0` to `1`. */
80
- strength: 0.35,
80
+ strength: 0.2,
81
81
  /** The shade the shadow blends toward. */
82
82
  color: '#4a5260',
83
83
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/renderer",
3
- "version": "3.44.7",
3
+ "version": "3.44.8",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/expofp/efp-app.git",
@@ -42,7 +42,7 @@
42
42
  "troika-three-text": "^0.52.5",
43
43
  "tslib": "^2.3.0",
44
44
  "webgl-memory": "^1.1.3",
45
- "@expofp/geometry": "3.44.7"
45
+ "@expofp/geometry": "3.44.8"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@react-three/test-renderer": "^9.1.0",