🆙 Add backgrounds to renderer

This commit is contained in:
duckietm
2025-05-22 10:31:31 +02:00
parent 7c40e69c75
commit 476f71a482
7 changed files with 70 additions and 41 deletions
@@ -303,7 +303,7 @@ export class AvatarVisualization extends RoomObjectSpriteVisualization implement
sprite.offsetX = ((((-1 * scale) / 2) + _local_20[0]) - ((sprite.texture.width - scale) / 2));
sprite.offsetY = (((-(sprite.texture.height) + (scale / 4)) + _local_20[1]) + this._postureOffset);
}
if(this._isLaying)
{
if(this._layInside) sprite.relativeDepth = -0.5;