mapspinner 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/gl-render.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mapspinner",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "WebGL2 Earth-scale terrain rendering SDK for interactive globe applications",
5
5
  "main": "src/index.js",
6
6
  "exports": {
package/src/gl-render.js CHANGED
@@ -326,7 +326,7 @@ export async function initMapspinnerRender(gl, opts = {}) {
326
326
  const albAll = new Uint8Array(SZ * SZ * 4 * MATS.length);
327
327
  const nrmAll = new Uint8Array(SZ * SZ * 4 * MATS.length);
328
328
  for (let m = 0; m < MATS.length; m++) {
329
- const [ci, di] = await Promise.all([img('/textures/' + MATS[m] + '-color.jpg'), img('/textures/' + MATS[m] + '-displacement.jpg')]);
329
+ const [ci, di] = await Promise.all([img('./textures/' + MATS[m] + '-color.jpg'), img('./textures/' + MATS[m] + '-displacement.jpg')]);
330
330
  const c = px(ci), d = px(di);
331
331
  // DE-SHADE (user 2026-06-11 'flat, unangled bowls of rock'): the photos carry baked large-scale
332
332
  // shading (shadowed depressions), which at a 2.4km tile pastes bowl-shaped shadows onto geometry