{"id":149,"date":"2010-06-06T18:12:48","date_gmt":"2010-06-07T01:12:48","guid":{"rendered":"http:\/\/www.venzon.org\/?p=149"},"modified":"2010-06-06T18:12:48","modified_gmt":"2010-06-07T01:12:48","slug":"screenspace-ambient-occlusion","status":"publish","type":"post","link":"http:\/\/www.venzon.org\/?p=149","title":{"rendered":"Screenspace Ambient Occlusion"},"content":{"rendered":"<p>I finally got on the SSAO bandwagon and have my own implementation up and running. It&#8217;s mostly the implementation <a href=\"http:\/\/www.gamedev.net\/reference\/programming\/features\/simpleSSAO\/\">here<\/a>, but with some tweaks from <a href=\"http:\/\/www.gamedev.net\/community\/forums\/topic.asp?topic_id=556187&#038;PageSize=25&#038;WhichPage=9\">this (similar) implementation<\/a>. It&#8217;s pretty slow on my 7900GT, but any recent card shouldn&#8217;t have too much trouble with it. Here are screenshots without AO and with AO, for comparison. There are some artifacts around the headlights, but that&#8217;s due to the odd geometry tessellation in that spot.<br \/>\n<a href=\"http:\/\/www.venzon.org\/wp-content\/uploads\/2010\/06\/ssao_off.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.venzon.org\/wp-content\/uploads\/2010\/06\/ssao_off-300x209.jpg\" alt=\"\" title=\"ssao_off\" width=\"300\" height=\"209\" class=\"alignnone size-medium wp-image-150\" srcset=\"http:\/\/www.venzon.org\/wp-content\/uploads\/2010\/06\/ssao_off-300x209.jpg 300w, http:\/\/www.venzon.org\/wp-content\/uploads\/2010\/06\/ssao_off.jpg 875w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<a href=\"http:\/\/www.venzon.org\/wp-content\/uploads\/2010\/06\/ssao_on.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.venzon.org\/wp-content\/uploads\/2010\/06\/ssao_on-300x209.jpg\" alt=\"\" title=\"ssao_on\" width=\"300\" height=\"209\" class=\"alignnone size-medium wp-image-151\" srcset=\"http:\/\/www.venzon.org\/wp-content\/uploads\/2010\/06\/ssao_on-300x209.jpg 300w, http:\/\/www.venzon.org\/wp-content\/uploads\/2010\/06\/ssao_on.jpg 875w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I finally got on the SSAO bandwagon and have my own implementation up and running. It&#8217;s mostly the implementation here, but with some tweaks from this (similar) implementation. It&#8217;s pretty slow on my 7900GT, but any recent card shouldn&#8217;t have too much trouble with it. Here are screenshots without AO and with AO, for comparison. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-149","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.venzon.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=149"}],"version-history":[{"count":1,"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions"}],"predecessor-version":[{"id":152,"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/posts\/149\/revisions\/152"}],"wp:attachment":[{"href":"http:\/\/www.venzon.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.venzon.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.venzon.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}