Microsoft Announces Variable Rate Shading for DirectX 12, Improves Performance

- Advertisement -

Microsoft has announced Variable Rate Shading for DirectX 12 at the Game Developers Conference (GDC) 2019. This makes DirectX 12 the first graphics API to offer broad hardware support for Variable Rate Shading. Variable Rate Shading allows the GPU to selectively reduce the shading rate in areas of the frame where it won’t affect visual quality, thus improving the gaming performance. It can also do the opposite, using increased shading rate in areas where it matters the most, increasing the visual quality in games.

Microsoft Logo

For each pixel in a screen, shaders are called to calculate the color this pixel should be. Shading rate refers to the resolution at which these shaders are called (which is different from the overall screen resolution). A higher shading rate means more visual fidelity, but more GPU cost; a lower shading rate means the opposite: lower visual fidelity that comes at a lower GPU cost.

Less than 1% Steam Gamers Use AMD’s RX 590; GTX 1060 Owned By 15%

VRS API lets developers set the shading rate in 3 different ways:

  • Per draw (Tier 1)
  • Within a draw by using a screenspace image (Tier 2)
  • Or within a draw, per primitive (Tier 2)

Tier 1

- Advertisement -

This allows different draw calls to have different shading rates by allowing developers to specify the per-draw shading rate.

Tier 2

Tier 2 offers the same basic function as Tier 1, but with further allowing the developers to specify the shading rate withing a draw, with a screenspace image or per-primitive.

A draw call for a 3D engine is a set of traingles (vertices or indices) paired with either a shader program, textures, or properties.

- Advertisement -

Microsoft also said that they’re introducing combiners, which will allow the developers to combine per-draw, screenspace image and per-primitive VRS at the same time, so they won’t have to choose between techniques.


Microsoft partnered with Firaxis games to test out the performance results of VRS on NVIDIA hardware.

- Advertisement -

This testing was done using a GeForce RTX 2060 to draw at 4K resolution. Before adding VRS support, the scene they looked at ran at around 53 FPS.

Tier 1 support: Implementation of Tier 1 increased the FPS by about 20 percent, but there was a slight loss in details.

Tier 1 Support : The right side reduces shading by 75% for water and terrain

NVIDIA GeForce RTX 2060, 2070, 2080 Pricing in India: RTX ON

Tier 2 support: Using an edge detection filter to detect which high detail is required, Firaxis was able to gain performance without compromising on the details, and this method offered a 14 percent boost in FPS.

Tier 2 support : The lost details are recovered to an extent with edge detection techniques.

Red indicates the areas where the shading rate is set to 1 shade per pixel, and blue indicates 1 shade per 2×2 block

VRS support is available on in-market NVIDIA hardware and upcoming Intel hardware. Intel has already started the testing on its prototype Gen11 hardware coming later this year.


There are many game developers planning to add support for Variable Rate Shading to their gaming engines/games. Some of these developers are Unity, Activision, Epic Games, Ubisoft, etc.

Further Reading:


TechQuila is now on Telegram. Click here to join our channel (@techquilaofficial) and stay updated with the latest headlines

- Advertisement -
Harshit Sharma
An avid football lover. A die-hard Barca fan. Love to read about all the tech and gadgets I can't afford (yet). A music enthusiast, with Coldplay being my favorite. A calm and peaceful person. I believe in taking everything as it comes and being happy with the simple things in life.

Leave a Reply

Related posts


Latest posts

GoPro Celebrates Five Year Anniversary of GoPro Awards

Five years ago today, GoPro, introduced GoPro Awards – an always-on program created to reward camera users with monetary awards and gear...

ViewSonic Announces Extended Warranty of Five Years on its Monitors

ViewSonic Corp announces festive offer for the consumers by extending warranty of their monitors to five years. The rise from the earlier 3-year warranty...

AMD’s RDNA 2 Powered Navi 21 XT GPU To Run at Insanely High Clock Speeds with 16GB GDDR6 VRAM, All At 255 TGP

A new leak suggests that AMD's RDNA 2 powered Navi 21 XT GPU is built to run at insanely high clock speeds, which kind of makes sense when you look at the same present in PS5/Xbox Series X.

Next Article Loading