@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
  */
@@ -19373,7 +19373,7 @@
19373
19373
  const l = this._createBillboard(r, r.desc.positionSize, s);
19374
19374
  l.generateBuffers(this.regl), r.properties.billGeometry = l;
19375
19375
  const h = new n.reshader.Material({
19376
- texture: l.properties.billTexture
19376
+ billTexture: l.properties.billTexture
19377
19377
  }), c = new n.reshader.Mesh(l, h, {
19378
19378
  castShadow: !1,
19379
19379
  picking: !0
@@ -19519,7 +19519,7 @@
19519
19519
  this.renderer = new n.reshader.Renderer(e);
19520
19520
  const t = [], i = {
19521
19521
  vert: Va,
19522
- 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}",
19522
+ 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}",
19523
19523
  uniforms: [ {
19524
19524
  name: "projViewModelMatrix",
19525
19525
  type: "function",
@@ -22482,6 +22482,6 @@
22482
22482
  e.PointLayer = Ul, e.PolygonLayer = Yl, e.SYMBOLS_NEED_REBUILD_IN_VECTOR = zu, e.SYMBOLS_NEED_REBUILD_IN_VT = Nu,
22483
22483
  e.TextPainter = Do, e.TextPlugin = nl, e.TubePlugin = al, e.Vector3DLayer = an,
22484
22484
  e.VectorTileLayer = Qt, e.VectorTileLayerRenderer = Vt, e.WaterPlugin = ul, e.WireframePainter = sa,
22485
- e.WireframePlugin = sl, "undefined" != typeof console && console.log("@maptalks/vt v0.107.1");
22485
+ e.WireframePlugin = sl, "undefined" != typeof console && console.log("@maptalks/vt v0.107.3");
22486
22486
  }));
22487
22487
  //# sourceMappingURL=maptalks.vt.js.map