So I tried to add -DX12 and -dx12 to a shortcut (and also in the command line) both to a project and to the editor.
However the MSI GamingApp utility of my graphic card says that Unreal is running DirectX 11. Also, when I call Play in Editor, it says PCD3D SM5.
So I think that the editor is not running on DirectX 12.
Am I wrong?
Aslo, is there a way to check if the editor is running on DirectX12 from within Unreal?
Take a look at my post here and the very last part of my answer at the very bottom. There is a picture with the Output Log that should indicate what you need to look for to see if you’re running DX12.
It’s been a while since I’ve used DX12, so this might have changed, but this is one way to know you’re using DX12 currently.
I’ve been looking for it for a long time.
open UE4 settings,and project setting,keyword"RHI”,you will find default RHI change DirectX 12.
and open Engine - Rendering Rat Tracing.
dont forget update your window and nvidia driver.
I hope it will help you