Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed shrink of U and V by 16 in UnitTextureAtlasSprite #582

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

nikita488
Copy link
Contributor

After 1.20.1 it seems Mojang changed some TextureAtlasSprite code and handling of sprites and removed shrinking/scaling of U and V coordinates by 16. So right now baked OBJ models with Neo Renderable API will have wrong UV coords.
TextureAtlasSprite code comparison:
image

@neoforged-pr-publishing
Copy link

  • Publish PR to GitHub Packages

@sciwhiz12 sciwhiz12 added bug A bug or error 1.20 Targeted at Minecraft 1.20 rendering Related to rendering labels Jan 27, 2024
@marchermans marchermans merged commit 6caa6e3 into neoforged:1.20.x Jan 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.20 Targeted at Minecraft 1.20 bug A bug or error rendering Related to rendering
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants