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.

Recommended Videos

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

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

Chuong Nguyen
Silicon Valley-based technology reporter and Giants baseball fan who splits his time between Northern California and Southern…
Control: Ultimate Edition unlocks the PS5 and Xbox Series X’s true potential
Control Force Powers

Control: Ultimate Edition is out now and PlayStation Plus subscribers can get it for free starting today. I have found it to be one of the most substantial next-gen conversions that takes full advantage of the latest technologies such as ray-tracing and the PlayStation's DualSense controller. It also eliminates annoying bugs that plagued the launch of the original game, such as the frustrating stutter when exiting the pause menu.
The poster child for ray-tracing
When Control initially launched on PC, it was held up as a prime example of the visual possibilities ray-tracing can bring to a game, adding unparalleled depth that was graphically impossible on older technologies. With the PlayStation 5 and Xbox Series X's upgrade, that is now the case for ray-tracing on console.

Control takes place almost entirely in the Oldest House, the headquarters for the Federal Bureau of Control. The space is filled with windowed offices, reflective tiles, and otherworldly lighting. This environment is ripe to show off the capabilities of ray-tracing, which provides true-to-life reflections and shadows. Finding myself in the middle of a firefight in one of the clusters of offices, I'm not only seeing enemies through the glass windows, I'm seeing the reflection of the environment around me. Since the lighting is happening in real time, other windows are then reflected as well, the reflections bouncing off of them doubled up in the glass facing me directly, creating an almost infinite loop of reflections.

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

Read more
These two macOS 26 features would transform the way I use my Mac
Writing tools in Apple Notes.

Apple’s execution with note-taking on macOS leaves a lot of room for improvement. There are so many areas where it feels like an abandoned project, instead of the future-proof experience that native iOS apps often deliver. In fact, the disparity across its own platforms is troubling. 

Take, for example, iPadOS and iOS. You can quickly launch a notes page straight from the control, without having to close the existing app and launch the Notes app. On macOS, you don’t get any such facility. 

Read more