On 12th February, Epic Games released a preview build of Unreal Engine 4.22, and a major upgrade among numerous other features and fixes is the support for real-time ray tracing and path tracing. The new build will extend its preliminary support for Microsoft’s DirectX Ray-tracing (DXR) extensions to the DirectX 12 API.
Developers can now try their hands at ray-traced games developed through Unreal Engine 4. There are very limited games that support raytracing. Currently, only Battlefield V (Ray Traced Reflections) and Metro Exodus (Ray Traced Global Illumination) feature ray tracing effects, which are developed in the proprietary Frostbite 3 and 4A Game Engines.
The patch notes released by the team states that they have added low level support for ray tracing:
- Added ray tracing low-level support.
- Implemented a low-level layer on top of UE DirectX 12 that provides support for DXR and allows creating and using ray tracing shaders (ray generation shaders, hit shaders, etc) to add ray tracing effects.
- Added high-level ray tracing features
- Rect area lights
- Soft shadows
- Reflected shadows
- Ambient occlusion
- RTGI (ray traced global illumination)
- Geometry types
- Triangle meshes
- Skeletal (Morph targets & Skin cache)
- Niagara particles support
- Triangle meshes
- Texture LOD
- Shadows, Reflections, AO
- Path Tracert
- Unbiased, full GI path tracer for making ground truth reference renders inside UE4.
According to HardOCP, the feature isn’t technically tied to Nvidia RTX but since turing cards are the only ones with driver support for DirectX Raytracing at the moment, developers need an RTX 2000 series GPU to test out Unreal’s Raytracing. There has been much debate about the RTX offered by NVIDIA in the past. While the concept did sound interesting at the beginning, very few engines adopted the idea- simply because previous generation processors cannot support all the features of NVIDIA’s RTX. Now, with DXR in the picture, It will be interesting to see the outcome of games developed using ray tracing.
Head over to Unreal Engine’s official post to know more about this news.