Hello there !
Today, we are talking about a choice to use ray tracing, or rasterization.
We are going to begin to speak about rasterization.
It’s a barbarian word, I know. But you use that every time, Indeed, current video games used this technique to « draw » at the screen the scene. It’s a good technique because it is very fast (several millions of triangles can be rendered at 60 FPS), but, it’s difficult to implement reflections, refractions and others.
Ray tracing is one other technique to draw in the screen. The principle is to trace a ray in opposite direction of reality. Indeed, in the real world, photons started from the light, and arrive on the object. Ray tracing do other. Ray start from eyes (camera) and the finish way is the light.
To implement global illumination, Raytracing is easier than Rasterization but need so much compute to compare with rasterization. That’s why ray tracing is not used yet in video games, or begin to arrive in video games (Unreal Engine used : Ray traced distance field soft shadows)
What is my choice ?
I’m going to create one hybrid rendering. Indeed, my first ray will be create by rasterization, and shadows, reflections, refractions are ray traced. With that, we can obtain a render very quickly, after, we « just » have to optimise our algorithm to improve computes :-).
We hope obtain this scene at 5-10 FPS (or much).