diff --git a/packages/frontend/assets/room/objects/random-books/texture.png b/packages/frontend/assets/room/objects/random-books/texture.png index 33c3371e7c..c6973ba59c 100644 Binary files a/packages/frontend/assets/room/objects/random-books/texture.png and b/packages/frontend/assets/room/objects/random-books/texture.png differ diff --git a/packages/frontend/src/utility/room/objects/randomBooks.ts b/packages/frontend/src/utility/room/objects/randomBooks.ts index 376728cd5a..ef975acd66 100644 --- a/packages/frontend/src/utility/room/objects/randomBooks.ts +++ b/packages/frontend/src/utility/room/objects/randomBooks.ts @@ -72,7 +72,7 @@ export const randomBooks = defineObject({ mesh.morphTargetManager = bodyMesh.morphTargetManager.clone(); mesh.markVerticesDataAsUpdatable(BABYLON.VertexBuffer.UVKind, true); - const index = Math.floor(rng() * 44); + const index = Math.floor(rng() * (TEXTURE_DIVISION * TEXTURE_DIVISION)); const x = index % TEXTURE_DIVISION; const y = Math.floor(index / TEXTURE_DIVISION);