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.
- package/package.json +1 -1
- package/src/gl-render.js +1 -1
package/package.json
CHANGED
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('
|
|
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
|