Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Auto Exposure Not working in Webgl build

Discussion in 'Image Effects' started by mikepifer15, Sep 7, 2019.

  1. mikepifer15

    mikepifer15

    Joined:
    Jan 22, 2019
    Posts:
    2
    Hello,

    I am running into an issue where the auto exposure in Unity Post Processing stack downloaded via package manager in 2019.2.2f1 does not build with my webgl game. It works fine in the editor and it works fine in a normal PC, Mac, windows standalone build but nothing for webgl. All other post processing effect work fine in the webgl build (Bloom, color grading). Any idea what might be causing the auto exposure to disable on build?

    Side note, I have tested the auto exposure of beutify and prism and both build with the webgl game.
     
  2. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,040
    Hi!
    AutoExposure requires compute shader support, which is not available on WebGL.
     
  3. mikepifer15

    mikepifer15

    Joined:
    Jan 22, 2019
    Posts:
    2
    How do you explain the auto exposure from 3rd party plugins working in the build? Do these not use computer shaders?
     
  4. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    3,040
  5. faziii

    faziii

    Joined:
    Jun 11, 2019
    Posts:
    17