I have an object, and I would like to project an image onto it within its material, using the camera view. I want the projected image to remain centered on the object even when I move either the object or the camera.
However, it's important that this projection remains orthographic. Therefore, the projection is not a direct line between the camera's position and the object's position, but rather based on the 2D position that the object occupies within the camera view space. (I still want to render the object in perspective tho)
By now I only managed to do it in a perspective way, I also make the image grow and shrink based on the distance from the camera :
What I want is this :
The circle image must stay at the center of the object, and scale according to how far it is.
Also I think my method for scaling based on the distance between the camera and the object is also wrong because it's using the camera position and not a point corresponding to the object postion on the 2D camera view space (I hope I'm clear ).
Thank You !








