Graphics.ChangingAnti AliasingLevels - lordmundi/wikidoctest GitHub Wiki

Changing Anti-Aliasing Levels

« Detecting When An EDGE Instance Is Finished Loading | EDGE User’s Guide | MJPEG Video Streaming »

Anti-aliasing is mainly handled via the NVIDIA driver. In linux, it is done via the environment variable "__GL_FSAA_MODE".

You can query all the possible settings on your system with the following command:

> nvidia-settings --query=fsaa --verbose

  Attribute 'FSAA' (metecs-frankie2:0.0): 14.
    Valid values for 'FSAA' are: 0, 1, 5, 7, 8, 9, 10, 11, 12 and 14.
    'FSAA' can use the following target types: X Screen.

    Note to assign 'FSAA' on the commandline, you may also need to assign
    'FSAAAppControlled' and 'FSAAAppEnhanced' to 0.

    Valid 'FSAA' Values
      value - description
        0   -   Off
        1   -   2x (2xMS)
        5   -   4x (4xMS)
        7   -   8x (4xMS, 4xCS)
        8   -   16x (4xMS, 12xCS)
        9   -   8x (4xSS, 2xMS)
       10   -   8x (8xMS)
       11   -   16x (4xSS, 4xMS)
       12   -   16x (8xMS, 8xCS)
       14   -   32x (8xMS, 24xCS)

Now, keep in mind this will vary from different NVIDIA driver versions and generations of video card, so the result of that command may look different on your machine.

To try different anti-aliasing modes with the NVIDIA driver, edit your $USERDATA/user_env.csh file to override this environment variable, like so:

setenv __GL_FSAA_MODE      14

Obviously, this article only applies to those running NVIDIA drivers. Some of these settings can be overridden through NVIDIA's control panel GUI also.