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.

Shadows from emissive maps?

Discussion in 'Unity 5 Pre-order Beta' started by LaneFox, Oct 28, 2014.

  1. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,291
    Can this happen, either baked or realtime?
     
  2. Kuba

    Kuba

    Unity Technologies

    Joined:
    Jan 13, 2009
    Posts:
    416
    If realtime or baked GI is enabled emissive materials* will affect the nearby geometry and will be shadowed. The shadowing from emissive materials is inherent in the solution as each output texel knows which parts of the scene it sees.

    That currently happens at the precompute resolution for both realtime and baked** lightmaps.

    *) E.g. a material that uses the Standard shader and has non-black emission.
    **) For baked lightmaps it will be done at baked resolution relatively soon, which will give a much more accurate penumbra and contact shadows from emissive materials, sky light and bounced light.
     
  3. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,291
    That's what I thought but had to ask because I'm not getting the expected results. I'll try on a fresh scene and try to narrow it down.. Thanks for the reply.
     
  4. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,291
    D'oh figured it out. Static flags were just screwed up...