{"id":444,"date":"2009-09-23T00:33:02","date_gmt":"2009-09-22T22:33:02","guid":{"rendered":"http:\/\/www.svenneve.com\/?p=444"},"modified":"2011-10-04T10:38:30","modified_gmt":"2011-10-04T08:38:30","slug":"fusion-hos_simplespatialtonemapper_vs-viewshader-fuse","status":"publish","type":"post","link":"http:\/\/www.svenneve.com\/?p=444","title":{"rendered":"Fusion : hos_SimpleSpatialTonemapper_VS ViewShader fuse"},"content":{"rendered":"<p>Been toying around a bit more with viewshaders and came up with this implementation of the Simple Spatial Tone Mapping algorithm by K.K. Biswas and Sumanta Pattanaik.<\/p>\n<p>I have left out the median filtering (for now) as i first couldn&#8217;t figure out how to access certain data in the Cg shading language, but once i figured this out i wondered, do we <em>really <\/em>need a view shader to be this accurate?<\/p>\n<p>Anyhoo, without further ado, here&#8217;s the first version of the view shader.<\/p>\n<h3><a href=\"http:\/\/www.svenneve.com\/wp-content\/2009\/09\/hos_SimpleSpatialTonemapper_VS_v1.0.zip\">download : hos_SimpleSpatialTonemapper_VS_v1.0.zip<\/a><\/h3>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-445\" title=\"hos_SimpleSpatialTonemappingFuse\" src=\"http:\/\/www.svenneve.com\/wp-content\/2009\/09\/hos_SimpleSpatialTonemappingFuse.jpg\" alt=\"hos_SimpleSpatialTonemappingFuse\" width=\"618\" height=\"708\" srcset=\"http:\/\/www.svenneve.com\/wp-content\/2009\/09\/hos_SimpleSpatialTonemappingFuse.jpg 618w, http:\/\/www.svenneve.com\/wp-content\/2009\/09\/hos_SimpleSpatialTonemappingFuse-104x120.jpg 104w, http:\/\/www.svenneve.com\/wp-content\/2009\/09\/hos_SimpleSpatialTonemappingFuse-261x300.jpg 261w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Been toying around a bit more with viewshaders and came up with this implementation of the Simple Spatial Tone Mapping algorithm by K.K. Biswas and Sumanta Pattanaik. I have left out the median filtering (for now) as i first couldn&#8217;t figure out how to access certain data in the Cg shading language, but once i&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21,18],"tags":[],"_links":{"self":[{"href":"http:\/\/www.svenneve.com\/index.php?rest_route=\/wp\/v2\/posts\/444"}],"collection":[{"href":"http:\/\/www.svenneve.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.svenneve.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.svenneve.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.svenneve.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=444"}],"version-history":[{"count":5,"href":"http:\/\/www.svenneve.com\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":724,"href":"http:\/\/www.svenneve.com\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/724"}],"wp:attachment":[{"href":"http:\/\/www.svenneve.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.svenneve.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.svenneve.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}