Skyrim has “ray traced” shadows in certain places and works great. I was in a cave once and hiding behind a cliff. An enemy was wandering around the next room and I was able to use the shadow cast on him by a torch to observe his movements without having his actual body in my field of view.
All this modern RT nonsense does is make things look slightly better than screen space reflections and tank performance.
I would expect that to be a normal rasterized shadow map unless you can find any sources explicitly saying otherwise. Because even 1 ray per pixel in complex triangulated geometry wasn’t really practical in real time until probably at least 2018
I’m not sure how it worked, all I know is that it was real time and would react to player models, enemies or other things that would move in unpredictable ways, but only for specific light sources.
Yeah, that’s just rasterized shadow mapping. It’s very common and a lot of old games use it, as well as any modern game. Basically used in any non-raytraced game with dynamic shadows (I think there’s only one other way to do it, just directly projecting the geometry, only done by a few very old games that can only cast shadows onto singular flat surfaces).
The idea is that you render the depth of the scene from the perspective of the light source. Then, for each pixel on the screen, to check if it’s in shadow, you find it’s position on the depth texture. If it’s further away than something else from the perspective of the light, it’s in shadow, else it isn’t. This is filtered to make it smoother. The downside is that it can’t support shadows of variable width without some extra hacks that don’t work in all cases (aka literally every shadow), to get sharp shadows you need to render that depth map at a very high resolution, rendering a whole depth map is expensive, it renders unseen pixels, doesn’t scale that well to low resolutions (like if you wanted 100 very distant shadow catching lights) etc.
Raytraced shadows are actually very elegant since they operate on every screen pixel (allowing quality to naturally increase as you get closer to any area of interest in the shadow) and naturally support varying shadow widths at the cost of noise and maybe some more rays. Although they still scale expensively with many light sources, some modified stochastic methods still look very good and allow far more shadow casting lights than would ever have been possible with pure raster.
You don’t notice the lack of shadow casting lights much in games because the artists had to put in a lot of effort and modifications to make sure you wouldn’t.
If you mod, that’s likely why you found it in other places. The wiki isn’t kidding when it says it is found in only one place in the game (in vanilla at least.)
Since you can achieve that effect with only a few rays traced instead of hundreds used for soft shadows. But honestly, the same effect could be achieved dynamically with maybe 10 rays and a blur filter.
Skyrim has “ray traced” shadows in certain places and works great. I was in a cave once and hiding behind a cliff. An enemy was wandering around the next room and I was able to use the shadow cast on him by a torch to observe his movements without having his actual body in my field of view.
All this modern RT nonsense does is make things look slightly better than screen space reflections and tank performance.
I would expect that to be a normal rasterized shadow map unless you can find any sources explicitly saying otherwise. Because even 1 ray per pixel in complex triangulated geometry wasn’t really practical in real time until probably at least 2018
I’m not sure how it worked, all I know is that it was real time and would react to player models, enemies or other things that would move in unpredictable ways, but only for specific light sources.
Yeah, that’s just rasterized shadow mapping. It’s very common and a lot of old games use it, as well as any modern game. Basically used in any non-raytraced game with dynamic shadows (I think there’s only one other way to do it, just directly projecting the geometry, only done by a few very old games that can only cast shadows onto singular flat surfaces).
The idea is that you render the depth of the scene from the perspective of the light source. Then, for each pixel on the screen, to check if it’s in shadow, you find it’s position on the depth texture. If it’s further away than something else from the perspective of the light, it’s in shadow, else it isn’t. This is filtered to make it smoother. The downside is that it can’t support shadows of variable width without some extra hacks that don’t work in all cases (aka literally every shadow), to get sharp shadows you need to render that depth map at a very high resolution, rendering a whole depth map is expensive, it renders unseen pixels, doesn’t scale that well to low resolutions (like if you wanted 100 very distant shadow catching lights) etc.
Raytraced shadows are actually very elegant since they operate on every screen pixel (allowing quality to naturally increase as you get closer to any area of interest in the shadow) and naturally support varying shadow widths at the cost of noise and maybe some more rays. Although they still scale expensively with many light sources, some modified stochastic methods still look very good and allow far more shadow casting lights than would ever have been possible with pure raster.
You don’t notice the lack of shadow casting lights much in games because the artists had to put in a lot of effort and modifications to make sure you wouldn’t.
That’s actually one specific torch!
Just Bethesda things
I’ve seen the effect in other places, though I guess technically they can stick that torch wherever they want as you explore.
If you mod, that’s likely why you found it in other places. The wiki isn’t kidding when it says it is found in only one place in the game (in vanilla at least.)
Since you can achieve that effect with only a few rays traced instead of hundreds used for soft shadows. But honestly, the same effect could be achieved dynamically with maybe 10 rays and a blur filter.