|
|
|
|
|
by pcwalton
2829 days ago
|
|
> We use the rasterizer as a potentially-visible set optimization to iterate only over pixels for which rays might intersect a voxel, and then execute a small ray tracer in the pixel shader. I was just thinking about doing this last weekend (in the context of drawing exact reflections off reflective surfaces defined by arbitrary meshes). Nice to see it actually works, at least for voxels! The fact that raytracing (onto a 2D plane) and rasterization are essentially isomorphic to one another is a powerful observation. |
|
Hasn't this been a pretty well-known perspective (no pun intended) for a couple of decades now?