Originally published at: Efficient Ray Tracing with NVIDIA OptiX Shader Binding Table Optimization | NVIDIA Technical Blog
NVIDIA OptiX is the API for GPU-accelerated ray tracing with CUDA, and is often used to render scenes containing a wide variety of objects and materials. During an OptiX launch, when a ray intersects a geometric primitive, a hit shader is executed. The question of which shader is executed for a given intersection is answered…