Skip to main content

DirectX 12 Ultimate brings ray tracing to the Xbox Series X, PCs, and beyond

DirectX 12 Ultimate on GeForce RTX

Ahead of its DirectX developer day, Nvidia and Microsoft have announced the next era of graphics features for Xbox and PC gamers, and it’s called the DirectX 12 Ultimate game stack. Previously, enabling features like ray tracing came with performance compromises, but with DirectX 12 Ultimate, developers can add in more realistic, immersive details into game while using less resources.

“We are beyond pleased to bring gamers DirectX 12 Ultimate, the culmination of the best graphics technology we’ve ever introduced in an unprecedented alignment between PC and Xbox Series X,” Nvidia noted in a press release, stating that this will allow the next generation of PC and console games to be future-proof.

Image used with permission by copyright holder

DirectX 12 Ultimate, as its name implies, is an extension of Microsoft’s DirectX 12 APIs, enhancing what we’ve already seen with support for features like ray tracing, while adding major new features like Mesh Shaders and Sampler Feedback. For gamers with older hardware, game compatibility shouldn’t be an issue with the new DirectX 12 Ultimate stack.

Get your weekly teardown of the tech behind PC gaming
Check your inbox!

“In fact, next-generation games which use DX12 Ultimate features will continue to run on non-DX12 Ultimate hardware,” Nvidia stated. “Though such hardware won’t provide the visual benefits of the new features, it can still provide a very compelling gaming experience on next generation games, depending on the specifics of the hardware.”

By making it easier for developers to create games and casting a wider net — supporting both PC and console — Nvidia and Microsoft hopes that more developers will embrace newer features supported by modern, powerful GPUs. For gamers, this will hopefully lead to more titles that support advanced features like ray tracing.

Ray tracing enhanced

Image used with permission by copyright holder

The headlining feature of DirectX 12 Ultimate is support for DirectX Ray Tracing 1.1. In addition to using the principles of light to make scenes in a game appear more realistic, the 1.1 upgrade brings inline ray tracing to give developers more control over the process. This could help conserve GPU resources compared to the older dynamic-shading system.

Additionally, the shader process can now be done on the GPU without having to make a round-trip to the CPU. And as players move around a scene, DirectX Ray Tracing 1.1 makes better use of the GPU’s streaming engines to load new ray tracing shaders.

When ray tracing was initially introduced, gamers were reluctant to enable the feature because it meant sacrificing game performance for better visuals. According to Nvidia, with support for variable rate shading (VRS), gamers will no longer need to make this trade-off. Essentially, VRS allows more important areas of a scene to be rendered with greater detail and details in less prominent scenes to be dialed down in the interest of better speed.

This is a feature that AMD announced it would support on its Navi 2x graphics, which will be used on Microsoft’s Xbox One Series X as well as on desktop gaming PCs later this year.

Better visual details

DirectX 12 Ultimate will also support mesh shaders to help developers build even more detail into games. Mesh shaders allows geometry processing to behave like compute shaders. Mesh shaders can operate across the whole compute thread group with access to group shared memory and advanced compute features.

Image used with permission by copyright holder

To further optimize things, a new Amplication Shader process runs before the mesh shader, performing computations to determine how many mesh shader threaded groups are needed. Amplication shaders are used for culling, replacing the coarser per-mesh level to determine whether to draw an object at all.

“This new intermediate level of culling improves performance when drawing models that are only partially occluded,” Nvidia stated. “For instance, if part of a character is on screen while just one arm is not, an amplification shader can cull that entire arm after much less computation than it would have taken to shade all the triangles within it.”

Less performance hit

Sampler feedback allows developers to load textures only when needed, delivering better visual quality while reducing load times and minimizing stuttering in a game.

“Sampler feedback solves this by allowing a shader to efficiently query what part of a texture would have been needed to satisfy a sampling request, without actually carrying out the sample operation,” Nvidia said. “This information can then be fed back into the game’s asset streaming system, allowing it to make more intelligent, precise decisions about what data to stream in next. In conjunction with the D3D12 tiled resources feature, this allows games to render larger, more detailed textures while using less video memory.”

Image used with permission by copyright holder

One method to achieve this is through the use of texture spacing shading (TSS). This rendering technique allows developers to do light computations in object space and write them to a texture. Essentially, TSS decouples the shading of an object in world space from the rasterization of the shape of that object to the final target.

Combined, all these new features will help to make games appear more detailed and realistic, all while placing less strain on your system.

Editors' Recommendations

Chuong Nguyen
Silicon Valley-based technology reporter and Giants baseball fan who splits his time between Northern California and Southern…
New Vulkan extensions to bring ray tracing to smartphones
vit 63 inch gaming desk

Real-time ray tracing became a coveted feature for gamers when Nvidia showcased the technology on its RTX cards, Now, mobile gamers may soon be able to experience increased realism of games on their handsets thanks to new Vulkan extensions released by the Khronos Group. Even though ray tracing works in a similar way on Vulkan as on DirectX Raytracing with DirectX 12 for desktops and consoles, the new extension allows some of the heavy lifting to be offloaded to the CPU to better utilize PC resources.

"Although ray tracing will be first deployed on desktop systems, these Vulkan extensions have been designed to enable and encourage ray tracing to also be deployed on mobile," the Khronos Group said regarding future support for handsets. A specific timeline was not given.

Read more
Forget ray tracing. The biggest upgrade to the Xbox Series X will be storage
Xbox Series X

In a surprising turn, Microsoft didn’t wait until E3 2020 to reveal its next console. Instead, the company placed its bets on introducing the Xbox Series X console during The Game Awards -- conveniently before Sony unearthed its fifth-generation competitor (possibly) in February.

While you'll read loads of jargon covering 8K support, Variable Refresh Rate, Auto Low Latency Mode, real-time ray tracing and whatnot, gamers should focus on one specific detail: Storage. The Xbox Series X, due to hit shelves in the 2020 holiday season, relies on a solid-state drive (SSD). That’s really, really good news.

Read more
Real-time ray tracing to come to Windows 7 through DirectX 12 support
u s military reportedly uses unlicensed copies windows 7 laptop

Gamers stubbornly hanging on to Windows 7 and refusing to upgrade to Windows 10 may soon be able to play ray tracing-enabled titles on Microsoft's older platform. The company is expanding its efforts to support DirectX 12 on the aging operating system, which means that game developers will soon be able to port DirectX Ray tracing, or DXR, titles to Windows 7. Given that the aging operating system commands a little more than 31% of the Windows OS market share, the move could also help spur adoption of Nvidia's latest GeForce RTX graphics cards among Windows 7 gamers who previously had no reason to upgrade their GPUs given that they weren't able to take advantage of the flagship ray tracing feature of the new cards.

This latest effort from Microsoft in supporting gamers on Windows 7 follows a more limited effort to bring DirectX to Blizzard's World of Warcraft on Windows 7 late last year. That move brought substantial improvements to game play, including a boost in frame rates, given that DirectX added multi-threading support. At the time, however, Microsoft cautioned that Windows 10 still had OS improvements that would make low-level graphics API run more efficiently.

Read more