It's called projection, and culling, in that order if you want to search for help. But I would have built a ray marcher instead as that is more fun and useful if you are doing it to learn
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments