Hacker News new | ask | show | jobs
by matja 199 days ago
A point in screen space is a line in world space after inverse camera projection, so this way you get the line-to-closest-geometry test in O(1), after the overhead of needing to render the lookup texture first.