{"id":4171,"date":"2019-10-16T12:02:56","date_gmt":"2019-10-16T19:02:56","guid":{"rendered":"http:\/\/mattfife.com\/?page_id=4171"},"modified":"2024-11-11T10:45:36","modified_gmt":"2024-11-11T17:45:36","slug":"adaptive-volumetric-shadow-maps","status":"publish","type":"page","link":"https:\/\/mattfife.com\/?page_id=4171","title":{"rendered":"Adaptive Volumetric Shadow Maps"},"content":{"rendered":"\n<p><strong>By&nbsp;<a href=\"https:\/\/software.intel.com\/en-us\/user\/166922\">Matthew Fife<\/a>,&nbsp;<a href=\"https:\/\/software.intel.com\/en-us\/user\/944147\">Filip Strugar<\/a>, published on March 27, 2013<\/strong>&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"516\" height=\"258\" data-attachment-id=\"12630\" data-permalink=\"https:\/\/mattfife.com\/?attachment_id=12630\" data-orig-file=\"https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2024\/11\/AVSM1.png?fit=516%2C258&amp;ssl=1\" data-orig-size=\"516,258\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"AVSM1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2024\/11\/AVSM1.png?fit=516%2C258&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2024\/11\/AVSM1.png?resize=516%2C258&#038;ssl=1\" alt=\"\" class=\"wp-image-12630\" srcset=\"https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2024\/11\/AVSM1.png?w=516&amp;ssl=1 516w, https:\/\/i0.wp.com\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2024\/11\/AVSM1.png?resize=300%2C150&amp;ssl=1 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/figure>\n<\/div>\n\n\n<p>Adaptive Volumetric Shadow Maps use a new technique that allows a developer to generate real-time adaptively sampled shadow representations for transmittance through volumetric media.&nbsp; This new data structure and technique allows for generation of dynamic, self-shadowed volumetric media in real-time rendering engines using today\u2019s Microsoft DirectX* 11 hardware.<\/p>\n\n\n\n<p>Each texel of this new kind of shadow map stores a compact approximation to the transmittance curve along the corresponding light ray.&nbsp; The main innovation of the AVSM technique is a new streaming compression algorithm that is capable of building a constant-storage, variable-error representation of a visibility curve that represents the light ray\u2019s travel through the media that can be used in later shadow lookups.<\/p>\n\n\n\n<p>Another exciting part of this sample is the use of a new pixel shader ordering feature found in new Intel\u00ae Iris&#x2122; and Intel\u00ae Iris&#x2122; Pro graphics hardware. Two implementations are provided in this sample &#8211; a standard DirectX implementation, and an implementation that utilizes this new graphics hardware feature.<\/p>\n\n\n\n<p>This sample was authored by Matt Fife (Intel), Filip Strugar (Intel)&nbsp;with contributions from Leigh Davies (Intel), based on an original&nbsp;article and samplet from Marco Salvi (Intel).<\/p>\n\n\n\n<p>Original article link is here, but appears broken: <a href=\"https:\/\/software.intel.com\/en-us\/blogs\/2013\/03\/27\/adaptive-volumetric-shadow-maps\">https:\/\/software.intel.com\/en-us\/blogs\/2013\/03\/27\/adaptive-volumetric-shadow-maps<\/a><\/p>\n\n\n\n<p>Internet Wayback Machine link in case that breaks: <br> <a href=\"https:\/\/web.archive.org\/web\/20131227104350\/https:\/\/software.intel.com\/en-us\/blogs\/2013\/03\/27\/adaptive-volumetric-shadow-maps\"><\/a><a href=\"https:\/\/web.archive.org\/web\/20151015023722\/https:\/\/software.intel.com\/en-us\/blogs\/2013\/03\/27\/adaptive-volumetric-shadow-maps\">https:\/\/web.archive.org\/web\/20131227104350\/https:\/\/software.intel.com\/en-us\/blogs\/2013\/03\/27\/adaptive-volumetric-shadow-maps<\/a><a href=\"https:\/\/web.archive.org\/web\/20151015023722\/https:\/\/software.intel.com\/en-us\/blogs\/2013\/03\/27\/adaptive-volumetric-shadow-maps\"> <\/a><\/p>\n\n\n\n<p><a href=\"http:\/\/software.intel.com\/en-us\/articles\/adaptive-volumetric-shadow-maps\" target=\"_blank\" rel=\"noreferrer noopener\">Adaptive Volumetric Shadow Maps<\/a>,&nbsp;EGSR 2010 paper&nbsp;by Marco Salvi.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/software.intel.com\/sites\/default\/files\/managed\/38\/d6\/AVSM1.png?w=640&#038;ssl=1\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/software.intel.com\/sites\/default\/files\/managed\/01\/5f\/Curve.jpg?w=640&#038;ssl=1\" alt=\"\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/software.intel.com\/sites\/default\/files\/managed\/a5\/01\/Curve2.png?w=640&#038;ssl=1\" alt=\"\"\/><\/figure>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2019\/10\/avsm.zip\"><strong>Code:<\/strong> avsm.zip<\/a><a href=\"https:\/\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2019\/10\/avsm.zip\" class=\"wp-block-file__button wp-element-button\" download>Download<\/a><\/div>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2019\/10\/intel-avsm-white-paper.pdf\"><strong>White Paper:<\/strong> intel-avsm-white-paper.pdf<\/a><a href=\"https:\/\/mattfife.com\/wp-content\/themes\/mattTheme\/headerimgs\/2019\/10\/intel-avsm-white-paper.pdf\" class=\"wp-block-file__button wp-element-button\" download>Download<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>By&nbsp;Matthew Fife,&nbsp;Filip Strugar, published on March 27, 2013&nbsp; Adaptive Volumetric Shadow Maps use a new technique that allows a developer to generate real-time adaptively sampled shadow representations for transmittance through volumetric media.&nbsp; This new data structure and technique allows for generation of dynamic, self-shadowed volumetric media in real-time rendering engines using today\u2019s Microsoft DirectX* 11 hardware. Each texel of this new kind of shadow map stores a compact approximation to the transmittance curve along the corresponding light ray.&nbsp; The main&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/mattfife.com\/?page_id=4171\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-4171","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P4WECr-15h","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/pages\/4171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4171"}],"version-history":[{"count":3,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/pages\/4171\/revisions"}],"predecessor-version":[{"id":12632,"href":"https:\/\/mattfife.com\/index.php?rest_route=\/wp\/v2\/pages\/4171\/revisions\/12632"}],"wp:attachment":[{"href":"https:\/\/mattfife.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}