improved wall shader

This commit is contained in:
Diego F. Goberna
2018-12-02 00:51:02 +01:00
committed by Diego Marcos
parent 119f3466dc
commit fd240e86ab
7 changed files with 362 additions and 55 deletions

View File

@@ -52,9 +52,9 @@
play-sound__victory="sound: #victorySong; event: victory"
search
stage-colors="color: blue"
fog="color: #a00; density: 0.035; type: exponential"
vr-mode-ui="enterVRButton: #vrButton"
tutorial-2d>
<!-- fog="color: #a00; density: 0.035; type: exponential" -->
<a-assets timeout="10000">
{% include './assets.html' %}
@@ -80,6 +80,11 @@
{% include './templates/victory.html' %}
{% include './templates/leaderboard.html' %}
<!--
<a-entity id="testwall" geometry="width: 0.3; height: 1; depth: 1.5;" position="-1 1.6 -1" material="shader: wallShader; env: #envmapWallTexture; fog: false; transparent: true; side: double"></a-entity>
<a-entity id="testwallglow" visible = "false" obj-model="obj: #wallglowObj" position="-1 1.6 -1" scale="0.3 1.0 1.5" material="shader: flat; blending: additive; depthTest: false; src: #atlasImg; fog: false; transparent: true;"></a-entity>
-->
<!-- super cut fx rings -->
{% for i in range(1, 5) %}
<a-entity class="superCutFx" mixin="superCut"></a-entity>