@eturnity/eturnity_3d 7.42.3-qa-25.2 → 7.42.3-qa-25.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.
package/package.json
CHANGED
|
@@ -263,6 +263,8 @@ export default {
|
|
|
263
263
|
}
|
|
264
264
|
texture.generateMipmaps = false
|
|
265
265
|
texture.format = THREE.RGBAFormat
|
|
266
|
+
texture.encoding = THREE.sRGBEncoding
|
|
267
|
+
texture.colorSpace = THREE.SRGBColorSpace
|
|
266
268
|
texture.needsUpdate = true
|
|
267
269
|
let corners = tileToCorners(x, y, zoomLvl, latitude, longitude)
|
|
268
270
|
corners = corners.map((c) => {
|
|
@@ -284,8 +286,6 @@ export default {
|
|
|
284
286
|
mesh.castShadow = false
|
|
285
287
|
mesh.updateMatrix()
|
|
286
288
|
} else {
|
|
287
|
-
texture.encoding = THREE.sRGBEncoding
|
|
288
|
-
texture.colorSpace = THREE.SRGBColorSpace
|
|
289
289
|
material = new THREE.MeshPhongMaterial({
|
|
290
290
|
map: texture,
|
|
291
291
|
color: 0xffffff,
|
|
@@ -490,6 +490,7 @@ export default {
|
|
|
490
490
|
t.imagePromise.cancel()
|
|
491
491
|
return false
|
|
492
492
|
}
|
|
493
|
+
return true
|
|
493
494
|
})
|
|
494
495
|
},
|
|
495
496
|
},
|