Unity Experimental HDRP DXR

Unity release today a github project named Experimental DXR project to be able to play with DXR.
https://github.com/Unity-Technologies/Unity-Experimental-DXR

This repository contains the Experimental DXR project.

You can clone the repository using the tool of your preference (Git, Github Desktop, Sourcetree, …).

IMPORTANT
This project uses Git Large Files Support (LFS). Downloading a zip file using the green button on Github will not work. You must clone the project with a version of git that has LFS. You can download Git LFS here: https://git-lfs.github.com/.

Project zip with all files (including LFS files) can be downloaded from the release section https://github.com/Unity-Technologies/Unity-Experimental-DXR/releases.

The Experimental DXR project is a Unity custom version with binaries based on the 2019.2a5 version of Unity, enhanced with DXR support and version 5.8.0 of HDRP enhanced with DXR support. It is a Windows 10 (64 bit) only version with DX12 API.

This project is a sandbox in which you can play with real time ray tracing features in Unity. This is a prototype and the final implementation of DXR will be different from this version. This project can not be used to do any production work.

Requirements:

  • NVIDIA RTX series card with the latest drivers here
  • Windows 10 RS5 (Build 1809) or later

Install step:
Download the project from Github in the release section, unzip.
Launch Unity.exe
Create a new project and select DXR High Definition RP (Preview)

See usage here: https://github.com/Unity-Technologies/Unity-Experimental-DXR/blob/master/documentation/The%20Experimental%20DXR%20project%20manual.pdf

Unity Forum Link: Unity Experimental HDRP DXR

FAQ:

  • I get " this application wont work on this computer" when running Unity.exe

You don’t have all the files from the repository. This project uses Git Large Files Support (LFS). Downloading a zip file using the green button on Github will not work. You must clone the project with a version of git that has LFS. You can download Git LFS here: https://git-lfs.github.com/.

  • When installing the DXR project template I get this error:

This is due to Windows limitation that can’t handle more than 260 character for filename.
Please use a shorter folder and project name to allow the template to install correctly. Like "C:\DXR"1

18 Likes

screenshot:

looks nice, was surprised about low performance though (with rtx 2080 ti) *i know its early test but still

3 Likes

Be sure you are not CPU bounds (which seems the case here). Note that CPU performance of this current experimental version is bad. We are aware of this.

9 Likes

Had to manually expand the template project file, getting this error when using Unity to create the project:

Unable to expand /Data/Resources/PackageManager/ProjectTemplates/com.unity.template.dxr-1.0.0-preview.tgz

Created issue https://github.com/Unity-Technologies/Unity-Experimental-DXR/issues/4

1 Like

Is there a setting (or way) to enable multiple bounces for reflections. I am looking at more non-real-time art stuff so not too concerned with the performance. See screenshot of what I see in my game view-port currently. The small reflection of the sphere should show the gray floor. I was using the Unreal RTX earlier this week and they have this feature exposed and working. Just curious if this is possible now. Screenshot

2 Likes

I don’t have Nvidia, I have Intel HD but I have 8gb and Core i5, does that mean I can still experiment with this but it might run slow? Is this like the EEVEE mode of Blender? I can run that so why not this?

1 Like

This version of unity won’t run, even I upgraded windows 10 build version from 1805 to 1809.
How can I solve this? Thanks in advance :slight_smile:

1 Like

Hi, this isn’t currently possible in this version.

2 Likes

Nope, it only work with NVidia RTX capable hardware

2 Likes

Sorry, you don’t provide enough information to get an answer :), GPU ?

2 Likes

No. NVIDIA is the only company that currently supports Microsoft DXR. Having a good processor means nothing when you’re trying to do raytracing. Saying it would “run slow” wouldn’t do it justice. Performance would likely be measured as “seconds or minutes per frame” rather than “frames per second”. We would have had it years ago if it were that easy.

No. EEVEE is not a raytracer. EEVEE is basically the same approach to rendering as a traditional game rendering pipeline like Unity’s built-in and it’s scriptable render pipeline.

1 Like

It is actually possible to get a similar result, but in a different way.
4395532--399757--upload_2019-4-5_10-40-41.jpg

Make sure that your material is flagged like this (SurfaceType Transparent and Renderpass Raytracing, setting the alpha to 1 behaves as opaque)

4395532--399760--upload_2019-4-5_10-41-42.png

You also need to enable primary visibility on your raytracing environment

4395532--399763--upload_2019-4-5_10-43-8.png

The maximal depth being the recursion level of the raytracing

4395532--399766--upload_2019-4-5_10-44-59.jpg

8 Likes

RTX 2080Ti, and installed latest nvidia geforce display driver today:)

2 Likes

For me as well the Unity build won’t even start. I’m just receiving a Windows error prompt like this

I’m on a Razer Blade Stealth Win10 v1809 i7-8550U, and will be connected with an external 2070. I don’t have the eGPU with me right now and just wanted to take a peak.

Are you checking for Hardware Specs on launching the Editor already?

2 Likes

You should clone the github repository. Make sure you have the large file extension installed too - https://git-lfs.github.com/ before cloning it.

3 Likes

+1
Windows 10 Home 1809, i7-8750H, RAM 16 GB, RTX 2070 Max-Q (HP Omen)
Unity-Experimental-DXR-0.0.1.zip downloaded, unzipped. When running Unity.exe then “This app cant run on…” when run as admin then “System cannot find … \Unity.exe”
Please help.

Edit:
“You should clone the github repository. Make sure you have the large file extension installed too - https://git-lfs.github.com/before cloning it.”
= I need to install git+ LFS= .zip file not working?

Trying add PATH variable. Not working.

1 Like

Unfortunately github does not support LFS: https://github.com/git-lfs/git-lfs/issues/903. The only way I know to get the large files is to install the git client with LFS extension and clone the repo.

1 Like

When creating new project, I only have 2D and 3D options for template (no DXR). Any idea why?

O.K., you need to change install instructions then- change all “download” to “clone”. Next, you need to tell us to turn on lfs BEFORE (?) clone (or not?). After standart GitHub Desktop installation, clone, running Unity.exe, new project I dont see DXR template.
Becouse com.unity.template.dxr-1.0.0-preview.tgz not unpacked!?

Edit: https://git-lfs.github.com/ installed BEFORE clone. Still no DXR template for new project…
Edit: unpacked com.unity.template.dxr-1.0.0-preview.tgz manually. No DXR template…
Edit: unpacked com.unity.template.dxr-1.0.0-preview.tgz manually, delete com.unity.template.dxr-1.0.0-preview.tgz . Got DXR template (be sure you are to create project for Unity 2019.2.0a5).
Edit by BFU:
https://www.youtube.com/watch?v=TeZrEgFw-K0

Edit: delete local repositiry, restart, restart, restart, clone, no manipulation with com.unity.template.dxr-1.0.0-preview.tgz , got DXR template, new project.
Edit: No PC, Mac & Linux Standalone module loaded. Can not build.

2 Likes

Oh, that’s why.
That Unity.exe of 134KB with no icon was actually pretty weird to look at - that was quite a lightweight version of Unity to be only 400MB :stuck_out_tongue:

I was only curious to test it out. Any chance to get either a binary of the demo scene, or the direct download of the full package as it is right now? #instalazypeople :stuck_out_tongue:

3 Likes