Implementing static foveated rendering with a fragment density map
Foveated rendering is a cutting-edge graphics rendering technique that leverages the human eye’s natural tendency to focus on specific regions of a scene, optimizing computational resources by allocating higher detail and resolution to the central, foveal vision, and progressively reducing it toward the peripheral vision. This mimics the way the human eye perceives detail, offering a substantial performance boost in graphics rendering without sacrificing visual quality.
In this recipe, we will see how to implement fixed foveated rendering by using the fragment density map (FDM) extension.
Getting ready
The FDM device extension in Vulkan (VK_EXT_fragment_density
) enables an application to specify different levels of detail to use in different areas of the render target by means of a texture that encodes how many times a fragment shader will be invoked for that area. The FDM may be modified on each frame...