mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 10:40:36 +01:00
[Room] Better avatar rendering
This commit is contained in:
parent
3f7606060e
commit
38c901069a
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue