Search Unity

Bug: ground texture very gray in WebGL Build if Fog enabled

Discussion in 'Web' started by mischa2k, Jan 17, 2016.

  1. mischa2k

    mischa2k

    Joined:
    Sep 4, 2015
    Posts:
    4,347
    I attached a very simple project that uses the Floor Prefab from the Standard Assets. I also attached one Screenshot that shows its color in the Editor (or on Linux/Windows/Mac builds), which is blue. I attached another Screenshot that shows its color in a WebGL build, where the color is almost entirely gray (you can still see the rectangle pattern though).

    It only happens is Window->Lighting->Fog is enabled.

    Tested it on Linux Mint 17.2 Cinnamon, Chromium and Firefox. I also tested it with the Mobile->Diffuse shader, same results though.
     

    Attached Files: