Search Unity

Question Help match shadows between device and editor/player.

Discussion in 'Global Illumination' started by VentaGames, Sep 12, 2022.

  1. VentaGames

    VentaGames

    Joined:
    Jul 9, 2021
    Posts:
    158
    I'm using URP 13.1 and Real Time GI, with one Directional Light only.
    So, my scene lights look great, I'm finished fine-tuning for all my levels.
    But.... On iOS/Android all my scenes look dark and shadows are almost black.
    I tried to adjust the device screen brightness, but no luck.
    Are there any methods to match the lights on the editor/player and ios/android device?

    Color Space: Linear
    Render path: Forward
    Shadows mode: Distance Shadowmask

    Thanks in advance.
     
  2. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    Could you post some screenshots that illustrate the problem?
     
  3. VentaGames

    VentaGames

    Joined:
    Jul 9, 2021
    Posts:
    158
    Here we go:

    One is taking from iPhone (the dark one)
    The second is from OSXPlayer (Editor on Apple Studio M1 Max)
    Used real-time GI. Skybox as an environment light source.

    P.s. Tried just a color as env. lights - it works as expected. Should I use color then?
    Thanks.
     

    Attached Files:

  4. kristijonas_unity

    kristijonas_unity

    Unity Technologies

    Joined:
    Feb 8, 2018
    Posts:
    1,080
    If it works on macOS but not on iOS/Android then this might be a bug.
    Could you try switching to a mobile platform within the editor, and check if the result is the same while in play mode? Also, are building multiple standalone builds at the same time, or are you deploying them one by one?