lovr.headset.setFoveation

Edit

Sets 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

NameTypeDefaultDescription
levelFoveationLevel The foveation level (or the maximum level when dynamic foveation is active).
dynamicbooleantrue Whether the system is allowed to dynamically adjust the foveation level based on GPU load.

Returns

NameTypeDescription
successboolean Whether foveation was enabled successfully.

Disables foveation.

Arguments

None

Returns

NameTypeDescription
successboolean Whether foveation was enabled successfully.

Notes

Foveation is disabled by default.

See also