Abstract
This paper presents a flexible multi-resolution rendering framework designed to optimize computationally intensive screen-space lighting effects, such as Ambient Occlusion (SSAO) and Global Illumination (SSGI). By dynamically partitioning the screen into high-frequency "edge" regions and low-frequency "flat" regions, the proposed system concentrates full-resolution rendering resources only where necessary. The remaining scene areas are processed at significantly lower resolutions and subsequently reconstructed. Experimental results demonstrate up to a 2x speedup at 4K resolution with negligible impact on visual fidelity.
Introduction
Achieving photorealism in real-time rendering requires complex lighting simulations like SSAO and SSGI. However, these effects are computationally expensive, often requiring numerous samples per pixel to avoid noise. Traditionally, developers have relied on simple upsampling—rendering effects at half-resolution and stretching them to fit the screen—which frequently results in blurred edges and aliasing artifacts. This paper addresses the trade-off between performance and quality by observing that high-frequency lighting details are typically sparse within a frame, allowing for a more targeted allocation of GPU resources.
Methodology
The proposed pipeline consists of three primary stages: mask creation, sub-image rendering, and bilateral blending.
Mask Creation and Edge Detection
The system first analyzes the G-Buffer to identify geometric discontinuities. By calculating the first derivative of surface normals and the second derivative of depth, the algorithm isolates sharp edges and complex geometry. A fast shadow pass is also utilized to identify shadow boundaries. These features define the high-frequency regions that require full-resolution sampling.
Hierarchical Sub-image Rendering
Instead of a single full-screen pass, the lighting effect is rendered into four distinct sub-images at varying resolutions: Full, 1/2, 1/4, and 1/8. The system employs a stencil buffer based on the previously generated masks to ensure the GPU only processes pixels relevant to each resolution level. This hierarchical approach ensures that detail is preserved at edges while computational load is drastically reduced in flatter areas.
Blending and Reconstruction
To merge the sub-images without visible seams or artifacts, the authors use a step-wise upsampling process. Bilateral filters are applied to the lower-resolution layers to smooth noise while respecting the sharp boundaries identified during the masking phase. An "inclusive masking" strategy is used, where lower-resolution layers include the areas covered by higher-resolution layers, simplifying the blending process and preventing gaps.
Evaluation and Results
The method was evaluated using standard 3D test scenes, including "Office," "Hall," and the "Breakfast Room," across various camera configurations.
Performance Gains
The technique proves most effective at high output resolutions. At 4K (3840x2160), SSAO achieved an average speedup of approximately 180%, while the more complex SSGI saw speedups of roughly 100%. The efficiency of the method scales with the complexity of the lighting effect; the more samples required per pixel, the greater the relative performance benefit.
Visual Fidelity
Visual quality was measured using Root Mean Square (RMS) error against a full-resolution reference. The error remained consistently low, typically between $0.5 \times 10^{-2}$ and $1.5 \times 10^{-2}$. This indicates that the multi-resolution approach is virtually indistinguishable from native full-resolution rendering to the human eye.
Discussion and Future Work
While the system provides significant gains, it is subject to the overhead of mask generation. In scenes with extreme geometric complexity or heavy normal mapping, the edge detector may trigger full-resolution rendering for a majority of the screen, diminishing the performance benefits. Future research directions include integrating the system with eye-tracking hardware for foveated rendering and utilizing motion vectors to reuse masks across consecutive frames, further reducing the computational "tax" of the masking phase.
Summary updated