Is there a way, using the UV Project Modifier to project an image to only the visible surfaces of an object? Let's say you have a cube. You can only see max 3 of the 6 sides at a time. Now if you use a UV Project modifier all 6 sides will have the image texture on them even tho 3 are not directly visible to the camera. Is there a way to fix this issue? I could manually create a UV map by going into camera view, selecting everything that is visible to the camera and UV-project from view, but I need it working automatically since I want to use it in a script.
Thanks for your help!