HBAO+ Compatibility Flags Thread

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

  1. pedigrew

    pedigrew Master Guru

    Messages:
    203
    Likes Received:
    1
    GPU:
    EVGA GTX770 SC ACX 2GB
    Try this, having 8 instead of 1,2,3 usually fixes bleeding for me but you can run into flickering, which if ur lucky enough, can be later fixed with PMM values, I don't think you can fix bleeding while "Inserting AO at Present".

    AE 88 00 18 00 00 00 18 65 20 B8 08 00 00 00 00

    Best of luck :eyes:
     
  2. MrBonk

    MrBonk Ancient Guru

    Messages:
    3,000
    Likes Received:
    85
    GPU:
    MSI RTX 2080
    You could with Ao at present, just depends on the game probably.
     
  3. DirtyDan

    DirtyDan Master Guru

    Messages:
    324
    Likes Received:
    3
    GPU:
    EVGA GTX 970 FTW 4GB
    Here's a comparison w/ tomb raider dx11, maybe not the best example but one nonetheless

    HBAO+

    [​IMG]

    OFF

    [​IMG]
     
  4. Dreadmoth

    Dreadmoth Member

    Messages:
    26
    Likes Received:
    0
    GPU:
    MSI 1070Ti Titanium

  5. kanuuna

    kanuuna New Member

    Messages:
    6
    Likes Received:
    0
    GPU:
    GTX 980
    Did you apply the Hex edit I posted earlier? Looks a tad stronger than what I remember my case looking like.
    Also one thing to note about Tomb Raider and HBAO - the effect doesn't work with Super Sampling enabled (in my experience).

    Edit: I'll maybe post a screenshot or two now that I've managed to fill the 5 post quota to be able to post stuff.
     
  6. DirtyDan

    DirtyDan Master Guru

    Messages:
    324
    Likes Received:
    3
    GPU:
    EVGA GTX 970 FTW 4GB
    I have no clue how the hex thing works, how would i do this?
     
  7. 256k

    256k Member Guru

    Messages:
    137
    Likes Received:
    2
    GPU:
    1070M & 2080TI Trio
    has anyone been able to put that HBAO+ bit without bleeding? the game is oficially out tomorrow, wanna play already! :D
     
  8. DirtyDan

    DirtyDan Master Guru

    Messages:
    324
    Likes Received:
    3
    GPU:
    EVGA GTX 970 FTW 4GB
    Yeah, i swear the game already had AO in it, cuz i can see it bleeding through fog. You can disable that and other effects by editing the .exe with a hex editor (HxD) and finding "uAmbientOcclusionFilter" oor what not.

    I REALLY want some HBAO haha. And pray to GabeN that Durante makes it work with gedosato for some texture mods!

    Never got around to this game the first time, so glad i waited, this thing is a masterpiece. Great port too, i reward good behavior of studios by buying their game especially if its a good port. And they have good support. Best ive seen recently is Rainbow Six: Siege.

    Anyone got HBAO working for Assassin's Creed Chronicles India?
     
  9. kanuuna

    kanuuna New Member

    Messages:
    6
    Likes Received:
    0
    GPU:
    GTX 980
    Following up on these, here are some screenshots with the edited Project CARS flag on Tomb Raider and DE:HR DX11. I haven't got any comparison shots, but hopefully these will give you some idea of what to expect.

    Deus Ex: Human Revolution Director's Cut:
    Screenshot 1, Screenshot 2, Screenshot 3, Screenshot 4, Screenshot 5, Screenshot 6

    Tomb Raider:
    Screenshot 1, Screenshot 2, Screenshot 3



    Follow the instructions in the first post. I don't really know how to explain it more plainly, because I'm definitely not an expert at it. But I'll try.

    To edit the Project CARS flag for example, you'll need to search for the right line in the nvwgf2um.dll and/or nvwgf2umx.dll files. The Hex lines for each flag can be found on the list provided in the first post. In the case of Project CARS, you're looking for 76 10 00 82 77 30 53 0E 02 00 00 00

    After that, follow the instructions for editing the flag. The flag is broken up in 3 parts:
    • First eight digits (4 pairs), in this case 76 10 00 82 77 30 53 0E 02 00 00 00 control insertion logic (which I didn't dive into)
    • The second part 76 10 00 82 77 30 53 0E 02 00 00 00 controls parameters (strenght and more)
    • Editing the final string of numbers (debug bits) 76 10 00 82 77 30 53 0E 02 00 00 00 doesn't do anything.

    What little editing I did happened in the second part, color coded green here.
    I adjusted the following values (all of which can, once again, be found in the first post):
    • Strenght: last digit/letter of the second part - 77 30 53 0E
    • AO Fog Amount: last digit/letter of the third pair of the second part Strenght: last digit/letter of the second part 77 30 53 0E
    • AO Fog Fade off factor: first digit of the second pair of the second part - 77 30 53 0E

    You can look for values on the other flags for values to replace the default digits/letters in place. AFAIK, there's no list of values that can be inserted, or what value delivers the highest or lowest intensity for a certain effect. I would wager that setting anything to 0 disables any effect, though. Sliders would of course be convenient, but that's the stuff of dreams.

    I'm sure this write-up is more confusing than helpful, but at least I'll feel better knowing that I tried. :angel:
     
    Last edited: Jan 14, 2016
  10. DirtyDan

    DirtyDan Master Guru

    Messages:
    324
    Likes Received:
    3
    GPU:
    EVGA GTX 970 FTW 4GB
    thanks a lot dude! ill fiddle around with it! does anyone have a flag for Goat Simulator by any chance? i guess MAYBE the same one for rocket league flag might work?
     

  11. Dreadmoth

    Dreadmoth Member

    Messages:
    26
    Likes Received:
    0
    GPU:
    MSI 1070Ti Titanium
    New 1.3 beta update for Fallout 4 added a built-in HBAO+ option :D

    Will test in a bit, but found this comparison (source):

    SAO: http://i.imgur.com/i68lGYH.jpg
    HBAO+: http://i.imgur.com/fiFzsXd.jpg

    Comparison album

    EDIT: Took some shots myself...

    Vault 111:
    SAO: http://i.imgur.com/6Zvvuik.jpg
    HBAO+: http://i.imgur.com/RPZKEHa.png

    Diamond City:
    SAO: http://i.imgur.com/d48xMzW.jpg
    HBAO+: http://i.imgur.com/BMXfrg1.png
    HBAO+ (4K downsample): http://i.imgur.com/J7idQ7j.png

    Performance impact seems fairly light, VRAM usage may increase by >500MB in some areas (2 - 3GB GPUs beware). Resolution scaling seems good, might become too sharp in some scenes at very high resolutions.

    HBAO+ has a section in the Fallout4Prefs.ini file

    -----

    Bonus - new weapon debris effects (Nvidia FleX):

    None: http://i.imgur.com/AkDlZib.jpg
    Some (ultra setting): http://i.imgur.com/DmpGPft.jpg

    Video: https://gfycat.com/DisguisedInsistentGoshawk

    These also have their own section in the Fallout4Prefs.ini under [NVFlex]
     
    Last edited: Jan 16, 2016
  12. CK the Greek

    CK the Greek Maha Guru

    Messages:
    1,278
    Likes Received:
    11
    GPU:
    GB 2060S,Gsync,3DV2
  13. Zyrusticae

    Zyrusticae Active Member

    Messages:
    57
    Likes Received:
    0
    GPU:
    eVGA GTX 670 4GB (x2)
    Well, Blade & Soul just completely confounds me.

    There's this weird flickering that is ever-present regardless of whatever settings I use. Whatever modifications Team Bloodlust did to get that particular look appears to have rendered it utterly impossible to get HBAO+ working smoothly (without resorting to the brute-force method of "Insert Present" + "Before Stretch Rectangle", which is obviously a very suboptimal solution).

    If someone else wants to take a crack at it, be my guest! Right now, I'm just utterly confounded.
     
  14. MrBonk

    MrBonk Ancient Guru

    Messages:
    3,000
    Likes Received:
    85
    GPU:
    MSI RTX 2080
    http://u.cubeupload.com/kanuuna/DXHRDC20160104034054.png

    Definitely needs a little tweaking IMO. There is still some bleeding visible in the distance there.
    As well the effect looks a little too strong on both to the point where it sticks out I think too much, but that's just me.

    Play with the fog variables to see if you can fix that please. (On both probably)

    As well as on Off shots.

    I need more of a proper post if it is going to be added. Thanks, looks promising.


    ______________
    I'm glad FO4 exposes the settings for HBAO+. Everyone can tailor it to their preferences.


    Are there any UE3 flags in the driver that don't flicker at all without modification?

    If there is, use one of those but only modify the parameter bits and play around with the various settings to see if you can reduce bleeding that way. Keep strength on the low side (Between 0-5) too, it will probably help out.
     
  15. GuruKnight

    GuruKnight Master Guru

    Messages:
    861
    Likes Received:
    12
    GPU:
    2 x 980 Ti AMP! Ex
    This is a really excellent post, good work :)
    I just wish Bethesda would have waited a few more months before releasing FO4, which would have allowed both bugfixing and full GameWorks effects to be included in the official retail release.
    This would also have given NVIDIA a little more time to include an SLI profile in their drivers.

    These developers rushing things out the door is driving me nuts sometimes :3eyes:
     

  16. 256k

    256k Member Guru

    Messages:
    137
    Likes Received:
    2
    GPU:
    1070M & 2080TI Trio
    Any news with HBAO+ for DDDA? (Dragons Dogma Dark Arisen)
     
  17. Gitaroo

    Gitaroo Member

    Messages:
    24
    Likes Received:
    0
    GPU:
    Geforce 670/2 gigs
    0x00000013 works but bleeding is god aweful that kills it. Using ENB mod and the bleeding is minimal.
     
  18. DirtyDan

    DirtyDan Master Guru

    Messages:
    324
    Likes Received:
    3
    GPU:
    EVGA GTX 970 FTW 4GB
    Any flags for

    Scrap Mechanics - Ogre Engine - OpenGL
    Slime Ranchers - Unity - DX9 or DX11 forced
     
  19. MrBonk

    MrBonk Ancient Guru

    Messages:
    3,000
    Likes Received:
    85
    GPU:
    MSI RTX 2080
  20. ToasTinButtered

    ToasTinButtered Member

    Messages:
    20
    Likes Received:
    0
    GPU:
    EVGA GTX 980
    Serious Sam 2 flag: 0x0000001F (Demigod)
    [Can't insert image due to post count less than 5]

    Out of all 75 flags on the list in Nvidia Inspector, this is the only flag that works out pretty nice for this game. :)
     

Share This Page