Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 7 bytes modified

beta.r3js.org
-=yb4f310 2017-11-02 13:04:06 +01:00
parent 01a8bffc4f
commit cc8cc4cead
1 changed files with 1 additions and 1 deletions

View File

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