Skip to content

Fix texture coordinate offsets #2355

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

Merged
merged 4 commits into from
Sep 28, 2024
Merged

Fix texture coordinate offsets #2355

merged 4 commits into from
Sep 28, 2024

Conversation

einarf
Copy link
Member

@einarf einarf commented Aug 26, 2024

Pixelated / nearest interpolation with scaling causes pixels on the edges to not be properly rendered. We need to do the offsets in the shader and tweak that using a bias uniform instead.

Ninepatch unit tests are failing. Need to figure out why.

@einarf einarf marked this pull request as draft August 26, 2024 18:57
@einarf einarf marked this pull request as ready for review September 28, 2024 12:36
@einarf einarf merged commit a55c68d into development Sep 28, 2024
8 checks passed
@einarf einarf deleted the uv-fix branch September 28, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant