{"id":139,"date":"2013-02-11T19:38:15","date_gmt":"2013-02-12T03:38:15","guid":{"rendered":"http:\/\/www.teamfizzgames.com\/Matt\/?p=139"},"modified":"2013-03-20T03:08:10","modified_gmt":"2013-03-20T10:08:10","slug":"goodgraphics21-png-doing-transparency-right","status":"publish","type":"post","link":"https:\/\/www.teamfizzgames.com\/Matt\/goodgraphics21-png-doing-transparency-right\/","title":{"rendered":"GoodGraphics21.png, Doing Transparency Right"},"content":{"rendered":"<p>This post should more or less bring things current. \u00a0I think. \u00a0I completely reserve the right to change my mind on that later. \u00a0We&#8217;ll see what happens. \u00a0Or what I remember.<\/p>\n<p>Anyway, lots of new assets make this look very pretty, but the big thing here is properly handled transparency. \u00a0To give transparent objects a proper sense of volumetric depth, I just had to add a back face pass before the front face pass and everything was great. \u00a0Was about 6 lines of code to add the pass and appropriate state change calls. \u00a0And that model depth makes things feel &#8220;right&#8221; in a way that they didn&#8217;t before. \u00a0So, pretty happy about this new functionality and how simple it was to implement.<\/p>\n<div style=\"width: 631px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.anguishgames.com\/download\/images\/GoodGraphics21.png\"><img loading=\"lazy\" decoding=\"async\" class=\" \" alt=\"\" src=\"http:\/\/www.anguishgames.com\/download\/images\/GoodGraphics21.png\" width=\"621\" height=\"481\" \/><\/a><p class=\"wp-caption-text\">GoodGraphics21.png, transparency with backfaces.<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This post should more or less bring things current. \u00a0I think. \u00a0I completely reserve the right to change my mind on that later. \u00a0We&#8217;ll see what happens. \u00a0Or what I remember. Anyway, lots of new assets make this look very pretty, but the big thing here is properly handled transparency. \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/www.teamfizzgames.com\/Matt\/goodgraphics21-png-doing-transparency-right\/\"> 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":[12],"class_list":["post-139","post","type-post","status-publish","format-standard","hentry","category-graphicsdev","tag-transparency"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p39ImV-2f","_links":{"self":[{"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/posts\/139","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=139"}],"version-history":[{"count":2,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/posts\/139\/revisions"}],"predecessor-version":[{"id":221,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/posts\/139\/revisions\/221"}],"wp:attachment":[{"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/media?parent=139"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/categories?post=139"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/tags?post=139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}