{"id":8158,"date":"2020-02-23T22:44:44","date_gmt":"2020-02-23T22:44:44","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=8158"},"modified":"2020-02-23T22:44:44","modified_gmt":"2020-02-23T22:44:44","slug":"p0-a6-part-695-aurora","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p0-a6-part-695-aurora\/","title":{"rendered":"P0-A6: Part 695: Aurora"},"content":{"rendered":"\n<p>I have been working on adding an Aurora effect to my scenes.<br><br>I have run into some issues with rotating and scaling the effect, however. For my project, the Aurora needs to be rotated to an arbitrary world-Up vector, and scaled correctly, depending on the orientation and position of the player.<br><br>I am in the process of modifying the Aurora shader, and adjusting the camera settings, to accomplish this.<br><br>The scaling effect can be achieved by rendering the Aurora on a distant camera, and culling it from the near camera, effectively, painting it onto the games skybox.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/41YOuaP\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/41YOuaPm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/fh4KTmF\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/fh4KTmFm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/somMAo5\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/somMAo5m.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/H6Z7BPK\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/H6Z7BPKm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/07TZsPK\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/07TZsPKm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/9JT6ppp\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/9JT6pppm.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/imgur.com\/QhBYgqU\"><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/QhBYgqUm.png\" alt=\"\"\/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I have been working on adding an Aurora effect to my scenes. I have run into some issues with rotating and scaling the effect, however. For my project, the Aurora needs to be rotated to an arbitrary world-Up vector, and scaled correctly, depending on the orientation and position of the player. I am in the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,17,21,10,11],"tags":[],"class_list":["post-8158","post","type-post","status-publish","format-standard","hentry","category-astral-realms","category-p-0","category-p0_a6","category-software-and-games","category-spiritus-astrum","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/8158"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=8158"}],"version-history":[{"count":1,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/8158\/revisions"}],"predecessor-version":[{"id":8159,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/8158\/revisions\/8159"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=8158"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=8158"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=8158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}