Jump to content
The Dark Mod Forums
Sign in to follow this  
MirceaKitsune

Ambient Occlusion & Bounce Lighting

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.

Share this post


Link to post
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?

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
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?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

There's the injection cost too.

 

Total performance hit: medium-high.


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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Wow, 37 fps less. That's quite heavy!!

Share this post


Link to post
Share on other sites

And still almost unnoticeable in TDMs dark setting.

5% performance loss would be acceptable for this effect. I bet a far more crude solution would do just fine.

Edited by Judith

Share this post


Link to post
Share on other sites

And still almost unnoticeable in TDMs dark setting.

I agree. Maybe you should first fix the white compass bug caused by 2.07 that some of us experience due to the improved soft shadows ;)!

Share this post


Link to post
Share on other sites

Wow, 37 fps less. That's quite heavy!!

With 16 samples.

Other 10 FPS less for 64 samples.


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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

@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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

The classic "bleeding" issue.


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.

Share this post


Link to post
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.

Sign in to follow this  

×
×
  • Create New...