Search Unity

Different Baking On Android And Pc

Discussion in 'Global Illumination' started by pushkin13, Apr 11, 2019.

  1. pushkin13

    pushkin13

    Joined:
    Nov 13, 2018
    Posts:
    4
    When I bake the light, different results are obtained for the PC version and android, For android, it turns out too different
    Unity 2018.3.11f

    Baked for android:
    Screen Shot 2019-04-11 at 15.37.47.png
    Baked for pc:
    Screen Shot 2019-04-11 at 15.41.03.png

    Real light:
    Screen Shot 2019-04-11 at 15.42.02.png

    Lightning params
    Screen Shot 2019-04-11 at 15.41.14.png Screen Shot 2019-04-11 at 15.41.49.png
     
    Last edited: Apr 11, 2019
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Does the problem still reproduce when you switch platforms and rebake? If it does, could you submit a bug report, and post bug ID here? Thanks.
     
  3. pushkin13

    pushkin13

    Joined:
    Nov 13, 2018
    Posts:
    4
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,799
    Are the materials using really dark colors and the lights are very bright? If that is the case it may be a case of you hitting the limits of double LDR.
     
    pushkin13 and Tartiflette like this.
  5. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    @AcidArrow is right, the issue is most likely related to limited color space. Switch to Linear color space in the Player settings, and the issue should go away for realtime lights. This however, will still not resolve the issue with baked lightmaps.

    In 2019.1, we've added support for HDR lightmaps on mobile platforms as well. If you'd decide to upgrade, you'd need to enable either medium or high quality lightmap encoding in the Player settings for Android platform.

    If you want to stick with 2018.3, then you'd have to either use lower intensity lights, or author your materials differently, as HDR lightmaps are not supported in that version.
     
    pushkin13 likes this.
  6. pushkin13

    pushkin13

    Joined:
    Nov 13, 2018
    Posts:
    4
    thank you, guys
     
    kristijonas_unity likes this.