diff --git a/js/Item.js b/js/Item.js index 083b77f..8fb4f38 100644 --- a/js/Item.js +++ b/js/Item.js @@ -421,8 +421,6 @@ export class Item { const material = new THREE.SpriteMaterial({ map: texture, blending: THREE.AdditiveBlending, - depthWrite: false, - depthTest: true, // Renders on top of everything transparent: true }); diff --git a/js/Player.js b/js/Player.js index 174e091..338fa50 100644 --- a/js/Player.js +++ b/js/Player.js @@ -1062,7 +1062,7 @@ export class Player { y = endY; } - this.itemCountDisplay.position.set(0, y, -2); + this.itemCountDisplay.position.set(0, y, -10); this.itemCountDisplay.traverse(obj => { if (obj.material) obj.material.opacity = opacity; });