Pixelated Edges in Rectangle when rotating camera. #1763
-
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. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can enable MSAA calling Another option is using an FXAA shader. |
Beta Was this translation helpful? Give feedback.
You can enable MSAA calling
SetConfigFlags(FLAG_MSAA_4X_HINT)
beforeInitWindow()
.Another option is using an FXAA shader.