{"id":174,"date":"2013-02-28T19:03:46","date_gmt":"2013-03-01T03:03:46","guid":{"rendered":"http:\/\/www.teamfizzgames.com\/Matt\/?p=174"},"modified":"2013-03-20T03:10:53","modified_gmt":"2013-03-20T10:10:53","slug":"goodgraphics22-png-we-have-lighting","status":"publish","type":"post","link":"https:\/\/www.teamfizzgames.com\/Matt\/goodgraphics22-png-we-have-lighting\/","title":{"rendered":"GoodGraphics22.png, We Have Lighting"},"content":{"rendered":"<p>I finally solved the last issues with my light pre-pass renderer yesterday and designers got to work with point lights today. \u00a0After all the time I spent on implementing it, it&#8217;s a huge relief for it to work finally, and look good to boot!<\/p>\n<p>As happy as I am with current progress, it also led me to some brand new problems. \u00a0For example, I &#8220;discovered&#8221; that setting all render target textures to R32G32B32A32_Float is a horrible, horrible idea. \u00a0Who knew? \u00a0Ryan Rohrer did, so thanks! \u00a0It also has led to additional work needed on handling transparency in models, but that was to be expected. \u00a0For the scope and time constraints of our project, I&#8217;m planning to do a basic forward lighting pass for models that have transparency, and designers can set the primary light to use for that in editor rather than do any closest light calculations at runtime. \u00a0It might not be a super elegant way to solve it, but it&#8217;ll work and I can get it done, so!<\/p>\n<p>Now that the basic implementation is finished, I&#8217;m hoping that progress will speed up considerably on a large number of smaller tasks. \u00a0We&#8217;ll see how that pans out.<\/p>\n<p>&nbsp;<\/p>\n<div style=\"width: 631px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.anguishgames.com\/download\/images\/GoodGraphics22.png\"><img loading=\"lazy\" decoding=\"async\" class=\" \" alt=\"\" src=\"http:\/\/www.anguishgames.com\/download\/images\/GoodGraphics22.png\" width=\"621\" height=\"481\" \/><\/a><p class=\"wp-caption-text\">GoodGraphics22.png, prepass lighting.<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I finally solved the last issues with my light pre-pass renderer yesterday and designers got to work with point lights today. \u00a0After all the time I spent on implementing it, it&#8217;s a huge relief for it to work finally, and look good to boot! As happy as I am with \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/www.teamfizzgames.com\/Matt\/goodgraphics22-png-we-have-lighting\/\"> 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":[11],"class_list":["post-174","post","type-post","status-publish","format-standard","hentry","category-graphicsdev","tag-light-pre-pass"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p39ImV-2O","_links":{"self":[{"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/posts\/174","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=174"}],"version-history":[{"count":6,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"predecessor-version":[{"id":223,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/posts\/174\/revisions\/223"}],"wp:attachment":[{"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.teamfizzgames.com\/Matt\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}