Page 1 of 1

What is MSAA and how should I use it ?

Posted: Thu Jul 07, 2016 7:46 am
by aswinmohanme
I recently came across Love(2d) and I totally love it. I searched the documentation and found that there is something called

Code: Select all

t.window.msaa
in conf.lua.

What is Msaa and what should be the value that I must set it to be so that it renders good graphics without slowing down the app.

Re: What is MSAA and how should I use it ?

Posted: Thu Jul 07, 2016 10:45 am
by zorg
https://en.wikipedia.org/wiki/Multisample_anti-aliasing
I believe either 0 or 1 is fastest that does not smooth lines, and depending on video card, the maximum may be 2,4,8 or 16; though I found that a value of 16 blurs the default 12 point sized font as well.

Re: What is MSAA and how should I use it ?

Posted: Fri Jul 08, 2016 10:39 am
by aswinmohanme
zorg wrote:https://en.wikipedia.org/wiki/Multisample_anti-aliasing
I believe either 0 or 1 is fastest that does not smooth lines, and depending on video card, the maximum may be 2,4,8 or 16; though I found that a value of 16 blurs the default 12 point sized font as well.
Thanks. Sorry for the Late reply. But what would be a good balance for a simple platformer game ?

Re: What is MSAA and how should I use it ?

Posted: Fri Jul 08, 2016 11:00 am
by zorg
Probably doesn't matter. Seriously. You can set it to a minimum, it won't make that much of a difference.