Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ssao only sampling mip 0 (#11292)
# Objective Fixes #11222 ## Solution SSAO's sample_mip_level was always giving negative values because it was in UV space (0..1) when it needed to be in pixel units (0..resolution). Fixing it so it properly samples lower mip levels when appropriate is a pretty large speedup (~3.2ms -> ~1ms at 4k, ~507us-> 256us at 1080p on a 6800xt), and I didn't notice any obvious visual quality differences. --------- Co-authored-by: Alice Cecile <[email protected]>
- Loading branch information