This may be an unusual case, but I have an equirectangular image that I am wrapping onto a cylinder mesh using an environmental node on a bsdf material tab so that the end caps line up properly. The image wraps perfectly which is great. But I want to export this which apparently means I need a UV mapping but I cannot figure out how to make the UV mapping since there is no unwrapping of the mesh that matches how the image is wrapping to the shape.
I thought that perhaps if I could get the faces from the rendered mesh then they would map to the default unwrapping of the image (two circles and a rectangle) but what I currently get is a rectangular image in the UV plane with the cylinder shapes randomly on top of it.
Has anyone got experience with this?