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'
});