Repository navigation
Pixelated Edges in Rectangle when rotating camera. #1763
Answered
by
raysan5
Vipul-Cariappa
asked this question in
Q&A
|
When I am rotating the camera and drawing rectangle, the edges of the rectangle is not smooth and is pixelated. Is there a anti aliasing method to improve the smoothness of the rectangles. If my question is not clear please forgive me as I am a beginner to c programing language and game development. When zoomed into the image you can see it being pixelated but when running it look very bad when compared to this image: part of source code: Visit Game(extream Mode) to see it. |
Answered by
raysan5
May 10, 2021
Replies: 1 comment 1 reply
|
You can enable MSAA calling Another option is using an FXAA shader. |
1 reply
Answer selected by
Vipul-Cariappa
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

You can enable MSAA calling
SetConfigFlags(FLAG_MSAA_4X_HINT)beforeInitWindow().Another option is using an FXAA shader.