brighter beats

This commit is contained in:
Diego F. Goberna
2018-12-06 02:00:54 +01:00
committed by Diego Marcos
parent 3e720047c1
commit 37a86b2983
3 changed files with 10 additions and 4 deletions

View File

@@ -257,6 +257,8 @@ AFRAME.registerComponent('beat', {
metalness: 0.9,
roughness: 0.10,
sphericalEnvMap: '#envmapTexture',
emissive: this.materialColor[this.data.color],
emissiveIntensity: 0.27,
color: this.materialColor[this.data.color]
});
this.setObjModelFromTemplate(blockEl, this.models[this.data.type]);
@@ -369,6 +371,8 @@ AFRAME.registerComponent('beat', {
metalness: 0.8,
roughness: 0.12,
sphericalEnvMap: '#envmapTexture',
emissive: this.materialColor[this.data.color],
emissiveIntensity: 0.27,
color: this.materialColor[this.data.color],
side: 'double'
});
@@ -386,6 +390,8 @@ AFRAME.registerComponent('beat', {
metalness: 0.8,
roughness: 0.12,
sphericalEnvMap: '#envmapTexture',
emissive: this.materialColor[this.data.color],
emissiveIntensity: 0.27,
color: this.materialColor[this.data.color],
side: 'double'
});

View File

@@ -19,8 +19,8 @@ module.exports = {
TEXT_NORMAL: '#444',
TEXT_BOLD: '#888',
BEAT_RED: '#290404',
BEAT_BLUE: '#08083E',
BEAT_RED: '#570808',
BEAT_BLUE: '#10106A',
MINE_RED: '#070304',
MINE_RED_EMISSION: '#090707',

View File

@@ -13,8 +13,8 @@
<!-- Titles. -->
<a-entity id="inGameMenuTitles" position="0 1.7 -2.3">
<a-entity mixin="gameMenuButtonText" text="value: GAME OVER; color: #ff7171; width: 4" bind__visible="isGameOver"></a-entity>
<a-entity mixin="gameMenuButtonText" text="value: SONG CLEARED; color: #7171FF; width: 4" bind__visible="isVictory" position="0 0.2 0"></a-entity>
<a-entity mixin="gameMenuButtonText" text="value: GAME OVER; color: #fff; width: 4" bind__visible="isGameOver"></a-entity>
<a-entity mixin="gameMenuButtonText" text="value: SONG CLEARED; color: #66d8fd; width: 4" bind__visible="isVictory" position="0 0.2 0"></a-entity>
</a-entity>
<a-entity