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

Fix Texutebleeding #1

Open
LolBaum opened this issue Mar 3, 2022 · 3 comments
Open

Fix Texutebleeding #1

LolBaum opened this issue Mar 3, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@LolBaum
Copy link
Owner

LolBaum commented Mar 3, 2022

At ceratain agnles white stripes occour at the edges of blocks. They are nor visible all the time but still annoying.

@LolBaum LolBaum self-assigned this Mar 3, 2022
@LolBaum LolBaum added the bug Something isn't working label Mar 3, 2022
@LolBaum
Copy link
Owner Author

LolBaum commented Mar 13, 2022

has been fixed with latest update. There seem to be many possible reasons for texture bleeding, but it's mainly because of the TileAtlas. If mipmapping or multisampling is enabled OpenGL might blend/intepolate the texture at the edges so that pixels of the next texture get visible. Disabling multisampling with glDisable(GL_MULTISAMPLE) fixed this issue.
Soultion found at: https://stackoverflow.com/questions/6488131/artifacts-when-enabling-4x-msaa-anti-aliasing-on-ipad-ios/6488465#6488465
answered by Nicol Bolas

@LolBaum LolBaum closed this as completed Mar 13, 2022
@LolBaum LolBaum reopened this Mar 24, 2022
@LolBaum
Copy link
Owner Author

LolBaum commented Mar 24, 2022

Not entirely shure why, but the texture bleeding is back again... Might be good to check in an older version (before any kind of transparency was introduced) if it was really fixed or if I just didn't see it
screenshot_96
.

@LolBaum
Copy link
Owner Author

LolBaum commented Dec 18, 2023

currently no texture bleeding on Linux.
OpenGL version: 4.6 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant