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

[OptiFine JEM] Add warnings for invalid per face UV values #2381

Closed
ewanhowell5195 opened this issue Jun 13, 2024 · 0 comments
Closed

[OptiFine JEM] Add warnings for invalid per face UV values #2381

ewanhowell5195 opened this issue Jun 13, 2024 · 0 comments

Comments

@ewanhowell5195
Copy link
Contributor

ewanhowell5195 commented Jun 13, 2024

Detailed description of your suggestion

In an OptiFine, per face UV must follow these rules:

  • UV sizes cannot be smaller than 1 or larger than -1 (so 0.5 and -0.5 are not allowed) 0 is allowed however
  • UV offsets MUST be whole numbers

image

in the above example here, every value breaks the rules

image

in the above example, only the first two values break the rules

If these values break the rules, the entity model's textures will render unexpectedly and/or look completely broken

Please add the warnings system to the OptiFine JEM format to alert people when they are making invalid models

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants