1. TechSpot is dedicated to computer enthusiasts and power users. Ask a question and give support. Join the community here.
    TechSpot is dedicated to computer enthusiasts and power users.
    Ask a question and give support.
    Join the community here, it only takes a minute.
    Dismiss Notice

Microsoft introduces Variable Rate Shading to DirectX 12 bringing significant performance...

By Greg S ยท 7 replies
Mar 19, 2019
Post New Reply
  1. Microsoft has some exciting news to share from GDC 2019 that will improve gaming performance. In DirectX 12, Microsoft is introducing Variable Rate Shading. The new API allows for more effective use of GPU resources so that high detail areas are rendered clearly and less time can be spent on screen areas that have less need for fine tuning.

    When calculating pixel colors in DirectX, shaders are the workhorse element doing that process. The shading rate is how quickly shaders can be called upon to produce more pixel data. Up until now, the shading rate has been set for all pixels inside of a frame, meaning that low detail patterns have required the same amount of shading, and thus resource usage, as highly detailed regions.

    Clearly, not all objects in games need the same visual fidelity. While seeing lifelike water, trees, and repetitive textures in extreme detail is pretty cool, you probably cannot tell if some pixels are not exactly the right color so long as they are "close enough". Also think of objects at the outer limits of your field of view. There is little need to go for maximum detail on objects that are barely on screen and mostly unimportant to overall user experience.

    Of course there are exceptions, but developers hold the power to selectively choose where to make use of greater detail settings. Variable Rate Shading, or VRS, can be applied on a per draw basis, inside of a draw operation using a screenspace image, or even within a draw for each primitive, allowing for extremely fine tuning.

    Looking up to the header image, you probably cannot tell which side has been rendered with VRS and which was done with standard shading, and that is completely the point. The left is the original and the right is using VRS. Blue regions were shaded with a 2x2 rate whereas red portions were 1x1.

    In an unnamed version of Civilization, an RTX 2060 could run the scene at 53FPS before any optimizations. A 20 percent improvement was observed by rendering terrain at the lower 2x2 rate and keeping buildings, vehicles, and UI controls at the higher 1x1 rate. For maximum quality settings using screenspace images, there is still a 14 percent bump in performance with VRS on.

    Hardware support exists for VRS in Nvidia's current generation of graphics cards and will also be coming to Intel hardware later this year as part of its 11th generation.

    Support from Unity, Activision, Ubisort, Epic Games, and other reasonably well known companies have already committed to using VRS in at least some capacity. From here on, time will tell just how beneficial Microsoft's innovations will be in practice.

    Permalink to story.

     
  2. Bubbajim

    Bubbajim TechSpot Staff Posts: 679   +660

    This will be big news for Virtual Reality headsets. One way to ensure better performance, consistent high frame-rates and sharper visuals is to incorporate eye-tracking hardware. This will be perfect for that - rendering in great detail the things that people are actually looking at, while doing a "close enough" job rendering peripheral vision.
     
    Morris Minor, Greg S and m4a4 like this.
  3. tkabou

    tkabou TS Enthusiast Posts: 35   +44

    Bigger (and more practical) news than RTX/ray tracing.
     
    BMAN61, NightAntilli and Dimitrios like this.
  4. Nero7

    Nero7 TS Evangelist Posts: 376   +153

    I'm still waiting for that promised performance boost from the successor of DX11...
     
  5. roberthi

    roberthi TS Addict Posts: 406   +124

    I have had enough of visual and performance improvements. Games are still boring.
     
  6. Dustyn

    Dustyn TS Booster Posts: 103   +40

    I'm still waiting for that promised performance boost from the successor of DX10...
     
    DAOWAce and Ryan Barrett like this.
  7. DAOWAce

    DAOWAce TS Booster Posts: 292   +42

    "In an unnamed version of Civilization"

    DX12 version of Civ 1 confirmed.
     
  8. Argo7200

    Argo7200 TS Rookie

    "Support from Unity, Activision, Ubisort, Epic Games, and other reasonably well known companies-"

    "Ubisort"

    ;-)
     

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...