{"id":74,"date":"2008-10-11T09:02:05","date_gmt":"2008-10-11T16:02:05","guid":{"rendered":"http:\/\/www.venzon.org\/?p=74"},"modified":"2008-10-11T09:06:05","modified_gmt":"2008-10-11T16:06:05","slug":"screenspace-depth-based-contast-enhancement-effect","status":"publish","type":"post","link":"http:\/\/www.venzon.org\/?p=74","title":{"rendered":"Screenspace depth-based contast enhancement effect"},"content":{"rendered":"<p>I spent a little bit of time with the VDrift refactor code implementing this effect:<\/p>\n<p><a href=\"http:\/\/graphics.uni-konstanz.de\/publikationen\/2006\/unsharp_masking\/webseite\/results.html\">http:\/\/graphics.uni-konstanz.de\/publikationen\/2006\/unsharp_masking\/webseite\/results.html<\/a><\/p>\n<p>It&#8217;s kind of like a cheap version of the Crysis SSAO that isn&#8217;t very convincing as AO, but when it&#8217;s applied lightly makes for a good improvement in apparent image quality.\u00c2\u00a0 The improvement is especially noticeable with flat-shaded objects.\u00c2\u00a0 It&#8217;s about as expensive as a 3&#215;3 PCF shadow filter.\u00c2\u00a0 I turned off all of VDrift&#8217;s fancy graphics and took screenshots with the effect on and off.<\/p>\n<p>The effect is difficult to see after jpg compression, but focus on the car&#8217;s back bumper.\u00c2\u00a0 With the effect on there&#8217;s subtle shading between the back bumper and the track.\u00c2\u00a0 Also, look at the big start banner and its left and right side supports &#8212; they have a little more &#8220;pop&#8221; now.\u00c2\u00a0 In motion in the game it really does improve the image quality, but I&#8217;m not sure if it&#8217;s worth the expense, especially in the context of a racing game where you don&#8217;t notice it very much.<\/p>\n<div id=\"attachment_76\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.venzon.org\/wp-content\/uploads\/2008\/10\/depthcontrastenhance-off.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-76\" class=\"size-thumbnail wp-image-76\" title=\"depthcontrastenhance-off\" src=\"http:\/\/www.venzon.org\/wp-content\/uploads\/2008\/10\/depthcontrastenhance-off-150x150.jpg\" alt=\"Screenspace depth-based contrast enhancement effect -- effect OFF\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-76\" class=\"wp-caption-text\">Screenspace depth-based contrast enhancement effect -- effect OFF <\/p><\/div>\n<div id=\"attachment_75\" style=\"width: 160px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.venzon.org\/wp-content\/uploads\/2008\/10\/depthcontrastenhance-on.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-75\" class=\"size-thumbnail wp-image-75\" title=\"depthcontrastenhance-on\" src=\"http:\/\/www.venzon.org\/wp-content\/uploads\/2008\/10\/depthcontrastenhance-on-150x150.jpg\" alt=\"Screenspace depth-based contrast enhancement effect -- effect ON\" width=\"150\" height=\"150\" \/><\/a><p id=\"caption-attachment-75\" class=\"wp-caption-text\">Screenspace depth-based contrast enhancement effect -- effect ON<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I spent a little bit of time with the VDrift refactor code implementing this effect: http:\/\/graphics.uni-konstanz.de\/publikationen\/2006\/unsharp_masking\/webseite\/results.html It&#8217;s kind of like a cheap version of the Crysis SSAO that isn&#8217;t very convincing as AO, but when it&#8217;s applied lightly makes for a good improvement in apparent image quality.\u00c2\u00a0 The improvement is especially noticeable with flat-shaded objects.\u00c2\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-74","post","type-post","status-publish","format-standard","hentry","category-prototyping"],"_links":{"self":[{"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/posts\/74","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=74"}],"version-history":[{"count":4,"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions"}],"predecessor-version":[{"id":80,"href":"http:\/\/www.venzon.org\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions\/80"}],"wp:attachment":[{"href":"http:\/\/www.venzon.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.venzon.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.venzon.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}