Skip to content

Commit

Permalink
Drop highres image
Browse files Browse the repository at this point in the history
  • Loading branch information
inxilpro committed Dec 2, 2024
1 parent a3f0191 commit 75fb398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/js/globe.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as THREE from 'three';
import ThreeGlobe from 'three-globe';
import WebGL from 'three/addons/capabilities/WebGL.js';
// import earthNight from '../../public/world/earth-night.jpg';
import earthNightHighRes from '../../public/world/earth-night-hires.jpg';
// import earthNightHighRes from '../../public/world/earth-night-hires.jpg';
import earthNightCustom from '../../public/world/earth-night-custom.jpg';
import earthTopology from '../../public/world/earth-topology.png';

Expand All @@ -27,7 +27,7 @@ function random_number(min, max) {

const Globe = new ThreeGlobe()
// .globeImageUrl(is_fast_connection ? earthNightHighRes : earthNight)
.globeImageUrl(highres ? earthNightHighRes : earthNightCustom)
.globeImageUrl(earthNightCustom)
.bumpImageUrl(earthTopology)
.ringsData(points)
.ringColor(() => colorInterpolator)
Expand Down

0 comments on commit 75fb398

Please sign in to comment.