I’m sure you have already searched the forum and found a bunch of ideas like this one for orthographic camera and that one for perspective camera.
Good luck with your project.