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. Dismiss Notice

No shadows for area lights with progressive lightmapper

Discussion in 'Global Illumination' started by Mark_29, May 17, 2018.

  1. Mark_29

    Mark_29

    Joined:
    Aug 11, 2014
    Posts:
    79
    Last edited: May 17, 2018
    zero_null likes this.
  2. Maitom

    Maitom

    Joined:
    Mar 9, 2015
    Posts:
    3
    I've also reproduced the problem. Also submitted a bug report with the scene. On 2018.1.1f1 and 2018.2.0b4, fine on 2017.4.3f1


     
    zero_null likes this.
  3. Spoonfishlee

    Spoonfishlee

    Joined:
    Mar 21, 2016
    Posts:
    50
    Same issue here, both with a new project (Standard 3D template) and an upgraded one in 2018.1.1f1
     
  4. Spoonfishlee

    Spoonfishlee

    Joined:
    Mar 21, 2016
    Posts:
    50
    Alright, I've found the solution. It is indeed a Unity bug. Even though there is no Shadows Off setting in the area light menu, it is still there under the surface. So I set my existing area light to any realtime light type, turned shadows on, and then turned it back to an area light. Shadows!

    I think you can also access the shadows on/off setting on area lights via the light explorer.

    I think this may be an artifact from adding the realtime area lights for the HD Render Pipe.

    EDIT: This seems to bring up the bake times very significantly, as I assume the shadows are being calculated differently how. I hope Unity will come up with a fix for this. My bake times have quadrupled after turning shadows on manually.
     
    Last edited: Jun 5, 2018
    zero_null likes this.
  5. zero_null

    zero_null

    Joined:
    Mar 11, 2014
    Posts:
    159
    Unity 2018.1.5 with the same issue.
    The trick you mentioned doesn't work for me. The Area light shadow property can be revealed by debug view of inspector but it just still doesn't work
     
  6. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,001
    Change it from the light explorer (Windows -> Lighting -> Light explorer) it works if you change it from there.