1
\$\begingroup\$

I'm making a top down 3d game. I made a model in blender, uv unwrapped it, and made a texture for it.

Texture in blender from the top: Texture in blender from the top.

I saved the model as a .blend file and the texture as a png.

I imported them in to unity, made a material and added the texture. But, when I add the material to the model the texture is upside down.

Texture in unity from the top:

texture in unity from the top.

I can't fix it myself and google was not helpful this time. Thank you.

I messed a round with tiling like Fabio S. said:

enter image description here

With these settings, I got:

enter image description here

Here is the uv map of the model:

enter image description here

\$\endgroup\$
  • \$\begingroup\$ Try showing us the UV map of the object, and the source texture. That will help us interpret what we're seeing and figure out where the mapping is going wrong. \$\endgroup\$ – DMGregory Jan 21 '18 at 17:00
  • \$\begingroup\$ @DMGregory i have updated my post to show the uv map. \$\endgroup\$ – ThePumkinMelon Jan 21 '18 at 23:21
  • \$\begingroup\$ Looks like your flip is on the x-axis. \$\endgroup\$ – DMGregory Jan 21 '18 at 23:22
  • \$\begingroup\$ @DMGregory could it be something i'm doing wrong in blender? \$\endgroup\$ – ThePumkinMelon Jan 22 '18 at 15:47
  • 1
    \$\begingroup\$ In blender does the model have all scale values set to 1.0? A negative scale in the model could cause the flipped material. Ctrl-A-> Scale will apply the scale so they get set to 1.0. \$\endgroup\$ – sambler Jan 23 '18 at 2:43
0
\$\begingroup\$

I don't know for sure why you are having this issue, but I think you should probably try to change the values in your Tiling to -1 to see if that fixes the problem.

enter image description here

\$\endgroup\$
  • 1
    \$\begingroup\$ You might want Tiling (1, -1) and Offset (0, 1) if it's just the y channel that's flipped. That way we map 1 to 0 and 0 to 1 on that axis while leaving x unchanged. \$\endgroup\$ – DMGregory Jan 21 '18 at 14:05
  • \$\begingroup\$ @DMgregory i updated my post with the result of your suggesiton. \$\endgroup\$ – ThePumkinMelon Jan 21 '18 at 15:58
  • \$\begingroup\$ @ThePumkinMelon, did you try just playing around with the settings? Tinkering to see if you can get better results? \$\endgroup\$ – Fabio S. Jan 21 '18 at 16:01
  • \$\begingroup\$ @ThePumkinMelon you missed a -1 scale on the Y \$\endgroup\$ – DMGregory Jan 21 '18 at 16:31
  • 1
    \$\begingroup\$ Do you feel like packaging your model and texture into a unitypackage and let us download it? If so, post it on Dropbox or Google Drive, or your favorite cloud storage and post the link. \$\endgroup\$ – Fabio S. Jan 21 '18 at 17:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.