<- Back
Comments (43)
- skippyfishI don't think the author makes a persuasive argument. Most of the photos they're analyzing are obviously lit by various point light sources, e.g.:https://nothings.org/gamedev/ssao/IMG_0064.JPGYou can see a sharp shadow near the door frame. So yeah, ambient occlusion is not going to simulate that, but it was never supposed to?It's supposed to make 3D shapes look good without the need to place lights or do more complex ray tracing. It roughly approximates what you could perhaps see inside a photographic lightbox. Light is coming from every direction and every surface is matte.The reason it's used in computer games is not that it's photorealistic under all lighting conditions. It's that it makes geometries look better than before with less computational overhead than the alternatives. Harsh lights often look nasty and diffuse lighting is expensive.
- overgardI agree with his overall point, but I would point out: realism is not usually the point, the point is to look good. The problem with realism is once you get past "wow the computer can do that now", it's not very interesting -- most of reality is pretty dull looking!
- jareklupinski> https://nothings.org/gamedev/ssao/IMG_0059.JPGi wonder if this is on purpose to avoid this illusion where i cant tell if im looking at a convex or concave just from three lines
- mfroSSAO really is awful but it’s the best performing AO we could get for a long time afaik. It’s such a hallmark of 00s and 10s rendering that I laugh every time I see it in a modern release. There are some new solutions hitting the space, I believe RTGI/PT inherently handles AO, and there is even a new method called ‘FidelityFX CACAO’ which does look considerably more realistic. Things are improving… slowly.
- jameshartDiscussed previously here in 2022: https://news.ycombinator.com/item?id=30595038I still can’t help but read most of this article as a story of a guy trying to prove his theory that corners aren’t actually dark, taking photos and plotting luminance graphs of corners, repeatedly getting these strong vee-shaped graphs that indicate that the surface darkens linearly towards the corner, and just gathering more and more pictures until eventually he finds some which show flat luminance lines, at which point he declares victory because he’s proven that corners don’t darken.
- logdahlI find this very interesting. I have implemented AO myself and understood that its physically inaccurate (it should really be radiosity presence, not ambient occlusion), but have believed the results to look realistic. Or rather; better than flatly lit, which makes geometry hard to understand.Thank you for these photographs! It would be awesome to have a CG benchmark like this (geometry + light properties) that we could compare to. I'm sure this exists already but. Very neat!
- strogonoffWhen comparing game engine rendering to photos, we often end up comparing to photographed scene + whatever processing that happened to take place in order to convert that scene data to display-referred space, which is not quite apples to apples.
- ahartmetzSSAO is cheap, doesn't work that well and looks terrible if overdone, as many games did 10-15 years ago. The simple workaround is to dial down the SSAO so that it's maybe weaker than ambient occlusion in reality, but also not noticeably wrong or overdone. Fortunately, the settings often allow that. Problem mostly solved!It's a common pattern that newly possible (usually due to hardware) effects are overdone for the wow / up-to-date look effect.
- cosmic_cheeseThe thing that’s always bugged me about SSAO is the “jitter” visible when the player character or camera moves, which I would imagine is due to it being calculated in screen space. In some cases it’s so distracting it breaks immersion.Given that accuracy isn’t the goal anyway I’ve often wondered if it wouldn’t be better in many cases to apply a sort of pre-calculated AO that uses a relatively small atlas of shading textures rendered on flat surfaces as decals (disclaimer: I am not a graphics programmer). It’d apply only to angular surfaces (so for example human faces wouldn’t be included) but I’d say that 80-90% of the benefit of AO lies in things like corners of rooms anyway — it’s really just manmade objects that look bad without AO, organic shapes don’t suffer nearly as badly.
- raincoleSo what's the best real time alternative to SSAO?
- ivanjermakovAmbient occlusion is not only about realistic indirect lighting, but also about giving objects more depth. Great example here: https://developer.playcanvas.com/user-manual/graphics/lighti...Also, looking just at inner corners of the room is too specific, SSAO affects creases everywhere, not just at the inner corners of the box.
- seemazeIn 20 years of archviz, I've only encountered ambient occlusion as a shortcut to save on compute; such as real-time viewport effects or to constrain resources on large render jobs. I've never heard anyone argue that it was physically realistic, realism was always the domain of ray tracing.
- BearOsoI think part of this is the mach bands illusion. We perceive some darkening at the transition between shades and think we have to replicate it in rendering. But we really don't because the brain creates the effect, so artificially adding it makes it really exaggerated.
- crystalnBut corners do look better in video games like that.
- x1n13y84issmd42Some Captain Obvious stuff.Literally nothing real looks like CG. Shadows and lighting don't look like that. Optical effects don't look like that. People don't move like they do in games and CG animations. Physics IRL doesn't work like it does in games. Real world doesn't look like filtered JPEGs stretched over wireframes with LODs.
- IshKebabFrom the photos they mostly look a bit like light SSOA. Obviously some devs overdo it, but that's not SSOA's fault. And we know SSAO isn't physically based. Of course it's not going to perfectly match reality.
- GameOfKnowingAuthor took his example photos in the backrooms lol
- monster_truckRegardless of how right or wrong this is, I woulda walked around with a vacuum first to get all those cobwebs before trying to make my point.I'm far from a neatfreak but if those are there can you imagine what the inside of bro's computer looks like? Poor thing is probably so hot
- Sohcahtoa82[dead]