NVidia Anti-Aliasing Guide (updated)

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

  1. Veteran

    Veteran Ancient Guru

    Messages:
    12,094
    Likes Received:
    21
    GPU:
    2xTitan XM@1590Mhz-CH20
    I tried searching and it does find it but it seems to be an example line.

    i cant find any other in the file after this, Is there somewhere in the file i may have to copy/paste this line?

    shown below....



    6. Before including SMAA.h you'll have to setup the framebuffer pixel size,
    * the target and any optional configuration defines. Optionally you can
    * use a preset.
    *
    * You have three targets available:
    * SMAA_HLSL_3
    * SMAA_HLSL_4
    * SMAA_HLSL_4_1
    * SMAA_GLSL_3 *
    * SMAA_GLSL_4 *
    *
    * * (See SMAA_ONLY_COMPILE_VS below).
    *
    * And four presets:
    * SMAA_PRESET_LOW (%60 of the quality)
    * SMAA_PRESET_MEDIUM (%80 of the quality)
    * SMAA_PRESET_HIGH (%95 of the quality)
    * SMAA_PRESET_ULTRA (%99 of the quality)
    *
    * For example:
    * #define SMAA_PIXEL_SIZE float2(1.0 / 1920.0, 1.0 / 1200.0)
    * #define SMAA_HLSL_4 1
    * #define SMAA_PRESET_HIGH 1
    * #include "SMAA.h"
    *
    * 7. Then, you'll have to setup the passes as indicated in the scheme above.
    * You can take a look into SMAA.fx, to see how we did it for our demo.
    * Checkout the function wrappers, you may want to copy-paste them!
    *
    * 8. It's recommended to validate the produced |edgesTex| and |blendTex|.
    * It's advised to not continue with the implementation until both buffers
    * are verified to produce identical results to our reference demo.
    *
    * 9. After you get the last pass to work, it's time to optimize. You'll have
    * to initialize a stencil buffer in the first pass (discard is already in
    * the code), then mask execution by using it the second pass. The last
    * pass should be executed in all pixels.
     
  2. Mesocyclone

    Mesocyclone Guest

    Messages:
    23
    Likes Received:
    2
    GPU:
    2x Gigabyte Titan SLI
    Guys, is there a way to get (sg)aa in Alan wake? I tried a few things, override en and enhance via inspector, but I still get normal msaa. I'm on fw 314.09
     
  3. Cyberdyne

    Cyberdyne Guest

    Messages:
    3,580
    Likes Received:
    308
    GPU:
    2080 Ti FTW3 Ultra
    @Veteran
    There is an entry for "SMAA_PIXEL_SIZE * float2", among other entries for "SMAA_PIXEL_SIZE". It looks to me it's using an automatic variable. I could be wrong about this, but I think SweetFX is set up to simply know the proper resolution for SMAA. Probably best to ask Ceejay, he's got a thread around here some place.
    Most of what you would want to change is in the settings file, I would assume that if it was not done automatically, it would be changeable there (but since it's not, and by looking at that "SMAA_PIXEL_SIZE * float2" code, it looks like it's an automatic variable- at least that is what I am deducing)
     
  4. Veteran

    Veteran Ancient Guru

    Messages:
    12,094
    Likes Received:
    21
    GPU:
    2xTitan XM@1590Mhz-CH20
    Ok thanks for checking.:)
    Ive sent Ceejay a PM.
     
    Last edited: Mar 2, 2013

  5. Mesocyclone

    Mesocyclone Guest

    Messages:
    23
    Likes Received:
    2
    GPU:
    2x Gigabyte Titan SLI
    Flags for COD Black Ops don't work here anymore, it's blurred again fw 314.09. I'll try to look for something to solve it.

    Edit, I came to the conclussion only 12xs works, 12xS [Combined: 2x2 SS + 4x OGMS (D3D only)] and with ingame aa disabled.

    Somebody knows how to set sgssaa in Alan wake? I still haven't found something usefull. Ordened grid or plain SSAA modes give artefacts and sgssaa (enhanced) does a bad job, anti aliasing the specular, but don't touches the alpha textures. 4x4 anti aliased the best, but it's nit usefull as it messed up with lighting and shadows.
     
    Last edited: Mar 3, 2013
  6. MrBonk

    MrBonk Guest

    Messages:
    3,385
    Likes Received:
    283
    GPU:
    Gigabyte 3080 Ti
    You will have to try Downsampling trick.

    There is no other way AFIK. The game is designed to mostly just work with MSAA at all times AFIK.


    Also: Originally BO2 didn't need any flags. It just had a bug where using Ambient occlusion caused it to be blurrier than intended or something. Also try manually adjusting the LOD bias by turning "Driver controlled LOD Bias" to "OFF" if you already have it off. Turn it to on. That may be what is causing the issue in the first place if the AO bug isn't there any more
     
  7. Mesocyclone

    Mesocyclone Guest

    Messages:
    23
    Likes Received:
    2
    GPU:
    2x Gigabyte Titan SLI
    Yeah downsampling is the only thing left which can give nice results.

    Thanx for the tip for BO2, disabling AO clears up the vasaline when enhancing to sgssaa :)
     
    Last edited: Mar 3, 2013
  8. balthier

    balthier Active Member

    Messages:
    59
    Likes Received:
    7
    GPU:
    Gigabyte 2070 RTX
    Tomb raider SGSSAA?
     
  9. Canzah

    Canzah Guest

    Messages:
    131
    Likes Received:
    0
    GPU:
    Gigabyte GTX 780 Ti GHz
    Try the Lara Croft and the Guardian of Light flag, same engine.
     
  10. crescent327

    crescent327 Guest

    Messages:
    2
    Likes Received:
    0
    GPU:
    MSI GTX 560 ti 1GB
    Someone has to find an AA bit for Trials HD Gold Edition. Not that it would help with the low resolution shadows and awful textures of course. The only in-game option is FXAA.

    Don't get me wrong, it's a fun game. I just wish more effort had been put into this "Gold" version.
     

  11. balthier

    balthier Active Member

    Messages:
    59
    Likes Received:
    7
    GPU:
    Gigabyte 2070 RTX
    And whats the Lara Croft and the Guardian of Light flag?Dont see it in this tread ewen google doest show any info :bonk:
    Deus ex HR and TR underworld flags not working :3eyes:
     
    Last edited: Mar 5, 2013
  12. Canzah

    Canzah Guest

    Messages:
    131
    Likes Received:
    0
    GPU:
    Gigabyte GTX 780 Ti GHz
    Weird that nobody posted them here, got them from a german forum.

    0x004100C0
    0x004030C0
    0x004000C0

    Supposedly all of them work for Lara Croft and Guardian of Light, but remember they would only work in DX9.
     
  13. balthier

    balthier Active Member

    Messages:
    59
    Likes Received:
    7
    GPU:
    Gigabyte 2070 RTX
    None of them working maybe because its running dx11.Is there a way a config file to turn dx11 to dx9?

    edit:// turned on dx9 with registry tweak
    HKEY_CURRENT_USER\Software\Crystal Dynamics\Tomb Raider\Graphics
    Modify RenderAPI value to 9
    Note: Revert to 0 for DX11, anything else will result in DX11 renderer with some DX11 features disabled.
    Now just need to find the raight flag for sgssaa.DeusEx HR flag loooks way to funny.It has missing objects like fire and looks realy weird :D

    edit2://sgssaa runs great without flag the performance is better like expected but its ugly on dx9 -too manny effect disabled -.-
     
    Last edited: Mar 5, 2013
  14. Canzah

    Canzah Guest

    Messages:
    131
    Likes Received:
    0
    GPU:
    Gigabyte GTX 780 Ti GHz
    You could try very well known DX10/DX11 AA trick.
    Namely instead of choosing "Override application setting", choose "Enhance application setting".
    Set regular AA to application controlled.
    And transparency to SGSSAA.
    Try and see if it works.
     
  15. Bradders684

    Bradders684 Maha Guru

    Messages:
    1,007
    Likes Received:
    3
    GPU:
    MSI GTX 980 Ti GAMING
    No of those flags work :(

    0x004100C0 No AA is applied and you get weird rendering problems.
    0x004030C0 AA is applied but you get weird rendering problems.
    0x004000C0 No AA is applied and you get weird rendering problems.

    [​IMG]

    I tried enhanced and forced 4x SGGAA without a flag but it doesn't work either.

    Can you post you NVIDIA Inspector setting please? It doesn't seem to work. for me.
     
    Last edited: Mar 6, 2013

  16. MrBonk

    MrBonk Guest

    Messages:
    3,385
    Likes Received:
    283
    GPU:
    Gigabyte 3080 Ti
    Those bugs remind me a lot of the bugs I ran into trying to force AA in RE6. This may be unforceable
     
  17. balthier

    balthier Active Member

    Messages:
    59
    Likes Received:
    7
    GPU:
    Gigabyte 2070 RTX
    Just do the registry tweak to switch from DX11 to DX9 i posted earlier.[​IMG]
     
  18. Bradders684

    Bradders684 Maha Guru

    Messages:
    1,007
    Likes Received:
    3
    GPU:
    MSI GTX 980 Ti GAMING
    [​IMG]

    I did the registry tweak for my previous post, it is definitely not working for me. :cry:

    I will just have to stick with 2xSSAA.
     
  19. Quest

    Quest Member Guru

    Messages:
    129
    Likes Received:
    1
    GPU:
    SLI GTX 770 JETSTREAM 4GB
    so no normal flag for TR?
     
  20. balthier

    balthier Active Member

    Messages:
    59
    Likes Received:
    7
    GPU:
    Gigabyte 2070 RTX
    I dont know why its not working for you i deffinitely get a huge performance hit when its enabled.Thats why i try it with 8xSGSSAA first.
     
    Last edited: Mar 6, 2013

Share This Page