diff --git a/assets/img/atlas.png b/assets/img/atlas.png index 21875b6..c1ef33a 100644 Binary files a/assets/img/atlas.png and b/assets/img/atlas.png differ diff --git a/assets/img/envmap.jpg b/assets/img/envmap.jpg new file mode 100644 index 0000000..8880636 Binary files /dev/null and b/assets/img/envmap.jpg differ diff --git a/assets/img/envmap.png b/assets/img/envmap.png deleted file mode 100755 index 0c291bf..0000000 Binary files a/assets/img/envmap.png and /dev/null differ diff --git a/src/assets.html b/src/assets.html index 96ee29e..ca25a88 100644 --- a/src/assets.html +++ b/src/assets.html @@ -62,7 +62,7 @@ - + diff --git a/src/components/beat.js b/src/components/beat.js index bcceb36..129e1d7 100644 --- a/src/components/beat.js +++ b/src/components/beat.js @@ -254,11 +254,11 @@ AFRAME.registerComponent('beat', { if (!blockEl) { return; } blockEl.setAttribute('material', { - metalness: 0.9, - roughness: 0.10, + metalness: 0.7, + roughness: 0.1, sphericalEnvMap: '#envmapTexture', emissive: this.materialColor[this.data.color], - emissiveIntensity: 0.17, + emissiveIntensity: 0.05, color: this.materialColor[this.data.color] }); this.setObjModelFromTemplate(blockEl, this.models[this.data.type]); @@ -368,11 +368,11 @@ AFRAME.registerComponent('beat', { } partLeftEl.setAttribute('material', { - metalness: 0.8, - roughness: 0.12, + metalness: 0.7, + roughness: 0.1, sphericalEnvMap: '#envmapTexture', emissive: this.materialColor[this.data.color], - emissiveIntensity: 0.17, + emissiveIntensity: 0.05, color: this.materialColor[this.data.color], side: 'double' }); @@ -387,11 +387,11 @@ AFRAME.registerComponent('beat', { this.setObjModelFromTemplate(cutLeftEl, this.models.dot); partRightEl.setAttribute('material', { - metalness: 0.8, - roughness: 0.12, + metalness: 0.7, + roughness: 0.1, sphericalEnvMap: '#envmapTexture', emissive: this.materialColor[this.data.color], - emissiveIntensity: 0.17, + emissiveIntensity: 0.05, color: this.materialColor[this.data.color], side: 'double' }); diff --git a/src/constants/colors.js b/src/constants/colors.js index 736d9d6..c1a41f0 100644 --- a/src/constants/colors.js +++ b/src/constants/colors.js @@ -25,8 +25,8 @@ module.exports = { TEXT_NORMAL: '#444', TEXT_BOLD: '#888', - BEAT_RED: '#46021c', - BEAT_BLUE: '#01261a', + BEAT_RED: '#660338', + BEAT_BLUE: '#036657', MINE_RED: '#1c060e', MINE_RED_EMISSION: '#2a0d1b',