{"id":97,"date":"2013-02-11T14:41:49","date_gmt":"2013-02-11T22:41:49","guid":{"rendered":"http:\/\/www.teamfizzgames.com\/Matt\/?p=97"},"modified":"2013-03-01T05:46:27","modified_gmt":"2013-03-01T13:46:27","slug":"goodgraphics20-png-glow-mapping-actually-works-as-intended","status":"publish","type":"post","link":"https:\/\/www.teamfizzgames.com\/Matt\/goodgraphics20-png-glow-mapping-actually-works-as-intended\/","title":{"rendered":"GoodGraphics20.png, Glow Mapping Actually Works As Intended"},"content":{"rendered":"<p>Like I mentioned in my previous post, in implementing my emissive mapping, I had a huge breakthrough that allowed me to fix my runtime glow mapping system to do what I had always intended. \u00a0While it provided a unique effect, the previous implementation had weird black borders that I couldn&#8217;t seem to get rid of and which prevented it from looking like the nice, blurred glow that I wanted. \u00a0The solution, it turned out, was very simple.<\/p>\n<p>The fix was doing purely additive blending in my post processing. \u00a0Previously, I had figured that doing this would create an undesired effect were something to be a different color underneath. \u00a0Looking back, I have no idea why I thought that, it&#8217;s obviously wrong. \u00a0The original test I was performing was just to reject black pixels as a mask and layer on anything else over the final scene. \u00a0So, it should make perfect sense why there was a black band around the glow outlines; the blur created many pixels that were nearly black, but not quite, so they all passed the test and got layered in. \u00a0By switching to a pure additive system, the closer to black a pixel was, the less impact it had in the final composite scene. \u00a0And I finally had the effect I was after the whole time. \u00a0Like 5 months later. \u00a0I am smart.<\/p>\n<p>This image was taken on 2\/3\/13.<\/p>\n<div style=\"width: 631px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.anguishgames.com\/download\/images\/GoodGraphics20.png\"><img loading=\"lazy\" decoding=\"async\" class=\" \" alt=\"\" src=\"http:\/\/www.anguishgames.com\/download\/images\/GoodGraphics20.png\" width=\"621\" height=\"481\" \/><\/a><p class=\"wp-caption-text\">GoodGraphics20.png, glowing glow outlines.<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Like I mentioned in my previous post, in implementing my emissive mapping, I had a huge breakthrough that allowed me to fix my runtime glow mapping system to do what I had always intended. \u00a0While it provided a unique effect, the previous implementation had weird black borders that I couldn&#8217;t \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/www.teamfizzgames.com\/Matt\/goodgraphics20-png-glow-mapping-actually-works-as-intended\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[2],"tags":[],"class_list":["post-97","post","type-post","status-publish","format-standard","hentry","category-graphicsdev"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p39ImV-1z","_links":{"self":[{"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/posts\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":3,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/posts\/97\/revisions"}],"predecessor-version":[{"id":99,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/posts\/97\/revisions\/99"}],"wp:attachment":[{"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/media?parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/categories?post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/tags?post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}