UEConsole Commands
VariableConsole VariableRemaining

vr.PixelDensity

vr.PixelDensity is a console variable in Unreal Engine 5 (UE5). See what vr.PixelDensity does, its values, and how to use this cvar in the Unreal console below.

Category: Remaining · Namespace: vr

Help

Pixel density sets the VR render target texture size as a factor of recommended texture size. The recommended texture size is the size that will result in no under sampling in most distorted area of the view when computing the final image to be displayed on the device by the runtime compositor. Note that the recommended texture size will likely be larger than the display panel resolution of the device as the texture is used as input data for the final composition/lens distortion pass provided by the device\'s runtime. A pixel density of 1.0 (default) will use the device\'s recommended texture size.

Usage

Unreal console (open with ~)
> vr.PixelDensity 1

Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.

Related in vr