@vitreajs/vitrea 0.9.0 → 0.11.0
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/index.d.ts
CHANGED
|
@@ -2926,6 +2926,16 @@ interface SurfaceChannels {
|
|
|
2926
2926
|
readonly glow: number;
|
|
2927
2927
|
/** Specular sweep position, 0..1 around the contour. */
|
|
2928
2928
|
readonly sweep: number;
|
|
2929
|
+
/**
|
|
2930
|
+
* The shimmer's amplitude, 0..1 — the sweep's gain rather than its position.
|
|
2931
|
+
*
|
|
2932
|
+
* The band's angular coordinate covers the whole contour, so no phase is off
|
|
2933
|
+
* the surface and the phase alone cannot mean "not shimmering"; this channel
|
|
2934
|
+
* carries that. It is 0 on a resting surface, which makes the highlight pass's
|
|
2935
|
+
* sweep term exactly zero there, and it is what a shimmer driver will output
|
|
2936
|
+
* when v1 gains one.
|
|
2937
|
+
*/
|
|
2938
|
+
readonly shimmer: number;
|
|
2929
2939
|
/** `lensStrength`, 0..1. Multiplies the resolved refraction scale. */
|
|
2930
2940
|
readonly lensStrength: number;
|
|
2931
2941
|
/** Press point in viewport CSS px. Defaults to the surface's centre. */
|
package/dist/index.js
CHANGED
|
@@ -1092,7 +1092,7 @@ function isHealthy(state) {
|
|
|
1092
1092
|
|
|
1093
1093
|
// src/renderer-seam.ts
|
|
1094
1094
|
async function loadWebGPURendererModule() {
|
|
1095
|
-
return import('./dist-
|
|
1095
|
+
return import('./dist-JWOMZCFF.js');
|
|
1096
1096
|
}
|
|
1097
1097
|
async function loadWebGPURenderer() {
|
|
1098
1098
|
const { createWebGPURenderer } = await loadWebGPURendererModule();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitreajs/vitrea",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Framework-agnostic Liquid Glass material runtime: scene model, capability resolution, material policy, accessibility policy.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://github.com/SSFSKIM/designer",
|