Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

What is worng with Linear color space?

Discussion in 'Unity 5 Pre-order Beta' started by Project-Mysh, Nov 5, 2014.

  1. Project-Mysh

    Project-Mysh

    Joined:
    Nov 3, 2013
    Posts:
    223
    Actually, results with gamma color space in unity 5 are better than Linear:

    Using standard shader, model with Diffuse, specular+gloss and normal maps. Realtime GI.

    Gamma space:
    Gamma1.jpg
    Linear space:
    Linear1.jpg

    Model using Standard shader with only diffuse.

    Gamma:
    Gamma2.jpg

    Linear:
    Linear2.jpg

    What do you think?
     
  2. dougdodd

    dougdodd

    Joined:
    Apr 18, 2014
    Posts:
    32
    The linear lighting images do look like they have more something...surface fidelity? Some look better, some worse. IMHO, most surfaces look more believable in linear. There's a photo-realistic quality to surfaces in linear that gamma doesn't represent as well.

    I'm sold on using linear when I learn about linear vs gamma space, but in practice (regardless of "correctness"), I believe if an image or surface looks better, it is better.
     
  3. melkior

    melkior

    Joined:
    Jul 20, 2013
    Posts:
    199
    There's a lot of subtle points between the two to point out to like or dislike - in the end they both look very good. The most specific consistent difference I can point out myself is gamma seems to either be picking up reflective color of things around it (or the skymap perhaps) while the linear seems to have more true to its own color.
     
  4. Roni92

    Roni92

    Joined:
    Nov 29, 2013
    Posts:
    225
    You need to understand that linear is not supposed to look "better"(eye candy), it supposed to look more correctly, closer to how it would look irl. Also you shoudn't testing it with only some object, but whole scene with terrain, different objects etc. Then you'll see much more differences.
    Ps. funny thing is that actually second image where you can clearly see shadow, looks much better, more real, look how house is brighter where shadow covers it, it's looks like it would have global illumination(bounced lightning from ground).
     
  5. Project-Mysh

    Project-Mysh

    Joined:
    Nov 3, 2013
    Posts:
    223
    Yes the surface fidelity is better in linear, but what about reflectivity or color scattering? Compare the pilar of rock at the skybox.... I did the same scene with Skyshop in unity 4, and its getting better results on linear space...

    As I said to dougdodd, its not about eye candy, its abaout visual fidelity. Compare the pilar of rock in the skybox. The only point that actually looks better is the surface fidelity as dougdodd said. Testing with Skyshop in unity 4 with the same scene its getting better results on Linear space.

    Maybe I have to learn much more about enlighten.
     
    Last edited: Nov 5, 2014