Ray Tracing, Bounding Volume Hierarchy, Bvh, Axis Aligned, Tetrahedron Octahedron.
originating exactly on a plane, which also requires to check the direction. We use this knowledge to create an int4 mask which will store if the corresponding vector component is a tmin/tmax candidate. By multiplying this mask with all our candidates, we receive one vector containing the candidates