目录

What Can I Do if the Rendering Effect of Other Passes Becomes Abnormal After the Buffer Resolution Is Adapted by the ABR Capability?

Symptom

Take the URP of Tuanjie Engine as an example. When ABR adjusts the resolution of the buffer bound to DrawOpaqueObjects, the shadow effect of Screen Space Ambient Occlusion (SSAO) becomes abnormal.

Cause analysis

In the URP, SSAO is a "preprocessing" operation in the rendering pipeline, and its output image will function as the input for DrawOpaqueObjects. When the ABR capability performs adaptive resolution adjustment on the buffer bound to DrawOpaqueObjects, the image output by SSAO uses the original resolution while the buffer bound to DrawOpaqueObjects uses a lower resolution. This resolution inconsistency leads to an abnormal shadow effect.

Solution