@expofp/renderer 3.44.6 → 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`
|
|
353
|
-
*
|
|
354
|
-
*
|
|
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:
|
|
360
|
-
contrast: 0.
|
|
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
|
|
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
|
|
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:
|
|
53
|
+
radius: 8,
|
|
54
54
|
/** How far the read blends an occluded fragment toward the shadow color, from `0` to `1`. */
|
|
55
|
-
strength: 0.
|
|
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:
|
|
78
|
+
distance: 1.5,
|
|
79
79
|
/** How far the base is blended toward the shadow color, from `0` to `1`. */
|
|
80
|
-
strength: 0.
|
|
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.
|
|
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.
|
|
45
|
+
"@expofp/geometry": "3.44.8"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@react-three/test-renderer": "^9.1.0",
|