Engineer’s Workshop: Enabling Ray-Traced Shadows in Shadowlands
Originally Posted by Blizzard (Blue Tracker / Official Forums)
We are excited to announce that in the Shadowlands beta, you can enhance your game’s visual fidelity with our newly added ray-traced shadows.

Ray tracing can provide heightened visual quality by rendering shadows more realistically. This visual improvement is a great fit for World of Warcraft’s distinct stylized art direction, and helps create a more immersive world.

Rendering Realism

World of Warcraft has historically used a single directional light (e.g. a skybox containing a sun, a glittering galaxy, or a chaotic cluster of lightning) to illuminate a scene. At times, we’d insert a light inside a space even when it didn’t necessarily have a source—for gameplay purposes, we can’t have you scouring a dungeon in complete darkness, even if the area has no obvious objects to act as a light source. With the addition of ray-traced shadows, World of Warcraft can now support additional shadow-casting lights (e.g. fire).

You can see these improvements handily with the before and after images of this campfire scene.



In the first image, you can see a scene from the game under normal lighting effects, which in this case are provided by the campfire.



As you can see in the second image, with ray-tracing enabled, the light now more accurately casts shadows. You can now see the shadows created by the rope inside the tent, the rocks around the campfire, and the tauren on the hide in front of him.

Stepping up Shadows

Aliasing can also cause shadows to not render into a scene if the shadow-casting geometry (e.g. a character’s head) is close to the shadow-receiving geometry (e.g. a character’s neck).



Here, we can see how aliasing issues can be resolved with ray traced shadows. In the first picture, the character is lit by sunlight overhead, but with little shadowing that accurately reflects the direction of the light source; her face does not cast a shadow onto her neck as it would in the real world. The lack of shadows also flattens the appearance of the character model since shadows also indicate the curvature and textures of the shapes light bounces from. The second picture with ray tracing enabled generates the shadowing seen on her neck and eyes that are missing from the first picture, and includes shadows cast by the hair, nose, and even the lips. An astute observer might even notice more accurate shadowing in the edges and corners of the building behind the character.

Softer Shadows

Another issue common to rendering shadows in-game is producing shadows whose edges are too rigidly defined.



In the first image, the player stands in the shadow of a tree, both with fairly hard edges despite the variance of lighting. Additionally, the character’s shadow cannot be differentiated from the tree’s shadow where they overlap; the shadows appear merged together into a single shape. Ray tracing creates the variance in shadows you’d expect to see generated by ambient outdoor lighting.

In some places, shadows disappear altogether when the directional light is occluded.



In the first image, the player is standing in a shadow cast by the wall, but casts no shadow themselves. The blue flames coming from the brazier adds light to the scene but don’t create the shadows you’d expect from the character or potted plants below. In the second picture with ray tracing enabled, the character and plants cast distinct shadows.

More Shadows!

Before ray tracing, we couldn’t render more than one shadow at a time. Now, it is possible to have multiple shadows.



The first picture once again has a single directional light casting shadows, yet only the shadow from the architecture out of frame casts a shadow—and no shadow from the character can be seen. The second picture retains the shadow cast from the first directional light, but the scene has two additional lights which together create three shadows (one of which is very close to the directional light with quite a bit of overlap). A closer look will also reveal improved shadowing in the character’s face, and shadows cast by the armor onto the player’s arm.

