[Room] Better avatar rendering

This commit is contained in:
syuilo 2019-08-19 01:15:30 +09:00
parent 3f7606060e
commit 38c901069a

View file

@ -219,8 +219,7 @@ export class Room {
iconTexture.wrapT = THREE.RepeatWrapping;
iconTexture.anisotropy = 16;
const avatarMaterial = new THREE.MeshLambertMaterial({
emissive: 0x111111,
const avatarMaterial = new THREE.MeshBasicMaterial({
map: iconTexture,
side: THREE.DoubleSide,
alphaTest: 0.5