move beams behind smoke for transparency ordering

This commit is contained in:
Kevin Ngo
2018-12-04 01:25:43 -08:00
parent a9eb636528
commit ed4a233146
2 changed files with 22 additions and 21 deletions

View File

@@ -95,6 +95,8 @@
<a-entity id="rightStageLaser2" mixin="stageLaser neonAnimation" position="14 -1.5 -36"></a-entity>
</a-entity>
<a-entity id="beams" bind__beams="isPlaying: isPlaying"></a-entity>
<a-mixin
id="smoke"
mixin="gameoverAnimation"
@@ -106,8 +108,6 @@
<a-entity id="smoke1" mixin="smoke" geometry="radius: 10" position="0 1.4 0" animation__rotate="dur: 200000"></a-entity>
<a-entity id="smoke2" mixin="smoke" geometry="radius: 20" position="0 1.8 0" animation__rotate="dur: 243000"></a-entity>
<a-entity id="beams" bind__beams="isPlaying: isPlaying"></a-entity>
<a-entity light="type: directional; intensity: 3" position="0 10 10"></a-entity>
<a-entity