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

Question What is the correct way to support WebGL 2.0 and WebGL 1.0 at same time? What about Color Space?

Discussion in 'Web' started by DrViJ, Aug 17, 2020.


How do you work with color spaces and WebGL1-2 compatibility

  1. Use gamma color space and dont worry about it

    0 vote(s)
  2. Make two builds: main with 2.0 and linear, and secondary with 1.0 and gamma. load them after check

    0 vote(s)
  3. Other (please tell how do you do this in comments)

    0 vote(s)
  1. DrViJ


    Feb 9, 2013
    The platform that I want to publish requeries me to support browsers:
    • Google Chrome;
    • Internet Explorer;
    • Microsoft Edge;
    • Mozilla Firefox;
    • Opera;
    • Safari.
    Some of them do not work with WebGL 2.0. So I have to support WebGL 1.0

    So my question is:
    What is the correct way to do this if I want to use Linear Color space in my main builds, and to use WebGL 1.0 and gamma as fallback. Is it real? Cause I will have separate android builds and I want better lighting behaviour in my scenes.