UEConsole Commands
VariableConsole VariableRenderer

r.D3D.ForceDXC

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

Category: Renderer · Namespace: r

Help

Forces DirectX Shader Compiler (DXC) to be used for all D3D shaders. Shaders compiled with this option are only compatible with D3D12. 0: Disable (default) 1: Force new compiler for all shaders

Usage

Unreal console (open with ~)
> r.D3D.ForceDXC 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 r