Problem description
When Unity project published as WebGL platform, HDR cannot be enabled.
-
When Using built-in pipeline, set ProjectSettings -->Graphics -->Tier Settings, checked “Use HDR” for all Tiers, and set HDR Mode correct; Set Camera to use forward rendering and HDR to use project settings;
-
When Using URP pipeline, checked HDR under Quality of the render asset in inspector; Set Camera to use forward rendering and HDR to use project settings.
-
Under two pipelines, use Script in the Start() method and set mainCamera. useHDR=true;
In all conditions,I found that HDR cannot be turned on
Unity version
2022.3 LTS, Unity 6.0
Graphics API use webGL2
Platform
Chrome v128