Search Unity

URP: post processing not shown in browsers?

Discussion in 'Web' started by John1515, Jan 29, 2020.

  1. John1515

    John1515

    Joined:
    Nov 29, 2012
    Posts:
    248
    Hi
    • Untiy 2019.3.0f6,
    • unmodified URP template
    • unmodified sample scene
    • WebGL2.0
    • Linear color space
    in the editor, the standard URP sample scene looks like this. Notice the glow on the wood:

    Annotation 2020-01-29 222247.png
    In Chrome and Firefox however, it looks like this. No Glow. Does postprocessing not work in WebGL? The Colors also look a bit faded.
    Annotation 2020-01-29 222137.png
     
    Last edited: Jan 29, 2020
  2. John1515

    John1515

    Joined:
    Nov 29, 2012
    Posts:
    248
    Here's a more clear comparison. What is the reason for the darker colors and the lack of post processing effects?
    I really want to use WebGL for a kind of hi-end graphics application..

    editor and web.png

    And Firefox and Chrome also have different colors:
    firefox chrome.png
     
  3. John1515

    John1515

    Joined:
    Nov 29, 2012
    Posts:
    248
    Using Gamma instead of Linear color space seem to fix the problems. However, I would prefer to use Linear space.
    Strangely, linear color space was supposed to bring post processing effects to WebGL, but in my experience it is the opposite!

    Annotation 2020-01-29 231545.png
     
  4. jonnytracker

    jonnytracker

    Joined:
    Sep 13, 2016
    Posts:
    31
    yes post processing bugging out in webgl unity do something