Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Correct way of converting from Linear to Gamma

Discussion in 'Universal Render Pipeline' started by RENDER777, Oct 25, 2021.

  1. RENDER777

    RENDER777

    Joined:
    Feb 1, 2019
    Posts:
    7
    I've found plenty of documentation around why linear is better and how to go from gamma to linear but I need to switch from linear to gamma for WebGL1.0 support. I'm using the URP - is there a process of getting the graphics to work properly using gamma?
     
  2. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,793
    Just update Color Adjustment(gamma ,contrast ,exposure) settings
     
  3. RENDER777

    RENDER777

    Joined:
    Feb 1, 2019
    Posts:
    7
    I'm not familiar with those settings - the only thing that I can think of is post processing, the issue I have is that the shaders do not display properly when using a WebGL1.0 build with Gamma color space
     
  4. UnityLighting

    UnityLighting

    Joined:
    Mar 31, 2015
    Posts:
    3,793
    Upload screenshots from gamma and linear