Giter Site home page Giter Site logo

Misaligned pixels with OpenGL about mgba HOT 4 CLOSED

Sonoob132 avatar Sonoob132 commented on September 21, 2024
Misaligned pixels with OpenGL

from mgba.

Comments (4)

endrift avatar endrift commented on September 21, 2024

This appears to be a texture mapping issue. I've seen it before on some drivers but I'm not quite sure how to fix it.

from mgba.

endrift avatar endrift commented on September 21, 2024

Just to confirm, do you have integer scaling enabled in the a/v settings?

from mgba.

Sonoob132 avatar Sonoob132 commented on September 21, 2024

Sorry for the late response.
Force integer scaling? No.
When I enabled it though, it just shrunk the game screen and added more "black bars" but it fixed the problem
I would take a screenshot of the whole screen, but It doesn't work for some reason.
Tried both in Windows 10 and 11.

from mgba.

endrift avatar endrift commented on September 21, 2024

Yes, that's expected. The pixels are misaligned because at non-integer scales the number of pixels it takes to represent a single game pixel isn't consistent. Integer scaling fixes that but can only scale to multiples of the original size. The only other possibility is to smear game pixels across multiple screen pixels, which I think is what the Pixellate shader does.

from mgba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.