DirectX Raytracing

Short description: Raytracing feature of DirectX

DirectX Raytracing (DXR) is a feature introduced in Microsoft's DirectX 12 that implements ray tracing, for video graphic rendering. DXR was released with the Windows 10 October update (version 1809) on October 10, 2018. It requires an AMD Radeon RX 6000, 7000, or 9000 series, Intel Arc A or B series, or Nvidia GeForce RTX 20, 30, 40, or 50 series video card, which is designed to handle the high computing load used for ray tracing.

## Contents

* 1 Additions to DirectX 12
* 2 Technical details
* 3 Updates
* 4 References
* 5 External links

## Additions to DirectX 12

thumb With the introduction of DXR in October, four new features were added to DirectX 12:[1]

1. Acceleration structure is a representation of the 3D environment that is efficiently formatted for the GPU. This environment is the plane that is used to create the starting points. The structure allows for modifications to be made and has optimized ray traversal.
2. The command list DispatchRays, is the start of the rays that are used to generate the reflection graphics. These are used by the GPU to begin the raytracing process.
3. New HLSL shaders, ray-generation, closest-hit, any hit, and miss, that are used describe computationally what DXR is doing when rendering raytracing. These shaders utilize the TraceRay function in HLSL to trace rays in the environment. When the ray interacts with the generated plane it can call on one of many selected hit or miss shaders. The variation of hit and miss shaders creates different textures.
4. Raytracing pipeline state, a counterpart to the current Graphics and Compute pipeline state objects. Pipeline state objects are hardware settings that determine how the GPU interprets and renders information.[2]

## Technical details

This section's factual accuracy is disputed. Please help to ensure that disputed statements are reliably sourced. (August 2022) (Learn how and when to remove this template message)

|

Example of a scene rendered using POV-Ray, a rendering tool that uses raytracing

DXR starts by sending out a ray from each pixel on a given plane and calculates which objects on the plane are hit by the ray first. Next, the DXR algorithm estimates the amount of light where the ray intersects the object and attaches that calculation to the object. Objects can have different properties that will absorb or reflect light at different rates. To stop infinite bounces of a ray from happening, DXR will stop calculations after a certain amount of intersections. Rays that never interact with an object are tracked for how far they have gone. This is so the algorithm understands when rays have gone too far.[1]

## Updates

DXR was released to the public on October 10, 2018 with the Windows 10 October update (version 1809).[3]

The first major update was made to DXR on May 27, 2020 with the Windows 10 May update (version 2004). The May update implemented DXR Tier 1.1, which allows game engines to make real time calculations which makes the raytracing graphics faster and more efficient.[4][5]

During GDC 2025, Microsoft announced the next update to DXR (1.2) that will include standardized support for Opacity Micro-maps (OMM) and Shader Execution Reordering (SER).[6] Major hardware vendors had announced official statements that they will implement the updated API spec into their products.

## References

1. ↑ 1.0 1.1 "Announcing Microsoft DirectX Raytracing!". 2018-03-19. https://devblogs.microsoft.com/directx/announcing-microsoft-directx-raytracing/.
2. ↑ stevewhims. "Managing Graphics Pipeline State in Direct3D 12 - Win32 apps". https://docs.microsoft.com/en-us/windows/win32/direct3d12/managing-graphics-pipeline-state-in-direct3d-12.
3. ↑ "DirectX Raytracing and the Windows 10 October 2018 Update". 2018-10-02. https://devblogs.microsoft.com/directx/directx-raytracing-and-the-windows-10-october-2018-update/.
4. ↑ "Windows 10 May 2020 v2004 20H1 Feature Update Packs DirectX 12 Ultimate, Improved Ray Tracing Support, DirectX Mesh Shader And Many Other Features For PC Gaming". 2020-05-12. https://appuals.com/windows-10-may-2020-v2004-20h1/.
5. ↑ "DirectX Raytracing (DXR) Tier 1.1". 2019-11-06. https://devblogs.microsoft.com/directx/dxr-1-1/.
6. ↑ "Announcing DirectX Raytracing 1.2, PIX, Neural Rendering and more at GDC 2025!". 2025-03-20. https://devblogs.microsoft.com/directx/announcing-directx-raytracing-1-2-pix-neural-rendering-and-more-at-gdc-2025/.

## External links

* Microsoft developer blog on DirectX Raytracing
* DirectX Raytracing and the Windows 10 October 2018 Update
* Dev Preview of New DirectX 12 Features
* Nvidia blog about raytracing vs. rasterization
* Direct3D 12 Raytracing on Microsoft Docs

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/DirectX Raytracing. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=DirectX_Raytracing&oldid=3979670"