ArticleslgStudy

science

DirectX Raytracing

DirectX Raytracing is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand DirectX Raytracing rather than just read about it. In short: 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.

DirectX Raytracing — main illustration
DirectX Raytracing — illustration

Key takeaways

  • DirectX Raytracing belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect DirectX Raytracing to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of DirectX Raytracing from memory before moving on to harder problems.

Reference excerpt

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.

Additions to DirectX 12

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

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. 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. 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. 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.

Technical details

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.

Updates DXR was released to the public on October 10, 2018 with the Windows 10 October update (version 1809). 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. 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). Major hardware vendors had announced official statements that they will implement the updated API spec into their products.

References

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

Illustrations

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

Worked examples

Example 1 — a first encounter with DirectX Raytracing

Start with the simplest possible case. Write down what DirectX Raytracing claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to DirectX Raytracing before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about DirectX Raytracing ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of DirectX Raytracing

In research
DirectX Raytracing appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses DirectX Raytracing in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
DirectX Raytracing is common in secondary-school and first-year university syllabi. It links to neighbouring topics Application programming interfaces, DirectX, Microsoft application programming interfaces, so understanding it makes those chapters shorter.
In everyday life
Look for DirectX Raytracing outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “DirectX Raytracing” →

How to study DirectX Raytracing in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what DirectX Raytracing means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain DirectX Raytracing out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is DirectX Raytracing in simple terms?

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.

Why does DirectX Raytracing matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study DirectX Raytracing?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on DirectX Raytracing.

Tags

  • Application programming interfaces
  • DirectX
  • Microsoft application programming interfaces
  • Ray tracing (graphics)
  • Virtual reality

Keep exploring