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