Comments (2)
Hi debiatan! Excuse me for the late response!
Getting pixel-perfect rendering in OpenGL is quite difficult, actually, it highly depends on the graphic card and the driver implementation.
I tested same raylib program on different hardware (AMD/NVIDIA) and I get different results on pixel-alignment.
You can read more about this issue here and here.
Additionally, if you activate some kind of MSAA, disabled by default on raylib (core.c:InitDisplay():914
), result are even worse.
I'm afraid there is not a perfect solution...
from raylib.
I see. That is a sad state of affairs. I'll try drawing degenerate
triangles, instead. I hope vendors will get those right.
Thanks for the discussion and the links.
2014-11-20 19:42 GMT+01:00 Ray [email protected]:
Hi debiatan! Excuse me for the late response!
Getting pixel-perfect rendering in OpenGL is quite difficult, actually, it
highly depends on the graphic card and the driver implementation.I tested same raylib program on different hardware (AMD/NVIDIA) and I get
different results on pixel-alignment.You can read more about this issue here
http://stackoverflow.com/questions/10040961/opengl-pixel-perfect-2d-drawing
and here
https://www.opengl.org/discussion_boards/showthread.php/148444-Pixel-perfect-drawing
.Additionally, if you activate some kind of MSAA, disabled by default on
raylib (core.c:InitDisplay():914), result are even worse.I'm afraid there is not a perfect solution...
—
Reply to this email directly or view it on GitHub
#7 (comment).
from raylib.
Related Issues (20)
- [rshapes] `DrawRectangleLines()` lines flickering when zooming out due to `RL_LINES` vs `RL_QUADS` HOT 3
- [rcore] `RenderTexture` looks wrong for a few frames after window init/resize HOT 3
- [raudio] Failing to load a MP3-File causes a double free HOT 5
- [rmodels] Support non-normalized GLTF vertex colors HOT 1
- [Zig] Zig build fails to compile HOT 1
- Broken links in `BINDINGS.md` HOT 7
- [raymath] Matrix multiply is backwards or the comment around Matrix struct is wrong. HOT 1
- [rcore] Previous gamepad button press isn't tracked on Android
- [raudio] Add a way to pass userdata into audio processors HOT 1
- [rcore_web] Relative mouse mode issues HOT 1
- [build] Obsolete apk file: raylib_game.signed.apk HOT 4
- Segmentation fault in rtextures.c HOT 1
- [rtextures] Segmentation fault at `LoadImageRaw()`, line 319 HOT 4
- [rlgl] Software renderer support? HOT 8
- [rcore_desktop] Upon entering fullscreen, uses original window size HOT 6
- [misc] Rename `Is*Ready()` to `Is*Valid()` HOT 31
- [rshapes] Off-by-one difference between DrawRectangleLinesEx and DrawLine/DrawLineV at drawing position. HOT 3
- [rmodels] Black GLB models HOT 6
- [build] Unable to build a Mach-O universal binary with 2 architectures when building from source HOT 3
- [Question] is Raylib compatible with smooth rendering ranging from 60 to 1. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raylib.