3 ms·
The advantage of ray tracing is all about reflections - not just with glossy reflective surfaces. A ray-traced scene can have correct reflections, radiosity, s
by thomastjeffery 8y ago
The advantage of ray tracing is all about reflections - not just with glossy reflective surfaces.
A ray-traced scene can have correct reflections, radiosity, shadows, etc. Reflections also lose their resolution limit, since they are no longer accomplished with a temporary camera.
As far as usage goes, that is very dependent on an engine's current rendering pipeline. The main difference would be with the way fragment shaders work. Instead of rasterizing triangles, you ray-trace a scene.
This also changes the way shadows are mapped, and the way reflections are done.
Here is a nice page I found with a lot more detail:
https://github.com/LWJGL/lwjgl3-wiki/wiki/2.6.1.-Ray-tracing-with-OpenGL-Compute-Shaders-%28Part-I%29 https://github.com/LWJGL/lwjgl3-wiki/wiki/2.6.1.-Ray-tracing...