Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Let us know your feedback about the Global Illumination changes in the 2023.2 beta.
    Dismiss Notice
  3. Dismiss Notice

No colour bleed with baked lightmaps

Discussion in 'Unity 5 Pre-order Beta' started by KRGraphics, Dec 8, 2014.

  1. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,435
    Good evening...

    I have a question in regards to the baking process using Enlighten, where I want to bake down my light maps to get the colour bleeding I am expecting with it. In a simple scene, I am using a Cornell Box to test out the lighting in my scene using only emissive objects (Using Alloy as my PBR) and when I set the emissive GI to real time, I get the colour bleed from the walls. Look at the blue hue on the box. Yay. (That is the expected behaviour of GI).

    Screenshot 2014-12-07 21.18.07.png

    But when I set the Emissive GI to bake, the colour bleed disappears. What could I do to keep that bleed? Are there benefits to keeping the GI in realtime though most of the scene is static? Right now the scene is just boooooooooooooooooo. No colour bleed, no fun. What could I do? Thanks in advance.

    Screenshot 2014-12-07 21.19.44.png
     
  2. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    What happens if you assign a material using the standard shader? Does this make a difference in the baked case?
     
  3. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,435
    Nope. Even with the standard shader, there is no color bleed
     
  4. kryptopath2

    kryptopath2

    Joined:
    Jul 19, 2013
    Posts:
    104
    i don't know if i have the same problem, but i have a scene with a street and i light up the windows and some doors with an emissivemap in the standard shader. i get no light on the street in front of the house. the doors are lit, but there is no light in front of it, as i would expect.
     
  5. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,435
    I may have to test this out using an actual light and see if the bleed is there when I bake. I also get some issues when I use mixed mode for light mapping
     
  6. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,435
    I do get the light bleed if I use regular lights and set it to mixed... so for emissive objects, it is best if I leave it set to realtime...
     
  7. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    @Neptune_Imaging I would like to have a look at your scene, if you are willing to share it. Emissive should work in both realtime and baked.
     
  8. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,435
    I can send it. Bear in mind I am not using the Unity 5 standard shaders with my project
     
  9. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    Great! The easiest way is to file a bug report with the scene attached and post the case number here.
     
  10. KRGraphics

    KRGraphics

    Joined:
    Jan 5, 2010
    Posts:
    4,435
    Last edited: Dec 9, 2014
  11. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366