New Path-Traced Shaders Make Minecraft Look Amazing

New Path-Traced Shaders Make Minecraft Look Amazing

If you were to make a list of all the graphically intense, amazing-looking games in the world, Minecraft wouldn’t be on it. That’s not automatically a bad thing by any means; the success of games like Dwarf Fortress is proof there’s a market for world simulators that don’t set things on fire graphically.

they added ray tracing in the new minecraft shader dev build i am absolutely shitting myself pic.twitter.com/sEbY78Vuz5

— notglacier (@notglacier) March 30, 2019

The mod pack, SEUS (Sonic Ether’s Unbelievable Shaders) is designed to work in conjunction with either OptiFine or GLSL Shaders Mod (legacy). While it’s been described as ray tracing in some reports, it’s actually using a technique called path tracing. I’m going to let graphics programmer Sebastian Dusterwald explain the difference:

[I]n ray tracing a ray is sent out from the virtual camera into the scene and traced until it intersects with a solid body. At this point a ray is cast to each of the light sources in the scene to calculate illumination and surface shading is calculated for the intersection point. If the surface is transparent the ray is sent out further into the scene, possibly at an angle to simulate refraction. If the surface is reflective a ray is sent out at an angle away from the object…

[A] path tracer is like a ray tracer on steroids. Instead of sending out one ray it sends out tens, hundreds or even thousands of rays for each pixel to be rendered. When it hits a surface it doesn’t trace a path to every light source, instead it bounces the ray off the surface and keeps bouncing it until it hits a light source or exhausts some bounce limit. It then calculates the amount of light transferred all the way to the pixel, including any colour information gathered from surfaces along the way. It then averages out the values calculated from all the paths that were traced into the scene to get the final pixel colour value.

Path tracing can be used for effects that ray tracing still has to fake, according to Dusterwald. Minecraft’s baseline simplicity may actually be working to the game’s advantage here. A relatively simple game engine makes this kind of graphical rendering easier to handle, even for less-powerful cards.

Technologies like ray tracing and path tracing can give a classic game a gorgeous new look when deployed properly. We’ll be curious to see where the mod goes from here.