Search Unity

Linear Mode [ARKit] appears washed out

Discussion in 'Shaders' started by eco_bach, Jul 23, 2019.

  1. eco_bach

    eco_bach

    Joined:
    Jul 8, 2013
    Posts:
    1,601
    I thought I had fixed this issue when using LWRP and modified

    ARKitLWRPShader.shader

    changing
    Code (csharp):
    1.  
    2. return mul(ycbcrToRGBTransform, ycbcr);
    3.  
    to
    Code (csharp):
    1.  
    2. return pow(mul(ycbcrToRGBTransform, ycbcr),2.2);
    3.  
    But now using standard shaders and made the same change to ARKitShader.shader

    Gamma mode background camera image appears fine but switching to Linear color space the background camera is washed out even with the Shader edits.
    What is the solution?
    Do I need a custom Camera material or?