Jump to content
The Dark Mod Forums

Ambient Occlusion & Bounce Lighting


MirceaKitsune

Recommended Posts

Wow this eats alot of FPS and its not even that visible O.o The filter radius is way to big!

Not so big. You can then adjust intensity and blending ;)

This is only to test FPS tanking (a smash with 64 samples :D ) and fidelity (it's really really good for a SSAO implementation).

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.

Link to comment
Share on other sites

What I love about AO is that it really grounds objects and if you want to improve FPS's then just disable shadows on small non important objects and they will still look planted in the ground, instead of looking like they are floating. Frictional games used this to great effect on Amnesia and Soma.

 

Also imo this stuff should be implemented internally on the engine and not be applied has a post process, that way the effect could take better advantage of the scene info. Also what you guys think about large scale AO first used in Crysis?

Link to comment
Share on other sites

SSAO is ugly, but it's an option that anybody can toggle so I have no problem with people who want or don't want it.

 

Still, what really bothers me is that SSAO is not a "cure all" for...Light where there shouldn't be, it's a very ugly and always badly calibrated/inaccurate method.

The best thing would be to just make everything have shadow-emitting lighting, a game called "Exanima" has this kind of function, no SSAO is present yet you don't see "overly lit areas".

 

I just hope that with SSAO implemented there can also be MXAO, HDAO and even HBAO.

Link to comment
Share on other sites

The Marty McFly solution is *above* HBAO+ as quality yield.....no "fake" darkening auras around the objects at all, no grain noise patches and perfect temporal stability (no shimmering moving around).

Edited by lowenz

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.

Link to comment
Share on other sites

Stop speaking in these "ultraism" terms.

There are different types of AO. ScreenSpace AO is by design always the lacking one.

AO that uses geometry data without camera perspective is what we would need.
It would be accurate and would not follow a pattern.

Grain is a general issue of filtering, we have that because of Hardware limitations, not because of bad shadercode.
If you want no grain, just push the filter samples up and see your pc slowly dying.

 

A screenspace calculated AO will never ever reach the quality level which a scene based will have.
You can look this technique up in Battlefield 3, it costs alot but looks very good and for most: its not depth dependent.

Can we have more scary Zombie Horror maps?

Link to comment
Share on other sites

Those screenshots are awesome! Thanks for testing it. Can you summarize your experiments with respect to performance impact?

 

SSAO is in the 2.08 roadmap, actually: http://bugs.thedarkmod.com/view.php?id=4972 I've no idea whether STiFU has started work on it, though.

Apparently not, and I don't think I am going to get around to it any time soon. Gonna unassign that task from me for now.

Link to comment
Share on other sites

Lastest version of MXAO HQ (+Normal Smoothing), lastest version of ReShade from the master tree too :)

Saint Lucia!

 

AO:

The-Dark-Modx64-2019-05-01-17-27-49.jpg
Game (97 FPS):
The-Dark-Modx64-2019-05-01-17-28-46.jpg

 

Game+AO (60 FPS):

The-Dark-Modx64-2019-05-01-17-28-39.jpg

Edited by lowenz
  • Like 1

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.

Link to comment
Share on other sites

I preferred the previous comparison...in this one I agree I can't see much difference at all.

Link to comment
Share on other sites

Amnesia and Soma are pretty dark games and imo SSAO is noticeable on them, plus even tho is still a heavy effect is not so heavy as we see here, perhaps the injection process takes a big toll on the frame?

 

Can you show one with AO on and shadows totally off? Just curious how it looks versus the performance.

Edited by HMart
Link to comment
Share on other sites

Of course the injection takes away some frame time, and OpenGL is not the primary target of ReShade (count how much OpenGL games are released today).

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.

Link to comment
Share on other sites

  • 2 weeks later...

@lowenz – did you use some special tricks to get correct AO in TDM? I've been using latest version of ReShade, and MXAO effect is totally inverted on my hardware :/

'cause reshade by default uses the inverted depth buffer :P

 

Simply set it to "0" in the preprocessor section.

Edited by lowenz

Task is not so much to see what no one has yet seen but to think what nobody has yet thought about that which everybody see. - E.S.

Link to comment
Share on other sites

Yup, that worked, thanks :) With MXAO default quality settings, the fps drop was from 140 to 115 fps on my hardware. Biggest problem so far is the MXAO switching on and off, and TDMs alpha planes used instead of light bloom/postprocessing effects, as AO looks like thick black lines rendered behind it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 4 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...