vim-web 0.3.44-dev.55 → 0.3.44-dev.56
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/vim-web.js
CHANGED
|
@@ -49983,6 +49983,47 @@ class VimRequest {
|
|
|
49983
49983
|
this.end();
|
|
49984
49984
|
}
|
|
49985
49985
|
}
|
|
49986
|
+
function createTransferMaterial() {
|
|
49987
|
+
return new ShaderMaterial({
|
|
49988
|
+
uniforms: {
|
|
49989
|
+
source: { value: null }
|
|
49990
|
+
},
|
|
49991
|
+
vertexShader: `
|
|
49992
|
+
varying vec2 vUv;
|
|
49993
|
+
void main() {
|
|
49994
|
+
vUv = uv;
|
|
49995
|
+
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
|
49996
|
+
}
|
|
49997
|
+
`,
|
|
49998
|
+
fragmentShader: `
|
|
49999
|
+
uniform sampler2D source;
|
|
50000
|
+
varying vec2 vUv;
|
|
50001
|
+
|
|
50002
|
+
void main() {
|
|
50003
|
+
gl_FragColor = texture2D(source, vUv);
|
|
50004
|
+
}
|
|
50005
|
+
`
|
|
50006
|
+
});
|
|
50007
|
+
}
|
|
50008
|
+
const index$9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
50009
|
+
__proto__: null,
|
|
50010
|
+
Materials,
|
|
50011
|
+
MergeMaterial,
|
|
50012
|
+
OutlineMaterial,
|
|
50013
|
+
SkyboxMaterial,
|
|
50014
|
+
StandardMaterial,
|
|
50015
|
+
createBasicOpaque,
|
|
50016
|
+
createBasicTransparent,
|
|
50017
|
+
createGhostMaterial,
|
|
50018
|
+
createMaskMaterial,
|
|
50019
|
+
createMergeMaterial,
|
|
50020
|
+
createOpaque,
|
|
50021
|
+
createOutlineMaterial,
|
|
50022
|
+
createSimpleMaterial,
|
|
50023
|
+
createTransferMaterial,
|
|
50024
|
+
createTransparent,
|
|
50025
|
+
createWireframe
|
|
50026
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
49986
50027
|
const _Marker = class _Marker {
|
|
49987
50028
|
/**
|
|
49988
50029
|
* Constructs a new Marker object.
|
|
@@ -56364,28 +56405,6 @@ class MergePass extends Pass {
|
|
|
56364
56405
|
}
|
|
56365
56406
|
}
|
|
56366
56407
|
}
|
|
56367
|
-
function createTransferMaterial() {
|
|
56368
|
-
return new ShaderMaterial({
|
|
56369
|
-
uniforms: {
|
|
56370
|
-
source: { value: null }
|
|
56371
|
-
},
|
|
56372
|
-
vertexShader: `
|
|
56373
|
-
varying vec2 vUv;
|
|
56374
|
-
void main() {
|
|
56375
|
-
vUv = uv;
|
|
56376
|
-
gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
|
|
56377
|
-
}
|
|
56378
|
-
`,
|
|
56379
|
-
fragmentShader: `
|
|
56380
|
-
uniform sampler2D source;
|
|
56381
|
-
varying vec2 vUv;
|
|
56382
|
-
|
|
56383
|
-
void main() {
|
|
56384
|
-
gl_FragColor = texture2D(source, vUv);
|
|
56385
|
-
}
|
|
56386
|
-
`
|
|
56387
|
-
});
|
|
56388
|
-
}
|
|
56389
56408
|
class TransferPass extends Pass {
|
|
56390
56409
|
constructor(sceneTexture) {
|
|
56391
56410
|
super();
|
|
@@ -57154,6 +57173,7 @@ const index$8 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
57154
57173
|
__proto__: null,
|
|
57155
57174
|
IProgressLogs: distExports$2.IProgressLogs,
|
|
57156
57175
|
Layers: Layers2,
|
|
57176
|
+
Materials: index$9,
|
|
57157
57177
|
Viewer: Viewer$3,
|
|
57158
57178
|
createViewerSettings,
|
|
57159
57179
|
createViewerSettingsFromUrl,
|