@maptalks/vt 0.107.1 → 0.107.3

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @maptalks/vt v0.107.1
2
+ * @maptalks/vt v0.107.3
3
3
  * LICENSE : undefined
4
4
  * (c) 2016-2025 maptalks.org
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @maptalks/vt v0.107.1
2
+ * @maptalks/vt v0.107.3
3
3
  * LICENSE : undefined
4
4
  * (c) 2016-2025 maptalks.org
5
5
  */
@@ -18045,7 +18045,7 @@ class Do extends gn {
18045
18045
  const l = this._createBillboard(i, i.desc.positionSize, r);
18046
18046
  l.generateBuffers(this.regl), i.properties.billGeometry = l;
18047
18047
  const h = new s.Material({
18048
- texture: l.properties.billTexture
18048
+ billTexture: l.properties.billTexture
18049
18049
  }), c = new s.Mesh(l, h, {
18050
18050
  castShadow: !1,
18051
18051
  picking: !0
@@ -18191,7 +18191,7 @@ class Do extends gn {
18191
18191
  this.renderer = new s.Renderer(e);
18192
18192
  const t = [], n = {
18193
18193
  vert: wo,
18194
- frag: "#define SHADER_NAME BILL_BOARD\nprecision mediump float;\nuniform sampler2D texture;\nuniform vec2 textureSize;\nvarying vec2 vTexCoord;\nvoid main() {\n gl_FragColor = texture2D(texture, vTexCoord / textureSize);\n#if defined(HAS_SHADOWING) && !defined(HAS_BLOOM)\nfloat c = shadow_computeShadow();\n gl_FragColor.rgb = shadow_blend(gl_FragColor.rgb, c);\n#endif\n}",
18194
+ frag: "#define SHADER_NAME BILL_BOARD\nprecision mediump float;\n#include <gl2_frag>\nuniform sampler2D billTexture;\nuniform vec2 textureSize;\nvarying vec2 vTexCoord;\nvoid main() {\n glFragColor = texture2D(billTexture, vTexCoord / textureSize);\n#if defined(HAS_SHADOWING) && !defined(HAS_BLOOM)\nfloat c = shadow_computeShadow();\n glFragColor.rgb = shadow_blend(glFragColor.rgb, c);\n#endif\n#if __VERSION__ == 100\ngl_FragColor = glFragColor;\n#endif\n}",
18195
18195
  uniforms: [ {
18196
18196
  name: "projViewModelMatrix",
18197
18197
  type: "function",
@@ -20566,5 +20566,5 @@ if (r.transcoders) {
20566
20566
 
20567
20567
  export { Do as BillBoardPainter, $o as BillBoardPlugin, Ul as ExtrudePolygonLayer, Cn as FillPainter, Lo as FillPlugin, Xl as FilterUtil, Xo as GLTFPhongPlugin, Yo as GLTFStandardPlugin, Qo as GeoJSONVectorTileLayer, Zo as HeatmapPlugin, Pr as IconPainter, zo as IconPlugin, No as LineGradientPlugin, Rn as LinePainter, Ho as LinePlugin, Ia as LineStringLayer, jo as LitPlugin, Jo as MapboxVectorTileLayer, Ms as NativeLinePainter, Uo as NativeLinePlugin, Ts as NativePointPainter, Wl as PackUtil, Vs as PhongPainter, Bo as PhongPlugin, Ma as PointLayer, Fa as PolygonLayer, Zl as SYMBOLS_NEED_REBUILD_IN_VECTOR, Yl as SYMBOLS_NEED_REBUILD_IN_VT, xs as TextPainter, Vo as TextPlugin, Wo as TubePlugin, mt as Vector3DLayer, ht as VectorTileLayer, $e as VectorTileLayerRenderer, qo as WaterPlugin, Bs as WireframePainter, Go as WireframePlugin };
20568
20568
 
20569
- "undefined" != typeof console && console.log("@maptalks/vt v0.107.1");
20569
+ "undefined" != typeof console && console.log("@maptalks/vt v0.107.3");
20570
20570
  //# sourceMappingURL=maptalks.vt.es.js.map