I am trying to make a moon object. I have a (mostly) spherical object model that I want to place the moon texture on top of. The moon texture is an equirectangular projection as seen below. enter image description here

However, the moon drawn is rendered like this: enter image description here

As you can see, not all of the north pole is rendering. Roughly 3/4 of the moon seems to have rendered, but it doesnt seem to have any of the red transition color in the north pole.

The moon model was made in Blender by simply creating a UV Sphere and then exporting it with triangulation enabled. No changes were made. The moon obj file can be found here in text version. Maybe the normals aren't correct? I tried using an ico sphere as well, but the results with that were even worse. Any advice for why it isn't rendering correctly?

Here is the sphere mesh if that helps: enter image description here

  • \$\begingroup\$ It looks like your texture has been scaled and shifted — as though your UV samples aren't going from 0...1 but more like -0.5...1. What does your UV unwrap look like in Blender, along with the shader you're using ti draw this in your game? \$\endgroup\$
    – DMGregory
    Mar 21 '21 at 12:37
  • \$\begingroup\$ I found the issue! My png loader was broken and couldnt load anything other than cubic images, so the texture had black on either side of it which is what you see on the black. I now have problems merging the seams, but im still researching a solution for that haha \$\endgroup\$ Mar 22 '21 at 8:10
  • \$\begingroup\$ Want to edit your question to ask about your current problem instead? \$\endgroup\$
    – DMGregory
    Mar 22 '21 at 10:24
  • \$\begingroup\$ Maybe when I find myself unable to work out the solution, \$\endgroup\$ Mar 22 '21 at 16:06
  • \$\begingroup\$ In that case, would you like to delete the question? In its current form, it doesn't look like we have enough information to help you. \$\endgroup\$
    – DMGregory
    Mar 22 '21 at 16:20

You must log in to answer this question.

Browse other questions tagged .