{"id":3908,"date":"2016-10-09T23:32:07","date_gmt":"2016-10-09T22:32:07","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=3908"},"modified":"2016-10-09T23:54:09","modified_gmt":"2016-10-09T22:54:09","slug":"p-172-unity-space-environment-part-15","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-172-unity-space-environment-part-15\/","title":{"rendered":"P-172: Unity: Space Environment: Part 15"},"content":{"rendered":"<p>I have managed to get emissive lighting working in Unity, however, it is not dynamic, I am using &#8220;baked&#8221; lighting. It does work, and it works well, but in the future, I will need to figure out the &#8220;light probe&#8221; system and use that to get dynamic lights.<\/p>\n<p>I have been experimenting with emissive lights on various materials, and the effects are quite striking. It does increase the build time of the scene a lot though, since the lights need to be baked every time the geometry changes. I have set the lightmaps to static, not the entire object, but this doesn&#8217;t seem to speed up the bake\/build times by that much.<\/p>\n<p>I can change the colours of the lights in real time, even though the lights are baked, but I have to change the entire emissive material at the same time. So, if I have several objects sharing an emissive texture, (which I do) they will all update at the same time. If I wanted more control, I could just duplicate emissive textures, this wouldn&#8217;t be a problem since they are low-resolution.<\/p>\n<figure id=\"attachment_3898\" aria-describedby=\"caption-attachment-3898\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-04_42_41-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3898\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-04_42_41-PM-300x163.jpg\" alt=\"Unity 06\/10\/2016 , 04:42:41 PM Unity Personal (64bit) - P0Lab2.unity - New Unity Project - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-04_42_41-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-04_42_41-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-04_42_41-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-04_42_41-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3898\" class=\"wp-caption-text\">Unity<br \/>06\/10\/2016 , 04:42:41 PM<br \/>Unity Personal (64bit) &#8211; P0Lab2.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n<figure id=\"attachment_3874\" aria-describedby=\"caption-attachment-3874\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-06_59_35-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3874\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-06_59_35-PM-300x163.jpg\" alt=\"Unity 03\/10\/2016 , 06:59:35 PM Unity Personal (64bit) - P0Lab.unity - New Unity Project - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-06_59_35-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-06_59_35-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-06_59_35-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-06_59_35-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3874\" class=\"wp-caption-text\">Unity<br \/>03\/10\/2016 , 06:59:35 PM<br \/>Unity Personal (64bit) &#8211; P0Lab.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n<figure id=\"attachment_3875\" aria-describedby=\"caption-attachment-3875\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-07_07_37-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3875\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-07_07_37-PM-300x163.jpg\" alt=\"Unity 03\/10\/2016 , 07:07:37 PM Unity Personal (64bit) - P0Lab.unity - New Unity Project - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-07_07_37-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-07_07_37-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-07_07_37-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-07_07_37-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3875\" class=\"wp-caption-text\">Unity<br \/>03\/10\/2016 , 07:07:37 PM<br \/>Unity Personal (64bit) &#8211; P0Lab.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n<figure id=\"attachment_3876\" aria-describedby=\"caption-attachment-3876\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-09_41_06-PM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3876\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-09_41_06-PM-300x163.jpg\" alt=\"Unity 03\/10\/2016 , 09:41:06 PM Unity Personal (64bit) - P0Lab.unity - New Unity Project - PC, Mac &amp; Linux Standalone* \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-09_41_06-PM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-09_41_06-PM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-09_41_06-PM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-03_10_2016-09_41_06-PM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3876\" class=\"wp-caption-text\">Unity<br \/>03\/10\/2016 , 09:41:06 PM<br \/>Unity Personal (64bit) &#8211; P0Lab.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone*<\/figcaption><\/figure>\n<figure id=\"attachment_3902\" aria-describedby=\"caption-attachment-3902\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-08_10_2016-12_54_01-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3902\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-08_10_2016-12_54_01-AM-300x163.jpg\" alt=\"Unity 08\/10\/2016 , 12:54:01 AM Unity Personal (64bit) - P0Lab2.unity - New Unity Project - PC, Mac &amp; Linux Standalone \" width=\"300\" height=\"163\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-08_10_2016-12_54_01-AM-300x163.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-08_10_2016-12_54_01-AM-768x416.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-08_10_2016-12_54_01-AM-1024x555.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-08_10_2016-12_54_01-AM.jpg 1920w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3902\" class=\"wp-caption-text\">Unity<br \/>08\/10\/2016 , 12:54:01 AM<br \/>Unity Personal (64bit) &#8211; P0Lab2.unity &#8211; New Unity Project &#8211; PC, Mac &amp; Linux Standalone<\/figcaption><\/figure>\n<figure id=\"attachment_3904\" aria-describedby=\"caption-attachment-3904\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-09_10_2016-11_13_39-PM-002.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3904\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-09_10_2016-11_13_39-PM-002-300x212.jpg\" alt=\"Unity 09\/10\/2016 , 11:13:39 PM\" width=\"300\" height=\"212\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-09_10_2016-11_13_39-PM-002-300x212.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-09_10_2016-11_13_39-PM-002-768x543.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-09_10_2016-11_13_39-PM-002-1024x724.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-09_10_2016-11_13_39-PM-002.jpg 1335w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3904\" class=\"wp-caption-text\">Unity<br \/>09\/10\/2016 , 11:13:39 PM<\/figcaption><\/figure>\n<figure id=\"attachment_3896\" aria-describedby=\"caption-attachment-3896\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-03_48_26-AM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-3896\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-03_48_26-AM-300x246.jpg\" alt=\"sandbox 06\/10\/2016 , 03:48:26 AM Sandbox\" width=\"300\" height=\"246\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-03_48_26-AM-300x246.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-03_48_26-AM-768x630.jpg 768w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-03_48_26-AM-1024x840.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2016\/10\/PhoenixGameDevelopment-06_10_2016-03_48_26-AM.jpg 1921w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><figcaption id=\"caption-attachment-3896\" class=\"wp-caption-text\">sandbox<br \/>06\/10\/2016 , 03:48:26 AM<br \/>Sandbox<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I have managed to get emissive lighting working in Unity, however, it is not dynamic, I am using &#8220;baked&#8221; lighting. It does work, and it works well, but in the future, I will need to figure out the &#8220;light probe&#8221; system and use that to get dynamic lights. I have been experimenting with emissive lights [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,17,10],"tags":[],"class_list":["post-3908","post","type-post","status-publish","format-standard","hentry","category-art-and-designs","category-p-0","category-software-and-games","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\/3908"}],"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=3908"}],"version-history":[{"count":2,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3908\/revisions"}],"predecessor-version":[{"id":3922,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/3908\/revisions\/3922"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=3908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=3908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=3908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}