diff --git a/dywmtohrda.js b/dywmtohrda.js index 1568980..6e2dd8c 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -143,7 +143,7 @@ this.flames.map( function(flame, index) { flame.mesh.position.add(flame.direction); flame.mesh.updateInstancePosition(); - flame.mesh.instance.renderOrder = index; + flame.mesh.instance.renderOrder = 1000 - index; } );