Skip to Content
Engine User Settings

Shader Model

Switch between SM6, SM5 and Performance Mode (ES 3.1), and check what the player's GPU supports.

UE5 only

The feature level controls which shader model the renderer uses. The choice is saved to [D3DRHIPreference] PreferredFeatureLevel in GameUserSettings.ini and applied at the next start.

The game must be restarted for a new feature level to take effect.
Since v1.4.0, Set Preferred Feature Level refuses SM6 on GPUs that can't run it: it saves SM5 instead and returns false. Otherwise the engine would silently fall back from DirectX 12 to DirectX 11 on the next start. Use Is Feature Level Supported to hide options the GPU can't run.

Set Preferred Feature Level

Saves the feature level used at next start. SM6 is refused (SM5 is saved instead, returns false) on GPUs that cannot run it: the engine would otherwise silently fall back from D3D12 to D3D11.

Function node: Set Preferred Feature Level
Set Preferred Feature LevelTarget is Engine User Settings Subsystem
Shader FormatSM6
Return Value
EShaderFormatEnum
ValueDescription
SM6—
SM5—
Performance Mode—
Invalid—

Get Preferred Feature Level

Returns the feature level saved for the next start, or Invalid when nothing is saved.

Pure function node: Get Preferred Feature Level
Get Preferred Feature LevelTarget is Engine User Settings Subsystem
Return Value

Get Current Feature Level

Feature level of the running world (or of the RHI when there is no world).

Pure function node: Get Current Feature Level
Get Current Feature LevelTarget is Engine User Settings Subsystem
Return Value

Get Max Supported Feature Level

Highest feature level the running RHI was started with.

Pure function node: Get Max Supported Feature Level
Get Max Supported Feature LevelTarget is Engine User Settings Subsystem
Return Value

Is Feature Level Supported

Whether this machine can run GraphicsRHI at ShaderFormat (SM6 needs D3D12/Vulkan and a GPU with Shader Model 6).

Pure function node: Is Feature Level Supported
Is Feature Level SupportedTarget is Engine User Settings Subsystem
Graphics RHIDirectX 12
Shader FormatSM6
Return Value
EGraphicsRHIEnum
ValueDescription
DirectX 12—
DirectX 11—
Vulkan—
Unknown / DefaultNot set (engine default) or not one of the above (e.g. Null RHI).
Edit on GitHub

On this page