fix instance textures

This commit is contained in:
IThundxr 2024-06-07 16:57:02 -04:00
parent 045771dce5
commit a9127bee1c
No known key found for this signature in database
GPG Key ID: E291EC97BAF935E6

View File

@ -53,7 +53,7 @@ public final class ModelPartConverter {
void map(Vector2f uv); void map(Vector2f uv);
static TextureMapper toSprite(TextureAtlasSprite sprite) { static TextureMapper toSprite(TextureAtlasSprite sprite) {
return uv -> uv.set(sprite.getU(uv.x * 16), sprite.getV(uv.y * 16)); return uv -> uv.set(sprite.getU(uv.x), sprite.getV(uv.y));
} }
} }