Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by POLYGAMe · Aug 17, 2011 at 07:39 AM · textureimagetilesquad

Why do textures map upside-down?

Another noob question from yours truly...

When I import my sprite files and map them to quads or cubes, they are placed on the surface upside-down... I can fix this by simply rotating the image in Paint.Net before importing it, but it's a bit of a pain, as I often forget to do this.

Why does this happen?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
4
Best Answer

Answer by IMD · Sep 23, 2013 at 03:43 PM

Unfortunately, some materials will fail to display if the tiling is set to -1, -1.

As a solution to this, we stopped using Unity's default plane, and used our own plane, which is simply a low poly 2D square obj file. Once imported into your Unity project, you need to update the obj model's Scale Factor from '1' to '-1'. This is accessed via the model's Import Settings accessed via the Inspector panel.

Dropping your materials onto this plane will then display correctly against Unity's world coordinate system, with the bottom-left of a plane going along X,Z being pixel (0,0) of the Material applied to it.

Isaac

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Fattie · Apr 15, 2014 at 03:31 PM 0
Share

Here's a superb asset, free, that does this ...

http://wiki.unity3d.com/index.php?title=CreatePlane

I love that script - it's priceless.

avatar image
3

Answer by Giammeé · Sep 06, 2013 at 10:22 AM

Change the tyling to -1 y

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image MartinH8921 · Jan 25 at 01:29 PM 0
Share

Much prefer a simple answer like this. Should be #1.

avatar image
1

Answer by Waz · Aug 17, 2011 at 08:17 AM

The orientation also depends on the orientation of the quads and the UV mapping. So rotate your quads or their UV coordinates.

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Waz · Aug 17, 2011 at 08:29 AM 0
Share

Rotate the plane or cube. See the Transform in the inspector.

avatar image POLYGAMe · Aug 17, 2011 at 08:36 AM 0
Share

That's what I tried but then if I want to move the object, the orientation is all screwed...

avatar image Waz · Aug 17, 2011 at 09:30 AM 0
Share

You could wrap them in an empty transform, but why not just make the trivial models in a modeling program?

avatar image POLYGAMe · Jan 27, 2012 at 11:26 PM 0
Share

I have found with the custom plane script the textures map fine... strange... they are upside-down with Unity's inbuilt planes! Also I was trying to import models I'd made in Blender (just cubes and quads) but that didn't work, either... Still.. all working with the custom script for this game, so no worries.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

how to dispatch textures as tiles in one terrain 0 Answers

How can I resize an image and save it to disk ? 6 Answers

what dose it mean by "too many tiles in image"? 0 Answers

load all png files as resource but NOT from resource folder 2 Answers

32 bit color in texture file 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges