diff --git a/assets/img/mineenviro-blue.jpg b/assets/img/mineenviro-blue.jpg new file mode 100644 index 0000000..1777f5e Binary files /dev/null and b/assets/img/mineenviro-blue.jpg differ diff --git a/assets/img/mineenviro-red.jpg b/assets/img/mineenviro-red.jpg new file mode 100644 index 0000000..4a338ac Binary files /dev/null and b/assets/img/mineenviro-red.jpg differ diff --git a/src/components/stage-colors.js b/src/components/stage-colors.js index 6b240c2..0000c30 100644 --- a/src/components/stage-colors.js +++ b/src/components/stage-colors.js @@ -10,8 +10,8 @@ AFRAME.registerComponent('stage-colors', { this.defaultRed = new THREE.Color(0xff0000); this.defaultBlue = new THREE.Color(0x0000ff); this.mineEnvMap = { - red: new THREE.TextureLoader().load('images/mineenviro-red.jpg'), - blue: new THREE.TextureLoader().load('images/mineenviro-blue.jpg') + red: new THREE.TextureLoader().load('assets/img/mineenviro-red.jpg'), + blue: new THREE.TextureLoader().load('assets/img/mineenviro-blue.jpg') }; this.mineColor = { red: new THREE.Color(0x070304), blue: new THREE.Color(0x030407) }; this.mineEmission = { red: new THREE.Color(0x090707), blue: new THREE.Color(0x070709) };