We hope you enjoy the additional visual depth that ray tracing brings to Shadowlands!
This article was originally published in forum thread: Engineer’s Workshop: Enabling Ray-Traced Shadows in Shadowlands started by Lumy View original post
Comments 141 Comments
  1. GreenJesus's Avatar
    Doesn't everyone reduce shadow effects anyway since it is a huge hit to performance? I mean.. sounds cool but like.. I bet most people won't even experience this.
  1. Belloc's Avatar
    inb4 "no one asked for this!"

    I think it looks great and, if I still played WoW, I'd definitely have this enabled.
  1. Railander's Avatar
    pretty cool, but how much of a performance hit are we talking about here? especially if you don't have a dedicated space on the GPU die for it (RTX cards)?
  1. Morae's Avatar
    I'm not really an expert on this stuff, but isn't raytracing extremely resource heavy thing? Sure it looks pretty, but if it costs you good fps, then why bother?
  1. Soulwind's Avatar
    Quote Originally Posted by GreenJesus View Post
    Doesn't everyone reduce shadow effects anyway since it is a huge hit to performance? I mean.. sounds cool but like.. I bet most people won't even experience this.
    Only the best graphic cards can enable this setting, and some of them struggle to keep above 60 afterwards. So I don't think anyone will want this enabled while doing anything remotely challenging.
  1. Railander's Avatar
    Quote Originally Posted by Morae View Post
    I'm not really an expert on this stuff, but isn't raytracing extremely resource heavy thing? Sure it looks pretty, but if it costs you good fps, then why bother?
    depends how much they're doing here, which doesn't seem like a lot. full ray-traced global illumination is the thing you see in movies and takes literal hours for 1 frame.

    for people that want to know more about ray tracing and how it's the future of graphics, adoredtv has a great video on it when the RTX cards first came out.
  1. Asheeva's Avatar
    I am really not the type who complains about new stuff, even if I don't like them. But objectively speaking why would I want to decrease my frame rates to get more blurry shadows? I mean, yeah, sure it's more realistic and probably this effect has some high-end engineering behind them but at the end what it does just makes the shadows less detailed for an extreme performance cost.
  1. Jastall's Avatar
    Quote Originally Posted by Railander View Post
    pretty cool, but how much of a performance hit are we talking about here? especially if you don't have a dedicated space on the GPU die for it (RTX cards)?
    You can't even enable it if your GPU isn't a RTX 2070 or better (if memory serves) and it trucks performance. I've seen people on the 9.0 megathread go from 80 FPS in Boralus to 30, for an improvement that is marginal up close and difficult to even see at a distance. So a massive hit, and even those people who can run it will likely disable the option in raids and large scale PvP.

    Ray Tracing has a long way to go before it becomes close to mainstream.
  1. Swnem's Avatar
    Ray tracing is incredibly overrated. It consumes a lot of performance resources for what is a hardly perceptible gain.

    I will naturally not turn this one on cause i value performance above all. It directly affects my game play.

    But, you know... i guess it's something to turn on if you have an insane rig.
  1. Darknessvamp's Avatar
    Blizzard: "Hey look we made the shadows render more realistically, I hope you notice."
    Most players who disable or turn down shadows because they effect performance already: -_-

    I thought they already had issues with their current engine being bloated. Wouldn't it have been better time spent to incorporate this tech into a new engine for a several years on transition for the client, wouldn't even need to be a WoW2 update.
  1. Yayeet's Avatar
    Quote Originally Posted by Soulwind View Post
    Only the best graphic cards can enable this setting, and some of them struggle to keep above 60 afterwards. So I don't think anyone will want this enabled while doing anything remotely challenging.
    It's scales. You can put a percentage of RTX in the game where it doesn't affect performance at all, or you can put all of it in it and it will require a titan to get it right. Blizzard obviously is going to scale it so that every card above a 2070 can do it properly.
  1. Railander's Avatar
    Quote Originally Posted by Darknessvamp View Post
    Blizzard: "Hey look we made the shadows render more realistically, I hope you notice."
    Most players who disable or turn down shadows because they effect performance already: -_-

    I thought they already had issues with their current engine being bloated. Wouldn't it have been better time spent to incorporate this tech into a new engine for a several years on transition for the client, wouldn't even need to be a WoW2 update.
    they will never, ever, recreate the game with a new engine. people should stop actually thinking that is a viable option.

    in fact, the current engine is already incredibly more advanced and more optimized than how it began. they are constantly making improvements. let me remind you 8.0 introduced DX12 support for better framerates.
  1. ablib's Avatar
    Wow. Lots of comments about people who turn down settings? This is 2020. People still play on toasters? Wow has been on Ultra for me, for years -- even at 2560x1600.

    Without all these little nuance improvements over the years, WoW would still look like Classic. I appreciate how each expansion looks better than the last one.
  1. Babadoo's Avatar
    Lmao it's so useless.
  1. Malekius's Avatar
    Quote Originally Posted by Jastall View Post
    You can't even enable it if your GPU isn't a RTX 2070 or better (if memory serves) and it trucks performance. I've seen people on the 9.0 megathread go from 80 FPS in Boralus to 30, for an improvement that is marginal up close and difficult to even see at a distance. So a massive hit, and even those people who can run it will likely disable the option in raids and large scale PvP.

    Ray Tracing has a long way to go before it becomes close to mainstream.
    Ray tracing itself is fine if the game is well optimized. It's just WoW that has a history of bad optimization. Running the game currently on an RTX 2080 TI, with 16gb of ram and a ryzen 3900x, I often see the game drop from 100 fps+ to 30 out of nowhere in places like Zuldazar. Not even Witcher 3 with a ton of enemies and effects happening at the same time has a drop in fps like this.
  1. Clozer's Avatar
    Quote Originally Posted by Jastall View Post
    You can't even enable it if your GPU isn't a RTX 2070 or better (if memory serves) and it trucks performance. I've seen people on the 9.0 megathread go from 80 FPS in Boralus to 30, for an improvement that is marginal up close and difficult to even see at a distance. So a massive hit, and even those people who can run it will likely disable the option in raids and large scale PvP.

    Ray Tracing has a long way to go before it becomes close to mainstream.
    The fps loss is ray-tracing issues. But that it nearly don't improve the scenery is because everything within wow is created with a certain light cast on them already.

    Imagine you have an object made out of wood, that object will light up in the picture differently than your plate armor. In WoW, there is no difference, but in IRL you can tell what objects are made off, just based on how they reflect light that's cast on them. This effect hugely improves the scenery and everything looks 100 times more realistic, this is the main reason everyone is hyped about ray-tracing.

    WoW's objects simply are not made with ray-tracing in mind. If they start now with the next expansion, we will have something stunning to look at.
  1. goldlock's Avatar
    I can't really see much of a difference... I mean its neat and I might use it but I am not sure if I will realize if its off or on during play. Still hopefully it builds up into something more impressive.
  1. 3nfy's Avatar
    SHADOWlands LOL
  1. Gref's Avatar
    too bad I am too poor and stuck with gtx960m...
  1. Laqweeta's Avatar
    Quote Originally Posted by GreenJesus View Post
    Doesn't everyone reduce shadow effects anyway since it is a huge hit to performance? I mean.. sounds cool but like.. I bet most people won't even experience this.
    There are those of us that have the ability to play the game at ultra lol.

    - - - Updated - - -

    Quote Originally Posted by Soulwind View Post
    Only the best graphic cards can enable this setting, and some of them struggle to keep above 60 afterwards. So I don't think anyone will want this enabled while doing anything remotely challenging.
    Pretty sure the 3000 series will perform much better, as the 3070 is supposed to be near 2080TI performance for $500~600 (rumored). We’ll know more on Sept. 1st!

Site Navigation