Source Code of Rectangular Mapping-based Foveated Rendering(IEEE VR 2022)
Unity demo. Tested on Unity 2020.3.8f1
- Paper
- Website
- [Slides]
- [Full Talk Video] [YouTube] [Bilibili]
- [Preview] [YouTube] [Bilibili]
With the speedy increase of display resolution and the demand for interactive frame rate, rendering acceleration is becoming more critical for a wide range of virtual reality applications. Foveated rendering addresses this challenge by rendering with a non-uniform resolution for the display. Motivated by the non-linear optical lens equation, we present rectangular mapping-based foveated rendering (RMFR), a simple yet effective implementation of foveated rendering framework. RMFR supports varying level of foveation according to the eccentricity and the scene complexity. Compared with traditional foveated rendering methods, rectangular mapping-based foveated rendering provides a superior level of perceived visual quality while consuming minimal rendering cost.
If you find our work useful in your research, please consider citing:
The comparison between Kernel Foveated Rendering (KFR), rectangular-mapping foveated rendering (RFR), and the full-resolution is shown in the figure below. (No denosing blur applied.)
RFR (Our proposed rectangular-mapping foveated rendering, with sigma = 2.6)
KFR (with sigma = 2.6)
Full-resolution Rendering
The comparison between Kernel Foveated Rendering (KFR), rectangular-mapping foveated rendering (RFR), and the full-resolution is shown in the figure below.
RFR (Our proposed rectangular-mapping foveated rendering, with sigma = 2.6)
KFR (with sigma = 2.6)
Full-resolution Rendering
Clone this repo and open the RMFR folder using Unity 2020.3.8f1.
Or Download the "RMFR.unitypackage" and import the package to Unity 2020.3.8f1.
You may control the parameters within Keys
"Sigma": control the sigma: "Q" sigma- , "E" sigma+ ;
"Fx": control the parameter along x-axis: "Left" fx- , "Right" fx+;
"Fy": control the parameter along y-axis: "Up" fy+, "Down" fy-;
"Eye X": control the x-component of eye gaze position: "A" eyeX-, "D" eyeX+;
"Eye Y": control the y-component of eye gaze position: "W" eyeY+, "S" eyeY-;
If you want to change the display resolution, the corresponding settings of the "Game Window", and the size of the rendertextures TexturePass0 should ALL be modified manually.
Please note that this project only shows the effect of rectangular-mapping foveated rendering. The speedup cannot be shown in this project because the rendering task here is not complex.






