Search Unity

Skybox appearing very dark in my WebGl build

Discussion in 'Web' started by hugepool, Jul 9, 2017.

  1. hugepool

    hugepool

    Joined:
    Mar 1, 2017
    Posts:
    5
    Hello,
    I am running into a problem where my skybox appears very dark in my WebGl build. The skybox appears normal in standalone builds/in the editor and the actual illumination appears to remain the same - only the appearance of the actual sky changes.
    Does anyone have any ideas?

    standalone

    a.png
    WebGl (ran in both chrome and firefox, no difference)
    b2.png
     
  2. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    are you using Linear Color space or real-time GI? Those are not supported on WebGL
     
  3. hugepool

    hugepool

    Joined:
    Mar 1, 2017
    Posts:
    5
    I am using Gamma Color space, I've attached my lighting settings but as far as I know my GI is baked. I messed around with the rendering paths but nothing makes any difference.
    I've attached another pic showing how the skybox light source is still very bright, maybe that will provide another clue.

    d.png e.png
     
  4. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    598
    Can you change the format of your skybox textures to RGB 24 bit to see if it fixe your issue, i got the same on a skybox and changing the format have fixed the issue.
     
  5. hugepool

    hugepool

    Joined:
    Mar 1, 2017
    Posts:
    5
    Yes, that works!
    thanks so much, this has been a real headache
     
  6. roka

    roka

    Joined:
    Sep 12, 2010
    Posts:
    598
    I'm happy that it work for you
     
  7. cpc591

    cpc591

    Joined:
    Jun 20, 2017
    Posts:
    2
    hello I followed your instructions and I continued generating the problem with the skybox, I attached the inspector of the textures of the skybox, I hope you can help me

    1.PNG
     
    Last edited: Nov 18, 2017
  8. Marco-Trivellato

    Marco-Trivellato

    Unity Technologies

    Joined:
    Jul 9, 2013
    Posts:
    1,654
    How come sRGB is enabled?