leiting-bim 2.1.127 → 2.1.128
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/leiting-bim.es.js +1 -1
- package/package.json +1 -1
- package/plugins/cesium-core/dist/cesium-core.mjs +4 -4
- package/plugins/cesium-core/dist/cesium-core.mjs.map +1 -1
- package/plugins/cesium-core/dist/cesium-core.umd.js +4 -4
- package/plugins/cesium-core/dist/cesium-core.umd.js.map +1 -1
- package/plugins/cesium-vue/dist/components/marker-manage.js +23 -24
- package/plugins/cesium-vue/dist/components/marker-manage.js.map +1 -1
package/package.json
CHANGED
|
@@ -2356,10 +2356,10 @@ function To(a, t) {
|
|
|
2356
2356
|
return s.freely == "vertical" ? r += "vec4 colorImage = texture(image, vec2(fract(float(" + s.count + ")*st.t " + s.direction + ` time), fract(st.s)));
|
|
2357
2357
|
` : r += "vec4 colorImage = texture(image, vec2(fract(float(" + s.count + ")*st.s " + s.direction + ` time), fract(st.t)));
|
|
2358
2358
|
`, r += `vec4 fragColor;
|
|
2359
|
-
fragColor.rgb = (
|
|
2359
|
+
fragColor.rgb = (color.rgb) / 1.0;
|
|
2360
2360
|
fragColor = czm_gammaCorrect(fragColor);
|
|
2361
|
-
`, r += ` material.diffuse =
|
|
2362
|
-
material.alpha = colorImage.a;
|
|
2361
|
+
`, r += ` material.diffuse = color.rgb;
|
|
2362
|
+
material.alpha = colorImage.a * color.a;
|
|
2363
2363
|
material.emission = fragColor.rgb;
|
|
2364
2364
|
|
|
2365
2365
|
return material;
|
|
@@ -2370,7 +2370,7 @@ function To(a, t) {
|
|
|
2370
2370
|
fabric: {
|
|
2371
2371
|
type: e,
|
|
2372
2372
|
uniforms: {
|
|
2373
|
-
color: new a.Color(1,
|
|
2373
|
+
color: t.color || new a.Color(1, 1, 1, 1),
|
|
2374
2374
|
image: t.image,
|
|
2375
2375
|
time: 0
|
|
2376
2376
|
},
|