pimped up beat colors
This commit is contained in:
committed by
Diego Marcos
parent
09685d7bd8
commit
745095c533
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
BIN
assets/img/envmap.jpg
Normal file
BIN
assets/img/envmap.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 24 KiB |
@@ -62,7 +62,7 @@
|
|||||||
<img id="backglowTexture" src="assets/img/backglow.png">
|
<img id="backglowTexture" src="assets/img/backglow.png">
|
||||||
<img id="cursorMeshImg" src="assets/models/laser/laser.png">
|
<img id="cursorMeshImg" src="assets/models/laser/laser.png">
|
||||||
<img id="downIconImg" src="assets/img/downIcon.png">
|
<img id="downIconImg" src="assets/img/downIcon.png">
|
||||||
<img id="envmapTexture" src="assets/img/envMap.png">
|
<img id="envmapTexture" src="assets/img/envMap.jpg">
|
||||||
<img id="envmapWallTexture" src="assets/img/envmapwall.jpg">
|
<img id="envmapWallTexture" src="assets/img/envmapwall.jpg">
|
||||||
<img id="neonImg" src="assets/img/neon.png">
|
<img id="neonImg" src="assets/img/neon.png">
|
||||||
<img id="gridImg" src="assets/img/grid.png">
|
<img id="gridImg" src="assets/img/grid.png">
|
||||||
|
|||||||
@@ -254,11 +254,11 @@ AFRAME.registerComponent('beat', {
|
|||||||
if (!blockEl) { return; }
|
if (!blockEl) { return; }
|
||||||
|
|
||||||
blockEl.setAttribute('material', {
|
blockEl.setAttribute('material', {
|
||||||
metalness: 0.9,
|
metalness: 0.7,
|
||||||
roughness: 0.10,
|
roughness: 0.1,
|
||||||
sphericalEnvMap: '#envmapTexture',
|
sphericalEnvMap: '#envmapTexture',
|
||||||
emissive: this.materialColor[this.data.color],
|
emissive: this.materialColor[this.data.color],
|
||||||
emissiveIntensity: 0.17,
|
emissiveIntensity: 0.05,
|
||||||
color: this.materialColor[this.data.color]
|
color: this.materialColor[this.data.color]
|
||||||
});
|
});
|
||||||
this.setObjModelFromTemplate(blockEl, this.models[this.data.type]);
|
this.setObjModelFromTemplate(blockEl, this.models[this.data.type]);
|
||||||
@@ -368,11 +368,11 @@ AFRAME.registerComponent('beat', {
|
|||||||
}
|
}
|
||||||
|
|
||||||
partLeftEl.setAttribute('material', {
|
partLeftEl.setAttribute('material', {
|
||||||
metalness: 0.8,
|
metalness: 0.7,
|
||||||
roughness: 0.12,
|
roughness: 0.1,
|
||||||
sphericalEnvMap: '#envmapTexture',
|
sphericalEnvMap: '#envmapTexture',
|
||||||
emissive: this.materialColor[this.data.color],
|
emissive: this.materialColor[this.data.color],
|
||||||
emissiveIntensity: 0.17,
|
emissiveIntensity: 0.05,
|
||||||
color: this.materialColor[this.data.color],
|
color: this.materialColor[this.data.color],
|
||||||
side: 'double'
|
side: 'double'
|
||||||
});
|
});
|
||||||
@@ -387,11 +387,11 @@ AFRAME.registerComponent('beat', {
|
|||||||
this.setObjModelFromTemplate(cutLeftEl, this.models.dot);
|
this.setObjModelFromTemplate(cutLeftEl, this.models.dot);
|
||||||
|
|
||||||
partRightEl.setAttribute('material', {
|
partRightEl.setAttribute('material', {
|
||||||
metalness: 0.8,
|
metalness: 0.7,
|
||||||
roughness: 0.12,
|
roughness: 0.1,
|
||||||
sphericalEnvMap: '#envmapTexture',
|
sphericalEnvMap: '#envmapTexture',
|
||||||
emissive: this.materialColor[this.data.color],
|
emissive: this.materialColor[this.data.color],
|
||||||
emissiveIntensity: 0.17,
|
emissiveIntensity: 0.05,
|
||||||
color: this.materialColor[this.data.color],
|
color: this.materialColor[this.data.color],
|
||||||
side: 'double'
|
side: 'double'
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -25,8 +25,8 @@ module.exports = {
|
|||||||
TEXT_NORMAL: '#444',
|
TEXT_NORMAL: '#444',
|
||||||
TEXT_BOLD: '#888',
|
TEXT_BOLD: '#888',
|
||||||
|
|
||||||
BEAT_RED: '#46021c',
|
BEAT_RED: '#660338',
|
||||||
BEAT_BLUE: '#01261a',
|
BEAT_BLUE: '#036657',
|
||||||
|
|
||||||
MINE_RED: '#1c060e',
|
MINE_RED: '#1c060e',
|
||||||
MINE_RED_EMISSION: '#2a0d1b',
|
MINE_RED_EMISSION: '#2a0d1b',
|
||||||
|
|||||||
Reference in New Issue
Block a user