I want to edit the BP_SkySphere and add a real image of the sun instead of the sun disk. The problem is that the image is not properly mapped on the sphere, there’s a big distortion.
I believe I need to convert my UV coordinates into an equirectangular projection, I thought the UVtoLongLat function would do the job, but it doesn’t seem so, or there’s more to do with it, I don’t know.
I can’t do a rotation f the mesh because I have the sky behind, so it would rotate the sky as well and I do want to. Otherwise, reprojecting the texture is exactly what I would like to do, but do you have any suggestion of an approach?
Actual philosophers have been debating the best way to do this for centuries without consensus.
More helpfully, take the local position (world pos feeding into transform node to local space) then convert that into spherical coordinates using the textbook math.