# How to active DirectX 12?

**URL:** <https://forums.unrealengine.com/t/how-to-active-directx-12/66814>\
**Category:** Community & Industry Discussion\
**Tags:** unreal-engine\
**Created:** [June 18, 2016, 3:49am UTC](https://forums.unrealengine.com/t/how-to-active-directx-12/66814 "2016-06-18T03:49:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![NightroGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@NightroGames](https://forums.unrealengine.com/u/NightroGames)\
**Post date:** [June 18, 2016, 3:49am UTC](https://forums.unrealengine.com/t/how-to-active-directx-12/66814/1 "2016-06-18T03:49:14Z")

</div>

Hi, I’m new to unreal Engine.

I have Unreal Engine 4.12.3 and have no Idea on how to go about activating DX12. I found options in what I remember to be in the File tab and only had the options for DX10 and 11. There are noYouTube videos for this and would probably be very useful to a lot of people if there happens to be a YouTuber out there who know how to do this. I found this but am unsure how to go about doing this.

> **[How to enable DirectX 12 on UE4.11](https://forums.unrealengine.com/questions/415951/how-to-enable-directx-12-on-ue411.html)**
>
> Hello, could some one assist and show what are the steps needed to enable DirectX 12 on Unreal Engine 4.11. I cant find it in the Experimental section. And im not sure where to write “-DX12”, im on Windows 10 Pro. My Dxdiag shows that im on version...

Also, does it matter if you start you started making your game without activating DX12 first or not?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6f74f14c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6f74f14c](https://forums.unrealengine.com/u/anonymous_user_6f74f14c)\
**Post date:** [June 18, 2016, 7:20am UTC](https://forums.unrealengine.com/t/how-to-active-directx-12/66814/2 "2016-06-18T07:20:48Z")

</div>

I am new here as well, just write to support you. I want to know as well. Thank you.

---

<div class="post-metadata">

**Author:** ![Matzenator](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Matzenator](https://forums.unrealengine.com/u/Matzenator)\
**Post date:** [June 18, 2016, 10:08am UTC](https://forums.unrealengine.com/t/how-to-active-directx-12/66814/3 "2016-06-18T10:08:50Z")

</div>

Create a shortcut of UE4Editor.exe and at Target add -dx12 at the end of line (after the “…” -dx12). You can also go to project settings, Target Hardware, Windows and uncheck DX10 and DX11 and it will automatically run on DX12. If this will break your stuff i don’t know, its just info from AnswerHub.

Edit: however, for me currently, DX12 takes 10-20 fps away on my 970GTX.

---

<div class="post-metadata">

**Author:** ![kabel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kabel](https://forums.unrealengine.com/u/kabel)\
**Post date:** [June 18, 2016, 2:29pm UTC](https://forums.unrealengine.com/t/how-to-active-directx-12/66814/4 "2016-06-18T14:29:43Z")

</div>

If you have to ask this question here, then you should not use DX12.

---

<div class="post-metadata">

**Author:** ![BernhardRieder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BernhardRieder](https://forums.unrealengine.com/u/BernhardRieder)\
**Post date:** [July 10, 2019, 3:13am UTC](https://forums.unrealengine.com/t/how-to-active-directx-12/66814/5 "2019-07-10T03:13:32Z")

</div>

I had the same question and couldn’t find all the comprehensive information bundled at one place.

And so I decided to create this Video Tutorial & Blog Post.  
[How to activate Real Time Rendering with Unreal Engine (UE4) - DX 12 and Ray Tracing with Nvidia and the RTX Technology.](https://fattybull.com/real-time-ray-tracing/)

 ![5EasyStepsSettingupRayTracing.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/8/c/8c8575465790b1a761ca11d5b83fe7551344439a.jpeg)

Please let me know if I forgot something to mention, or if I missed something important I should add.  
I hope that will help everyone - super stoked & happy about Epic Games!

Happy Ray Tracing 🙂

---

<div class="post-metadata">

**Author:** ![Technorama](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Technorama](https://forums.unrealengine.com/u/Technorama)\
**Post date:** [March 29, 2020, 7:29pm UTC](https://forums.unrealengine.com/t/how-to-active-directx-12/66814/6 "2020-03-29T19:29:45Z")

</div>

> [@Matzenator](#):
>
> Create a shortcut of UE4Editor.exe and at Target add -dx12 at the end of line (after the “…” -dx12). You can also go to project settings, Target Hardware, Windows and uncheck DX10 and DX11 and it will automatically run on DX12. If this will break your stuff i don’t know, its just info from AnswerHub.
> 
> Edit: however, for me currently, DX12 takes 10-20 fps away on my 970GTX.

The shortcut method did not work for me but going into settings did the trick, Thank you

---

<div class="post-metadata">

**Author:** ![CapnWaffles93](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CapnWaffles93](https://forums.unrealengine.com/u/CapnWaffles93)\
**Post date:** [September 25, 2020, 8:14pm UTC](https://forums.unrealengine.com/t/how-to-active-directx-12/66814/7 "2020-09-25T20:14:31Z")

</div>

> [@kabel](#):
>
> If you have to ask this question here, then you should not use DX12.

I disagree. With UE4.26 The atmospheric fog is crashing everytime I try and place it in my editor. Supposedly I’m running Vulkan, and it crashes when placing Atmospheric Fog.

---

<div class="post-metadata">

**Author:** ![dickydubz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dickydubz](https://forums.unrealengine.com/u/dickydubz)\
**Post date:** [January 29, 2022, 4:35pm UTC](https://forums.unrealengine.com/t/how-to-active-directx-12/66814/8 "2022-01-29T16:35:55Z")

</div>

we should magically know how to do it without being shown how 🙄
