Search Issue Tracker
By Design
Votes
0
Found in [Package]
10.2.2
Issue ID
1296372
Regression
No
[HDRP] Fog effect on secondary Camera creates an opaque sky effect on the Main Camera
Reproduction steps:
1. Create a new HDRP template project
2. Create a new Camera
3. Set the new Camera's background to "None" and Culling Mask to "Nothing"
Expected result: The Main Camera Renders the same before adding the second Camera
Actual result: A sky effect is rendered on top of the Main Camera
4. Disabling Fog Post Process will resolve the issue
Reproducible with: 4.10.0 (2018.4.30f1), 7.5.2 (2019.4.16f1), 9.0.0-preview.71 (2020.1.17f1), 10.2.2 (2020.1.0f1, 2021.1.0a9)
Note: videos in 2020-12-08 12-39-08.mov, 2020-12-11 13-07-19.mkv
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
Resolution Note:
Indeed this result is expected.
Since the second camera is rendered after the first one and nothing is cleared in the backbuffer, any effect rendered by the second camera will appear on top. By default Fog is one of those effect so this is why we see it here.