Author Topic: What does "anti-aliasing" do?  (Read 2069 times)

0 Members and 1 Guest are viewing this topic.

Offline CT27

  • 211
What does "anti-aliasing" do?
I'm using wxlauncher for some older campaigns right now.  I have a question about some of the options under "advanced options":

In general what does anti-aliasing do?  Specifically what do these two options do:
"Enable FXAA anti-aliasing"
"Enable SMAA anti-aliasing"

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: What does "anti-aliasing" do?
Quick google search answered the question.

Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline CT27

  • 211
Re: What does "anti-aliasing" do?
Thanks for the link/video.


So it would be recommended to have both of those options checked/enabled?

 
Re: What does "anti-aliasing" do?
SMAA is the newer of them, and you can have only one of them active at the same time. If both are active, SMAA will be automatically preffered. You also need to put -smaa_preset <number between 0 and 3> into the custom cmd settings line.

Here's the link to the wiki: https://wiki.hard-light.net/index.php/Command-Line_Reference#-smaa

And here to the test release builds with a bit more info: https://www.hard-light.net/forums/index.php?topic=95680.0

 

Offline wookieejedi

  • 29
  • Intensify Forward Firepower
Re: What does "anti-aliasing" do?
Also, note if you are playing on a machine without a dedicated graphics card then having AA on (or post processing for that matter) will reduce your framerate a bit (along with a few other flags, too).

 
Re: What does "anti-aliasing" do?
You also need to put -smaa_preset <number between 0 and 3> into the custom cmd settings line.
Code: [Select]
cmdline_parm smaa_preset_arg("-smaa_preset", "SMAA quality (0-9), requires post-processing and -smaa", AT_INT);So this line is a bit misleading? :nervous: It should be (0-3)?

 
Re: What does "anti-aliasing" do?
Atleast wiki and release post say yes.

  

Offline wookieejedi

  • 29
  • Intensify Forward Firepower
Re: What does "anti-aliasing" do?
The actual SCP code indeed uses 0-3. Also I noticed the wiki has been updated.

 

Offline DahBlount

  • Moderator
  • 29
  • Alpine ☆ Cancer Tribulation
    • Minecraft
    • Skype
    • Steam
Re: What does "anti-aliasing" do?
If you're using a nightly from today (May 05, 2020) or later, there are new cmdline params. This was changed to unify the way AA is handled internally.

Code: [Select]
-aa // Enables antialiasing
-aa_preset [0-6] // 0-2 FXAA, 3-6 SMAA
<Axem> yet still more insightful than #hard-light

<Axem> jad2.23 will just be cat videos

<DahBlount> So
<DahBlount> JAD2.2 is like that
<Axem> maybe
<Axem> it can be whatever you like!
<DahBlount> A Chocolate Sundae?
<Axem> sure

My models: GTF Gilgamesh - GTD Nuadha [Redesigning] - Ningirama [WIP] - GTG Zephyrus