Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

How is Ambient Occlusion Calculated?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
4 replies to this topic

#1 dvds414   Members   

192
Like
0Likes
Like

Posted 16 June 2013 - 05:06 AM

So I have gotten some depth maps online and I was just messing around with them and rendering them to a quad on my screen and trying to achieve ambient occlusion. Does anyone know how I can simply calculate ambient occlusion just using depth? Thanks!



#2 froop   Members   

642
Like
1Likes
Like

Posted 16 June 2013 - 08:59 AM

Hey, this article could be very interesting for you: http://theorangeduck.com/page/pure-depth-ssao

 

Apparently they compute the normals from the depth map during the ssao pass. Ps: It was the first hit on google for "ssao depth only".



#3 cowsarenotevil   Members   

2924
Like
1Likes
Like

Posted 16 June 2013 - 11:06 AM

Hey, this article could be very interesting for you: http://theorangeduck.com/page/pure-depth-ssao

 

Apparently they compute the normals from the depth map during the ssao pass. Ps: It was the first hit on google for "ssao depth only".

 

For the record, a lot of implementations don't even bother reconstructing the normals; they only measure the difference in depth between the occluder and the occludee.


-~-The Cow of Darkness-~-

#4 froop   Members   

642
Like
0Likes
Like

Posted 16 June 2013 - 01:56 PM

 

Hey, this article could be very interesting for you: http://theorangeduck.com/page/pure-depth-ssao

 

Apparently they compute the normals from the depth map during the ssao pass. Ps: It was the first hit on google for "ssao depth only".

 

For the record, a lot of implementations don't even bother reconstructing the normals; they only measure the difference in depth between the occluder and the occludee.

 

 

True, good call.



#5 / rouncer   Members   

294
Like
0Likes
Like

Posted 19 June 2013 - 06:05 AM

If youve got a bitching video card you can attempt to fire/march the rays, youll get more long distance occlusions that way, even soft shadows, but I wouldnt do it unless you had a titan at your disposal. :)






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.