Microsoft got quite a bit of mindshare with the announcement of DirectX Raytracing (DXR) at last year’s GDC 2018. NVIDIA’s RTX technology was somewhat synonymous with DirectX 12 for a while, although NVIDIA was not exactly hiding their equivalent extension for Vulkan. It’s not that you must use DirectX 12 – it’s that you cannot use DirectX 11.
Image Credit: iOrange (via GitHub)
And now there’s a tutorial on GitHub by the user Sergii Kudlai (iOrange), complete with source code licensed under MIT. iOrange is a programmer for Digital Extremes, which is best known for their 2013 hit, Warframe, although they also collaborated with Epic Games on the earlier Unreal Tournament editions (UT2004 and earlier). They also worked on Epic Pinball.
The article is very casually worded and covers up to a single triangle.
If you’re interested in a little more depth, NVIDIA is also releasing Ray Tracing Gems for free on their website, although you need to be registered with their developer portal.
Ray Tracing Gems is available here. Currently only the first two chapters are up, but the rest will arrive every few days until approximately February 25th.