Search Issue Tracker
Fixed in 7.2.0
Votes
0
Found in [Package]
7.1.8
Issue ID
1207408
Regression
No
[HDRP] Ambient occlusion effect does not work correctly with dynamic resolution
1. To repro, extract the zipped unity project (AmbientOcclusionBug.zip), play the SampleScene
How I made this project:
Downloaded HDRP package, set up HDRP asset
Enabled dynamic resolution on Camera
Enabled dynamic resolution on HDRP asset
Add Volume component with Ambient Occlusion module
Added ChangeDynamicResPeriodically script to scene (every 1 second, decrease the resolution by 10% until reached minimum value, then increase res by 10% until reached maximum value)
2. I expect to see ambient occlusion on the cube to stay in the correct position (CaptureGood.png)
3. Instead, I see the ambient occlusion "falling down" towards the bottom of the frame as the resolution decreases. As the resolution increases, the ambient occlusion dark areas return to their correct position. (CaptureBad.png)
Notes:
If I disable Direct Lighting Strength on the Volume then the error does not occur, but I also don't see any ambient occlusion dark areas at all I assume because they have 0 strength.
This project is using 2019.3.0f3 and HDRP 7.1.7
I also saw this behaviour in 2019.2.13f1 with HDRP 6.9.2, which caused us to attempt an upgrade to see if this behaviour was fixed
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
Add comment