Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  4. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

IMGUI Color Space problems on Mac and Xbox One.

Discussion in 'Extensions & OnGUI' started by martinofigueroa, Sep 14, 2018.

  1. martinofigueroa

    martinofigueroa

    Joined:
    Feb 8, 2017
    Posts:
    1
    Hello everyone,

    We are having some issues with the IMGUI rendering on Mac and Xbox One: GUI Textures look way too bright (everything looks fine on PC and PS4).
    (Please see attached image for comparison).

    All our textures are imported with the "Editor GUI and Legacy GUI" option, which as far as we underdstand bypasses the sRGB -> Linear conversion, which according to the docs is how it's meant to be set for IMGUI textures.

    We tried this on both 2017.4.11 and 2018.2.8, with the same results.
    We use linear rendering, deferred path (DX11 on Windows, OpenGL on Mac).

    We can make things work sort of correctly on MAC by changing the texture import options to Default, and ticking the sRGB box, but this breaks the PC rendering (it looks way too dark).

    It's as the rendering is done in Gamma space on PC and in Linear space on Mac.

    Does any one have any idea of how to fix this?

    Thanks!
    Martiño.
     

    Attached Files: