mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 04:33:50 +01:00
[Room] Better avatar rendering
This commit is contained in:
parent
b79f830b14
commit
fbfdf610ab
@ -219,8 +219,7 @@ export class Room {
|
|||||||
iconTexture.wrapT = THREE.RepeatWrapping;
|
iconTexture.wrapT = THREE.RepeatWrapping;
|
||||||
iconTexture.anisotropy = 16;
|
iconTexture.anisotropy = 16;
|
||||||
|
|
||||||
const avatarMaterial = new THREE.MeshLambertMaterial({
|
const avatarMaterial = new THREE.MeshBasicMaterial({
|
||||||
emissive: 0x111111,
|
|
||||||
map: iconTexture,
|
map: iconTexture,
|
||||||
side: THREE.DoubleSide,
|
side: THREE.DoubleSide,
|
||||||
alphaTest: 0.5
|
alphaTest: 0.5
|
||||||
|
Loading…
Reference in New Issue
Block a user