lovr.headset.setFoveation
EditSets foveated rendering settings. Currently only fixed foveated rendering is supported. This renders the edges of the screen at a lower resolution to improve GPU performance. Higher foveation levels will save more GPU time, but make the edges of the screen more blocky.
Arguments
Name | Type | Default | Description |
level | FoveationLevel | The foveation level (or the maximum level when dynamic foveation is active). | |
dynamic | boolean | true | Whether the system is allowed to dynamically adjust the foveation level based on GPU load. |
Returns
Name | Type | Description |
success | boolean | Whether foveation was enabled successfully. |
Disables foveation.
Arguments
None
Returns
Name | Type | Description |
success | boolean | Whether foveation was enabled successfully. |
Notes
Foveation is disabled by default.