HBAO+ Compatibility Flags Thread

Discussion in 'Videocards - NVIDIA GeForce Drivers Section' started by MrBonk, Mar 3, 2014.

  1. ZabaZuu

    ZabaZuu Active Member

    Messages:
    85
    Likes Received:
    0
    GPU:
    MSI GTX 1070 Gaming X
    I just want to jump in and say that the temporal solution in fallout 4 does have ghosting. However, it is most severe if you are turning or moving slowly. Not sure what it is called specifically, but w/e algorithm adjusting the effect based on motion is a little off. Honestly though, it looks significantly better on than it does off. The jaggies are unreal when it is off.

    Personal opinion, I accept TAA as a good compromise in AA. I don't like a blurry image or the motion blur (which I only accept if it is minimal), but I'll deal with blur if it actually kills off most jaggies in motion at a low performance hit.

    To be on topic, I still think fallout 4's in-game AO is a better choice than flickering HBAO+, but it isn't like I decide for everybody. Bethesda games have been about immersion for me, and having flickering graphics is a good way to bring me out.
     
  2. helder

    helder Active Member

    Messages:
    57
    Likes Received:
    0
    GPU:
    970 OC, 780 Ghz, 290X Tri
    I use the 0x00060000 flag combined with in-game AO and see very minimal flicker on my setup. I also use SweetFX and ENB shaders, so I can't speak about flicker in the vanilla game.
     
  3. ElectronSpider

    ElectronSpider Master Guru

    Messages:
    210
    Likes Received:
    0
    GPU:
    MSI GTX 660 OC 2GB
    Farcry 3 DirectX 11 HBAO+ Flag/Hex

    Using the 358.91 drivers I tested and found that using the 0x00090000 flag allows HBAO+ for Far Cry 3 without any AO haloing of transparent textures and objects. Note, you have to disable in-game AO by editing GamerProfile.xml in the documents folder (my games>far cry 3) by settings SSAOLevel=0, then save. Also I tested the AO parameters via hex edit to further refine the HBAO+ to eliminate angle bias AO flickering. I did not have to change the angle bias parameter only the multiplier.

    Farcry 3 DirectX 11 HBAO+ Flag/Hex
    Flag: 0x00090000 (Devil May Cry 4): FE 31 80 89 73 80 8C 0C 00 00 00 00
    Hex Edit: FE 31 80 89 A3 A0 8C 0C 00 00 00 00

    Screenshot Comparisions (Optimal,Ultra settings used with 2x MSAA @ 1920x1200 (16:10 AR)):

    No AO:
    [​IMG] [​IMG] [​IMG] [​IMG]

    [​IMG]

    HBAO+ via hex changes, but 0x00090000 might work fine though flickering can occur without hex changes:
    [​IMG] [​IMG] [​IMG] [​IMG]

    [​IMG]

    In-game HBAO:
    [​IMG][​IMG][​IMG][​IMG]
     
    Last edited: Nov 21, 2015
  4. RealNC

    RealNC Ancient Guru

    Messages:
    3,131
    Likes Received:
    1,355
    GPU:
    EVGA GTX 980 Ti FTW
    I don't know what the technical term is, but TAA in FO4 doesn't seem to do anti-aliasing as much as it makes edge detail disappear and blur with the background. For example, power lines, which are essentially very thin, sharp lines, are not really visible anymore when moving. Instead you see quite thick, very blurry lines that are barely visible, where before were thin, sharp lines.

    So instead of doing anti-aliasing, the detail is removed so that anti-aliasing is not needed anymore.

    However, even though it can look like you smeared vaseline on your monitor, it's still better than FXAA, since TAA completely eliminates shimmering when moving. The shimmering with FXAA is rather extreme; the grass and trees and such almost look like they're jumping around on your screen with FXAA.
     

  5. ZabaZuu

    ZabaZuu Active Member

    Messages:
    85
    Likes Received:
    0
    GPU:
    MSI GTX 1070 Gaming X
    If you have the godray setting on anything other than ultra or off, that kinda happens. The godrays run at sub-native resolution on settings lower than ultra.
     
  6. roxahris

    roxahris Member

    Messages:
    23
    Likes Received:
    0
    GPU:
    GTX 770 2GB
    Edge detail disappear? That's nonsense! Here's a comparison between having TAA on and off. The only detail I see being removed are illusions produced by aliasing. Perhaps your resolution is the cause, although it seems to hold together fine at 1080p as well.

    But this discussion really belongs in the antialiasing thread.
     
  7. Dreadmoth

    Dreadmoth Member

    Messages:
    26
    Likes Received:
    0
    GPU:
    MSI 1070Ti Titanium
    I think the Nvidia Fallout 4 Graphics, Performance and Tweaking Guide (down currently) mentioned that Ultra is rendered at "half"-resolution (960x540 at 1920x1080) and lower settings use "quarter"-resolution (which results in pretty noticeable 4x4 pixel blocks).

    Hmm, I tried that flag a few days ago and it didn't seem to have any effect at all. I'll give it another go later, maybe it just wasn't working in the areas I tested (Red Rocket and the flooded excavation site).
    EDIT: not seeing anything - could be an operating system / driver / hardware / resolution dependent issue?
     
    Last edited: Nov 24, 2015
  8. helder

    helder Active Member

    Messages:
    57
    Likes Received:
    0
    GPU:
    970 OC, 780 Ghz, 290X Tri
    It's definitely more subtle than the LoTF flag, but I'm pretty sure there's a difference, especially with some of the distant objects.

    Without flag:
    [​IMG]

    With flag:
    [​IMG]
     
    Last edited: Nov 23, 2015
  9. MrBonk

    MrBonk Ancient Guru

    Messages:
    3,022
    Likes Received:
    98
    GPU:
    MSI RTX 2080
    Thanks for clarifying.
    Most pictures i've seen it looks fine. http://screenshotcomparison.com/comparison.php?id=151416
    (This comparison makes it look great actually in solving aliasing issues and resolving detail. Resolving the specular aliasing issue present is actually fairly impressive to me.) (Lol I hadn't read the thread in a day or two and I actually found this on Screenshotcomparison.com first before here haha)

    It does seem like it make random textures use a lower mip map as in the comparison above. (or is an issue with something. Because it doesn't look like simple blurring. I can only spot like 2-3 instances of that in that whole shot.)
    (EDIT: Ok actually it seems to be mostly confined to really harsh specular issues. They probably target that with a wider filter or something. And so it makes it look a little bit softer than everything else)
    But I don't know I don't have the game so I can't say how it is in motion. The footage i've seen in compressed videos looked fairly decent from an AA point of view in motion.

    If people are saying it has ghosting though, based on the screen posted above by someone else, the game's own MB seems to cause a double image/ghosting like effect as well. So who knows how the two are interacting.
    Yes my thought as well. There are a lot of texture aliasing issues, specular aliasing issues, edge aliasing, geometry aliasing even maybe some moire that I can spot in that comparison (Thanks btw) that it seems to deal with at least in that still shot very well. Though whatever they are doing for the specular component could be dialed down just a tad.
     
    Last edited: Nov 23, 2015
  10. MrBonk

    MrBonk Ancient Guru

    Messages:
    3,022
    Likes Received:
    98
    GPU:
    MSI RTX 2080
    Anywho, I should be finishing my ToZ tonight after work. Been busy.
     

  11. Kleio420

    Kleio420 New Member

    Messages:
    9
    Likes Received:
    0
    GPU:
    GTX 1070 SLI
    there already are higher quality ppaa better then whats being used in games atm, and i called him dumb cause compared to most the solutions being pushed out fallout 4's "TAA" is the best ive seen lately and does a far better job then txaa x4 does on gta v imo this is in motion not static images clearly 4xmsaa done right will be better then post solutions minus a few. Pretty sure nvidia had a shader based supersampling post aa a few years back idk if it was ever used with anything tho, ubisoft made something very similar to it that had results close to 8xmsaa in quality but ive yet to see this done outside of console usage or to the degree shown in the tech demo...
    also there is ghosting in the TAA used by bethesda but there are also cvars you can change the TAA settings with ive not looked to see if they do anything as ghosting only shows up when i have low framerate and vsync off.. long story short i replied poorly cause someone likes to bash on something cause he has a hard on for the all holy msaa that no one can run anymore and being honest

    <<<<<i run 1080p and the actual need for aa is very little once i upgrade to 4k all ill need is a cheap fast ppaa >>>>

    also sidenote , considering most nvidia features im sure their godrays is only optimized for maxwell which runs it about 3x faster then previous keplar and gets worse so on and so on... Everyone should just wait for enb to get through bug testing and fix the crap bethesda put in their game
     
    Last edited: Nov 23, 2015
  12. Dreadmoth

    Dreadmoth Member

    Messages:
    26
    Likes Received:
    0
    GPU:
    MSI 1070Ti Titanium
    I can't see any change there (aside from slightly different time of day).

    Tested it again with MSI Afterburner OSD enabled and spotted one thing that does change significantly...

    SAO off, HBAO+ off

    SAO off, HBAO+ 0x00060000 (Call of Juarez(DX10), Call of Juarez)

    ...GPU usage / framerate. :(

    EDIT: Yay, I can post links now.

    •••••

    EDIT2:
    Decided to test a bunch of different flags while I'm here.
    SAO off, Nvidia Inspector Ambient Occlusion setting "High quality":

    HBAO+ off Baseline

    0x00100000 (Civilization V) Subtle, short range, cheap, GPU usage increased.

    0x00110000 (TitanFall) Strong, long range, expensive, GPU usage decreased.

    0x00120035 (Strife) Moderate, mid range, expensive, GPU usage decreased.

    0x00130000 (F1 2014) No visible effect, GPU usage decreased.

    0x00140000 (Lords of the Fallen) Strongest, long range, expensive, GPU usage decreased.

    0x00150000 (Sid Meier's Civilization Beyond Earth) No visible effect, GPU usage decreased.

    0x00160000 (Project CARS) No visible effect, GPU usage decreased.

    0x00170000 (Mortal Kombat X) No visible effect, GPU usage decreased.

    0x00180000 (Metal Gear Solid V The Phantom Pain, Metal Gear Solid V Ground Zeroes) No visible effect, GPU usage decreased.

    -----

    HBAO+ off, SAO on Moderate, long range, cheap, GPU usage increased. Lower precision compared to HBAO+ flags?


    EDIT3: Tested a few different locations (Vault 111, Thicket Excavations, The Castle) for water/fog bleed-through and camera angle breaking.

    0x00100000 (Civilization V): Breaks at certain angles (different from other flags), appears to break some surface lighting (specular?) at others. Minimal water/fog bleeding (from the places it actually worked) - though that might just be due to the short range of the effect.

    0x00110000 (TitanFall): Breaks at certain angles. Worst water/fog bleeding. Interestingly the strength of the AO effect and of the water/fog bleeding is reduced if you have a weapon drawn.

    0x00120035 (Strife): Breaks at certain angles. Slight water/fog bleeding at a distance, gets worse up close.

    0x00140000 (Lords of the Fallen): Breaks at certain angles. 2nd worst water/fog bleeding.
     
    Last edited: Nov 25, 2015
  13. helder

    helder Active Member

    Messages:
    57
    Likes Received:
    0
    GPU:
    970 OC, 780 Ghz, 290X Tri
    You could be right, I didn't test it extensively. Though, the time of day can't be that different, since I just saved and reloaded to take the picture. I had in-game SAO enabled in addition to the HBAO flag for both screenshots.
     
    Last edited: Nov 24, 2015
  14. MrBonk

    MrBonk Ancient Guru

    Messages:
    3,022
    Likes Received:
    98
    GPU:
    MSI RTX 2080
    If you guys can find a flag that doesn't break or turn off at certain angles, we can probably attempt to modify the flag to work so it doesn't bleed and what not.

    Reference this post
    http://forums.guru3d.com/showpost.php?p=5175028&postcount=1844

    Using the flag that doesn't turn on and off and only say bleeds.

    Modify the parameter bits. They are the same as with DX9


    00 00 00 00
    Strength
    00 00 00 00
    Use FP16 Linear-Z (0 = R32F, 1=R16F) (Each value further from 0 reduces precision more and more. Dark Souls II is the only one IIRC with a value greater than 1. 0 shouldn't be an issue)
    00 00 00 00
    AO Fog Amount (Values used in Official.Flags: 1,6,8,A,D,E,F) Also reference my last posts on Tales of Zestiria above if you can find them to see how AO Fog and others interact.
    00 00 00 00
    Blur Sharpness
    00 00 00 00
    Unused(?)
    00 00 00 00
    AO Fog Fade off factor (Distance to Half strength)
    00 00 00 00
    Angle Bias
    00 00 00 00
    Multiplier


    The values in a hex editor need to be entered manually when changing. Copy/Pasta will not work.
     
    Last edited: Nov 27, 2015
  15. MrBonk

    MrBonk Ancient Guru

    Messages:
    3,022
    Likes Received:
    98
    GPU:
    MSI RTX 2080
    Tales of Zestiria has been such a nightmare lol.

    Pretty much I think it's impossible solve certain issues, they don't crop up as much in lower resolutions, but they become more apparent around 1440p or so and get worse the higher you go after that.

    And now i've discovered an issue with my insertion logic too.
    Allowing a depth test pattern only in the match mask bits but not matching it in the insertion logic allows AO to work in certain scenes that it doesn't without (At least with the current set up. Setting Depth test in both does nothing), but this causes the aftermentioned problem here
    http://u.cubeupload.com/MrBonk/852TalesofZestiria20151.jpg
    Luckily it only seems to happen at high resolution (This was downsampled from 3072p). But it's still somewhat visible at 1440p even. Who knows what else it could cause later on?

    Virtual Fighter syndrome is also a wash. The only way I could figure out to make it invisible involved basically tweaking it to the point where the was almost no AO at all.

    I think i've gotten it though to a level of playability without major issues.
     

  16. MrBonk

    MrBonk Ancient Guru

    Messages:
    3,022
    Likes Received:
    98
    GPU:
    MSI RTX 2080
    Ok so I think I got it pretty much perfect as it's going to get.

    Will post later. I need to finish the OP for editing this stuff as well as finish the other guide.
     
  17. CrazyGenio

    CrazyGenio Master Guru

    Messages:
    434
    Likes Received:
    29
    GPU:
    Msi rtx 2080ti trio
    so if i change AO Fog Amount and AO Fog Fade off factor i can fix water and fog bleeding?. Or waht values should i change to fix that?, i want to try that on TF2 too Tf2 have a horrible ambient occlussion settings.
     
  18. MrBonk

    MrBonk Ancient Guru

    Messages:
    3,022
    Likes Received:
    98
    GPU:
    MSI RTX 2080
    They both tie into each other.

    It will most definitely fix bleeding when the game is using fogging. Set Fog amount to 2 and Fade off to 3 to start out and see how it looks.

    It might help water it might not. Water might need different insertion logic if through the combination of parameters doesn't fix it.
     
  19. Anarion

    Anarion Ancient Guru

    Messages:
    13,574
    Likes Received:
    337
    GPU:
    GeForce GTX 1070
    Any working flags for Jade Empire?
     
  20. Dreadmoth

    Dreadmoth Member

    Messages:
    26
    Likes Received:
    0
    GPU:
    MSI 1070Ti Titanium
    EDIT: Don't use this, no longer reliable.

    - Grim Dawn -
    Flag: 0x00000032 (FIFA 14)
    |||||||||||||||||||||||||||||||||||||||||||||||||| ||||||||||||||||||||
    General Information: Subtle effect. Haven't noticed any glitches with it enabled. Doesn't bleed through fog/water as far as I've seen.
    EDIT: in certain areas the AO strength seems to increase, when this occurs it bleeds through fog a bit.
    AO sometimes turns off (or decreases in intensity) while the cursor is over certain characters and items and/or when some ability effects are on-screen.

    Screenshots:

    No AO: One | Two

    0x00000032 (FIFA 14): One | Two

    (screenshots taken with 32xCSAA (CSAA actually has an effect with the in-game Alpha to Coverage option enabled) and 8xTrSSAA forced, no AA bits. Ambient Occlusion setting: High quality.)

    0x00000029 (Elder Scrolls V: Skyrim) is a potential stronger alternative, but the shading on grass is too dark - a modification to the flag might be able to fix that issue.

    Tested many other flags, most don't shade grass, break at certain angles and/or bleed through fog and water.


    -----

    Testing some now - only checked on the menu so far but 0x0000002E (Guild Wars 2) seems to work reasonably well (fairly subtle, doesn't bleed through fog/light rays or the waterfall, shades grass and tree leaves).

    EDIT: 0x00000032 (FIFA 14) also works, even lighter than 2E but has slightly longer draw distance (I think... :3eyes: ). Could be improved with flag editing?

    Tested a lot of other flags, most of the ones that actually produce a visible effect either have fog bleeding issues or fail to cover certain objects (e.g. player character, some walls and stairs).
     
    Last edited: Nov 30, 2019

Share This Page