Thank you!
Sorry didnât check the forum for a while, glad you got the file from @JohnDow.
Iâm wondering how we compile that library in the first place. (In case of updates in the future)
Do we need the full unreal engine source code and compile all the files (then copy that specific dll) ? or can we compile just a single file or folder and get a new dll file?
Okay, just compiled 5.1.0, did these same changes, put the thing into the config and now I still donât have pathtracing. Anyone could help me out?
Did they add more obstacles to enabling pathtracing on older cards? Still canât figure this out, going crazy lol.
Okay, the issue:
Ray tracing is disabled because D3D12 ray tracing tier 1.1 is required but only tier 1.0 is supported.
bruh
OKAY I FIXED IT: new dll for 5.1 development build (latest commits merged from yesterday). I replaced the tier checking code from 5.0 and itâs working still!
I tried just using all the tier 1.1 features, but I get a D3D device crash, probably because those are features that are actually turned off in the driver itself.
Download link broken, I have UE 5.0.3 and having same issue with 3090 win 11 and 5900x
What do you mean? A RTX 3090 wouldnât need this fix! Just turn on direct X12 and run like the wind.
Yes exactly! Also this is strictly for the yet unreleased 5.1! Do NOT mismatch engine and dll versions.
Has anyone compiled the dll for 5.0.3 ? Please share the file if yes.
You could try and download the 5.1 preview dll I compiled from here â I donât see any reason why it shouldnât work, even though I just said not to mismatch dlls between versions, but in theory if they havenât changed anything in that source file between the versions, it should work. Be sure to back up your cureent DLL though!!!
I also compiled a new, 5.2 version of that DLL. Theyâve added yet another lock on raytracing, but it really only matters if you have a ray tracing tier 1.1 GPU. Hereâs the change I made.
You sir are a legend. Iâve been trying to get this working for 3 days straight!
You have my eternal gratitude!!!
i have just downloaded and compiled 5.1 source code as of today, did the previous âallow emulated raytracingâ thing and downloaded your github d3d12rhi.dll, but it seems like it no longer works, when booting up the engine theres a message in the output log: âLogRHI: D3D12 is not supported, falling back to D3D11 with Feature Level SM5â, i have a gtx 1070
also, what kind of raytracing features are limited to tier 1.1?
alright i managed to get raytracing to work again in 5.1:
-
you have to modify âD3D12Adapter.cppâ which is located in âEngine/Source/Runtime/D3D12RHI/Privateâ the same way as in this commit by kotn3l
https://github.com/kotn3l/UnrealEngine/commit/d0f30c9edf36705eba7f849e44beb7c8f7521508 -
unlock the DXR_ALLOW_EMULATED_RAYTRACING in âWindowsD3D12Device.cppâ (you can find a guide on how to do it in a post above by Julian_Stys)
-
compile the source code
pathtracing with fog seems to work fine, although i still would like to know what raytracing features are locked behind âtier 1.1 raytracingâ
would you be able to provide the already compiled project or pass on more information on how to make the change?
i edited my post above so its abit clearer what u need to do to make this work
Hi, does this mean that changing and compiling/sharing the D3DRHI12 DLL is not enough anymore?
I would really appreciate it if you could please share the compiled DLL needed for us GTX users without enough knowledge on recompiling the full source code.
P.S: Tried as well the recompiled DLL from github for 5.1 but it seems that itâs outdated thatâs why it throws the error and goes back to D3D 11.
Thanks
at first i thought that replacing a single .dll wonât work after such changes in the engine since the last .dll provided by kotn3l, but turns out that it works fine, just replace it in Engine\Binaries\Win64 as usual and it should work with the latest 5.1 preview from epic launcher
Thank you! It works great
@KrasheRXD Thank for that. In Windows 11 download you must right click and select âKeepâ and then scroll down to error message and select âContinueâ and select. âI accept risks download anywayâ. If you forget to do this you get a file called
âUnconfirmed 930408.crdownloadâ and have to download again using right click âKeepâ function
could you provide the file âD3D12Adapter.cppâ already modified? only the file âUnreal Editor-D3D 12RHI.dllâ doesnât work for me
thats strange, it was working fine for me on the 5.1 preview build from the launcher
as for the D3D12Adapter.cpp i already mentioned its a matter of replacing the lines of code as in kotn3lâs commit, but here you go
Hi, could you write detailed walkthrough in one post how to switch on ray and path tracing on UE 5.1? I tried few times but seems I miss somethingâŚ