NVidia Anti-Aliasing Guide (updated)

Discussion in 'Videocards - NVIDIA GeForce Drivers Section' started by Cyberdyne, Jan 29, 2012.

  1. roxahris

    roxahris Member

    Messages:
    23
    Likes Received:
    0
    GPU:
    GTX 770 2GB
    Are you using Normal or Interlaced rendering? Interlaced seems to be fancy image reconstitution - lowers my GPU usage by a ton while looking a lot more aliased. I couldn't see any aliasing at all with TAA on Normal rendering mode (though visible with close scrutiny), but shimmering is all around with Interlaced.

    SMAA is outright broken for me. No effect, huge FPS drop. Probably bugged. As for using it with TAA, the more logical thing would be for them to just mean T2x/4x SMAA - seeing as their engine obviously already generates the data for it.
     
    Last edited: Dec 20, 2016
  2. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,708
    Likes Received:
    4
    GPU:
    ASUS GTX 980 STRIX
    I'm using normal rendering. Interlaced mode looks awful.

    There is still quite a bit of aliasing left with TAA. Specifically high contrast edges and small specular highlights on objects.

    It's a huge improvement over no AA however and a bigger improvement over 4xOGSSAA even.
    In the screenshot I posted before.
    http://u.cubeupload.com/MrBonk/HBAOghosting.jpg
    This is cropped from an 1800p render. You can see the thin specular detail on the picture frame to the upper left are not properly resolved.

    Using DSRTool to play the game at 4k on my 900p monitor, the results are quite a bit better than with 2.25x DSR+4xSSAA in game.

    Also: If you dont' have a ton of VRAM, turn off the Shadow Cache. This causes immense stuttering and performance issues for me.

    I found as well, if we could get a clone of Adobe's exact code for Photoshop's "Sharpen more" filter as a Reshade shader. Then image sharpness will be almost 100% the same as without TAA
    http://screenshotcomparison.com/comparison/194478
     
    Last edited: Dec 22, 2016
  3. ciscou31

    ciscou31 New Member

    Messages:
    2
    Likes Received:
    0
    GPU:
    GTX 1080
    Dear all,

    I am looking for the "antialliasing Compatibility"code for my game ASSETTO CORSA working in DX11.

    Can you help me because i found nothing for this game.

    many thanks in advance.

    ps: sorry for my english :(
     
  4. RealNC

    RealNC Maha Guru

    Messages:
    1,250
    Likes Received:
    21
    GPU:
    EVGA GTX 980 Ti FTW
    There are no codes for DX11. The driver only supports DX9 and a few DX10 titles.
     

  5. ciscou31

    ciscou31 New Member

    Messages:
    2
    Likes Received:
    0
    GPU:
    GTX 1080
    thanks for you quick answer.


    in Nvidia inspector profile, is it not possible to reduce the alliasing of this game?
     
  6. GuruKnight

    GuruKnight Master Guru

    Messages:
    843
    Likes Received:
    1
    GPU:
    2 x 980 Ti AMP! Ex
  7. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,708
    Likes Received:
    4
    GPU:
    ASUS GTX 980 STRIX
    Adventure Time Finn and Jake Investigations

    This game runs on Vicious Engine 2. As a big AT fan, I was disappointed to hear this. But I hoped the PC version would be decent this time.
    Nope.

    As per usual with VE games it suffers
    • OSD Software doesn't work
    • 30FPS Lock, with unstable frame pacing/Vsync. Force 30FPS lock and 1/2 Sync from outside the game.
    • No video options
    • Ultra low quality SSAO that contributes a lot of temporal issues
    • Crashes at any resolution bigger than 2048x1152. A new regression from the last game running on this engine. Pac-Man and The Ghostly Adventures.
      The game detects any arbitrary resolution but crashes as soon as you select it. If you do this, then you need to edit the registry settings for the game to a lower resolution. (See PCGWiki)
    It also has built in PPAA this time around, but it's mediocre as usual. And also interferes with SGSSAA a little bit.
    Making the visuals softer while decreasing edge quality a small amount.


    AA fix should be used as it increases quality.

    0x000012C1 - SGSSAA
    0x004012C1 - SGSSAA if you use ReShade
    0x000112C1 - Higher quality SGSSAA but softer visuals. Though it causes some minor issues with specular shading of only specific objects. It's not a terribly bigger issue. Edge quality is much better in general. (It;s the 1 that does it, and can be used with the ReShade flag as well)

    The image can be sharpened through SweetFX, but if you want to use Reshade, the Depth bit needs to be set. And for whatever reason, this interacts with SGSSAA being forced, so it tries to apply AA to ReShade and it's effects as well. Which causes the performance to decrease massively.
    At 1080p with 8xSGSSAA my 980 is hitting 90-100% usage and has frame drops.

    So that's not very useful. But an option if you have a 1080 maybe.


    No AA Title Screen | Menu | House | Outside house
    8xSGSSAA 12C1 Title Screen | Menu | House | Outside house
    8xSGSSAA 112C1 Title Screen | Menu | House | Outside house
    8xSGSSAA 4112C1 Reshade Sharpening Title Screen | Menu | House | Outside house
    8xSGSSAA 112C1 SweetFX sharpening Title Screen | Menu | House | Outside house


    Here's the Preset for ReShade https://www.mediafire.com/?6gpd4u5ii0ux62m
    Here's the SweetFX preset https://www.mediafire.com/?6gpd4u5ii0ux62m

    It's a shame there is no video options and the game doesn't support more than 1080p basically.
     
    Last edited: Dec 29, 2016
  8. MarcinPL

    MarcinPL Member

    Messages:
    20
    Likes Received:
    0
    GPU:
    Asus Strix GTX 970 4 GB
    Some AA Flags for assassin`s creed rogue ?
     
  9. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,708
    Likes Received:
    4
    GPU:
    ASUS GTX 980 STRIX
    It's a DX11 game. So it's impossible. If it has the TXAA options ACIII had, then you can enhance that with SGSSAA
     
  10. KainXVIII

    KainXVIII Member

    Messages:
    30
    Likes Received:
    0
    GPU:
    MSI GTX 970
    Dragon Quest Heroes bits anyone? This game has some NASTY aliasing issues.
    Still using reshade for it..
     
    Last edited: Jan 5, 2017

  11. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,708
    Likes Received:
    4
    GPU:
    ASUS GTX 980 STRIX
    DX11 only game, and developer/publisher is incompetent. If it supported greater than 1080p, then you could do something.

    If you could figure out at what memory address the game stores it's resolution information, you might be able to hack it with hex editing or something else. (Someone unlocked MGRising's resolution this way. As well as Akiba's Trip. I tried to do the same for Raiden III and IV. But no dice)
     
  12. BuildeR2

    BuildeR2 Ancient Guru

    Messages:
    2,428
    Likes Received:
    15
    GPU:
    MSI 1080GX @ 2k/11k
    Would you mind explaining how to do this? I've tried with multiple TXAA games and never had it work.
     
  13. KainXVIII

    KainXVIII Member

    Messages:
    30
    Likes Received:
    0
    GPU:
    MSI GTX 970
    If you talk about DQH - its NOT dx11 game. :3eyes:
    Somehow, i also thought it was, but system reqs says otherwise. Also reshade don't work in dx10/11 mode, only in dx9 :)
     
  14. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,708
    Likes Received:
    4
    GPU:
    ASUS GTX 980 STRIX
    Really? Last I heard it was DX11. Would you mind posting a screenshot with an OSD?
    Turn on 4xTXAA (Or 2x and use the application settings)
    Then set NPI like such
    [​IMG]

    Worked for me in ACIII, big performance hit. But noticeable difference. Just depends on the game.
     
    Last edited: Jan 7, 2017
  15. KainXVIII

    KainXVIII Member

    Messages:
    30
    Likes Received:
    0
    GPU:
    MSI GTX 970
    Oops, OSD shows DX11 :bang: This game is ****ed.
    I wonder why Reshade works only with dx9 dll on this game..
     
    Last edited: Jan 7, 2017

  16. BuildeR2

    BuildeR2 Ancient Guru

    Messages:
    2,428
    Likes Received:
    15
    GPU:
    MSI 1080GX @ 2k/11k
    HUGE thanks for this! Doing exactly what you showed made an absolutely massive difference in Splinter Cell : Blacklist! I've owned the game since release, but haven't played it much because none of the in game AA settings would catch the shimmering and transparency aliasing. A couple of days ago I finally got to the 3rd campaign mission while using Ultra settings @ 1620p with the in game MSAA as high as it would go. Still didn't look all that great.

    Now I'm playing at Ultra settings @ 1080p with the in game 4xTXAA and your NPI settings. It looks MILES better in every way. Thanks for showing me how to do this. I do have another question. Can you do this sort of thing with games that use TAA, like Fallout 4, or is it just for games with the nVidia specific TXAA?
     
  17. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,708
    Likes Received:
    4
    GPU:
    ASUS GTX 980 STRIX
    Yup, it is a shame. Your only option is to try hex editing the game exe to find the hex equivalent of 1920x1080 and replace it with another resolution and see if it works.

    1920x1080 in hex in the exe would be

    8007 0000 3804 (If I remember everything correctly that is, there might be two empty bytes between 8007 0000 0000 3804)

    The number you'd replace it with would have to converted to hex
    http://www.binaryhexconverter.com/decimal-to-hex-converter
    Add a 0 to the first digit and then byte swap the number.

    1920=0780 >8007

    You might try looking without byte swapping too. You never know. Something to do with Endianess? (Not a programmer)

    If you knew what to look for, I wonder if Cheat Engine would be of any help as well. I'd really like to find a way to hack higher resolutions easily into games that are old or ported poorly. (Like most Tecmo Koei games )

    It works with every game that has Nvidia TXAA only (Because it's based on MSAA) and the quality will greatly vary depending on the game's implementation of TXAA and MSAA.
     
    Last edited: Jan 8, 2017
  18. Guzz

    Guzz Member Guru

    Messages:
    110
    Likes Received:
    2
    GPU:
    GTX 970
    DSR is possible, but you should use Cheat Engine to activate it.
    • Setup DSR resolution on desktop
    • Run game and stay in main menu
    • Alt+Tab game
    • Uncheck "Writable" and search two grouped values:
      4:640 4:800 4:1024 4:1280 4:1360 4:1600 4:1920
      and
      4:360 4:450 4:576 4:720 4:765 4:900 4:1080
      [​IMG]
    • Change any two resolution values to DSR. But not current one that game uses.
      For example, change 1280 and 720 to 3840 and 2160
      [​IMG]
    • Alt+Tab back to game and select 1280x720 resolution in graphics settings

    [​IMG] [​IMG]
    [​IMG] [​IMG]
    Here's resolution table:
    But game exe protected via steam stub, and it simply won't start after modification.
    [​IMG]
     
  19. MrBonk

    MrBonk Ancient Guru

    Messages:
    2,708
    Likes Received:
    4
    GPU:
    ASUS GTX 980 STRIX
    Well that's frustrating. Not only did they do a bad job supporting basic PC features, they locked you out of the only way to directly fix it permanently.

    It's not like it's a competitive online game jeez.


    Thank you for stepping in by the way. Do you have any tips that could help with this with other games?
    Like how you can spot where the resolution table is in the .exe addresses?
    Would Cheat Engine see the same addresses in real time as the game is running?
    You would have to have cheat engine running every time the game runs?

    Do you mind if I use that post as a reference for the game in the OP Document?
    I like to put games that any kind of alternate solution available if they can't be forced.
    It might be useful for the PCGamingWiki.com page as well
    http://pcgamingwiki.com/wiki/Dragon_Quest_Heroes

    Makes me want to revisit Raiden III and IV to see if I can use this method to fix anything and whether I did something wrong when hex-editing.

    Here's a comparison using your images as well. To KainXVIII, if you use SMAA/FXAA on top before downsampling it would also help clean up the remaining rough edges.
    http://screenshotcomparison.com/comparison/196387
     
    Last edited: Jan 9, 2017
  20. KainXVIII

    KainXVIII Member

    Messages:
    30
    Likes Received:
    0
    GPU:
    MSI GTX 970
    Thanks for all answers, i will try it (foliage looks so much better!)
     

Share This Page