{"id":1402,"date":"2018-11-07T21:54:13","date_gmt":"2018-11-07T21:54:13","guid":{"rendered":"https:\/\/cml-a.com\/content\/?p=1402"},"modified":"2018-11-07T21:54:13","modified_gmt":"2018-11-07T21:54:13","slug":"quality-comparison","status":"publish","type":"post","link":"https:\/\/cml-a.com\/content\/2018\/11\/07\/quality-comparison\/","title":{"rendered":"Quality comparison"},"content":{"rendered":"<p>For a side project creating a shader that added VHS degradation effect (for the end result of that-- shader posted <a href=\"https:\/\/github.com\/clandrew\/vapor\/blob\/master\/VaporPlus\/PostprocessPS.hlsl\">here<\/a>).<\/p>\n<p>I was looking around for reference material. For some reason I was having trouble finding good stuff in the form of other shaders. I was put off by how common it was to mix tape degredation effect with CRT monitor style distortion and scanline artifacts (scanlines which cannot be chalked up to tape banding). I guess it's not cool to have one without the other? I wanted to reproduce a degraded tape. But, not the experience of someone pointing a camera at a monitor.<\/p>\n<p>Since I couldn't readily (in the like ~15s of searching) find the type of video comparison I was looking for I quickly made one using a rip of one of my old anime tapes (I used like this $20 USB-composite dongle attached to my VCR) and the DVD re-release of the same thing.<\/p>\n<p>Left: DVD<br \/>\nRight: VHS<\/p>\n<div style=\"width: 1000px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-1402-1\" width=\"1000\" height=\"360\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/cml-a.com\/content\/wp-content\/uploads\/2019\/09\/Compare2.mp4?_=1\" \/><a href=\"https:\/\/cml-a.com\/content\/wp-content\/uploads\/2019\/09\/Compare2.mp4\">https:\/\/cml-a.com\/content\/wp-content\/uploads\/2019\/09\/Compare2.mp4<\/a><\/video><\/div>\n<p>Blown-out colors, blurriness. The real money areas were the band of distortion at the bottom and left... The tape, despite being nearly 30 years old, didn't look as 'bad' as I was hoping. It didn't look s***ty enough to be directly taken as reference. I used it as a starting point, and hammed it up a lot for the shader.<\/p>\n<p>If you were to attack this problem a different way you could do an ML style transfer. I did this in a non-ML way because I wanted some control over the warping and noise, some debuggability, rather than just \"throwing more and more data at the problem until it looks right\".<\/p>\n<p>The resulting shader is here: <a href=\"_wp_link_placeholder\" data-wplink-edit=\"true\">https:\/\/github.com\/clandrew\/vapor\/blob\/master\/VaporPlus\/PostprocessPS.hlsl<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a side project creating a shader that added VHS degradation effect (for the end result of that&#8211; shader posted here). I was looking around for reference material. For some reason I was having trouble finding good stuff in the form of other shaders. I was put off by how common it was to mix [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1402","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/cml-a.com\/content\/wp-json\/wp\/v2\/posts\/1402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cml-a.com\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cml-a.com\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cml-a.com\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cml-a.com\/content\/wp-json\/wp\/v2\/comments?post=1402"}],"version-history":[{"count":0,"href":"https:\/\/cml-a.com\/content\/wp-json\/wp\/v2\/posts\/1402\/revisions"}],"wp:attachment":[{"href":"https:\/\/cml-a.com\/content\/wp-json\/wp\/v2\/media?parent=1402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cml-a.com\/content\/wp-json\/wp\/v2\/categories?post=1402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cml-a.com\/content\/wp-json\/wp\/v2\/tags?post=1402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}