From 1518bf2e892b08357499688d51fd0007e059f73d Mon Sep 17 00:00:00 2001 From: "Diego F. Goberna" Date: Wed, 5 Dec 2018 00:30:59 +0100 Subject: [PATCH] fixed beats and smoke transparency --- src/index.html | 4 +++- src/templates/stage.html | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/index.html b/src/index.html index 49a2fb3..9f90207 100644 --- a/src/index.html +++ b/src/index.html @@ -68,12 +68,14 @@ + + {% include './templates/stage.html' %} + - {% include './templates/stage.html' %} {% include './templates/loading.html' %} {% include './templates/score.html' %} {% include './templates/menu.html' %} diff --git a/src/templates/stage.html b/src/templates/stage.html index 7ae817f..529fa6d 100644 --- a/src/templates/stage.html +++ b/src/templates/stage.html @@ -105,9 +105,9 @@ animation__gameover="property: components.material.material.opacity; to: 0; startEvents: gameover" animation__rotate="property: rotation; to: 0 360 0; easing: linear; loop: true" obj-model="obj:#smokeObj" - material="src: #atlasImg; fog: false; shader: flat; transparent: true;"> + material="src: #atlasImg; fog: false; shader: flat; transparent: true; depthWrite: false"> - +