Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 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
2
Question by c00pala · Aug 21, 2014 at 06:15 PM · texturetilingstretching

Texture stretches when tiled in editor

Hi All,

Can anyone possibly tell me why this is happening:

alt text

It's a 1024x1024 .PNG sprite texture, applied to a plane that's 500 x 1 x 500 in size.

With the material's tiling set at 1 + 1 the texture appears fine but anything higher (the screenshot is 2 + 2) stretches the texture out, at higher amounts (I'm likely aiming for 100 or more) it's all just a blur.

I have other objects like this with different textures that are working fine and I've recreated the object, material and the texture with no success.

Any advice would be appreciated, thank you.

capture.jpg (51.0 kB)
Comment
Add comment · Show 2
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 rutter · Aug 21, 2014 at 06:15 PM 0
Share

Is this the default plane that's included with Unity?

avatar image c00pala · Aug 21, 2014 at 11:21 PM 0
Share

Thanks, Rutter.

Pretty sure it is. It's the plane that you get by going 'Add | Plane' (Add | Game Object | Plane ?). I've just applied a material to it (and a script but that shouldn't be doing anything).

1 Reply

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

Answer by smoggach · Aug 21, 2014 at 07:35 PM

You have to set the wrap mode to repeat. You can do this if you set your sprite's type to advanced or texture.

Comment
Add comment · Show 7 · 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 c00pala · Aug 21, 2014 at 11:20 PM 0
Share

Thanks, Smoggach.

I thought it might be something simple, I'll give it a try when I get home tonight.

I have other planes with textures that I've set up the exact same way. The textures are the same file type, size, made in the same program, etc (the only difference is the textures are 'stars' rather than a cloud/noise filter like the above) can you think of any reason for why they aren't doing this too? It's not a big deal, I'm just wondering what I've done differently.

avatar image c00pala · Aug 22, 2014 at 07:33 AM 0
Share

Thanks heaps, mate.

That worked beautifully; appreciate you taking the time to answer. Although simple, I was losing my $$anonymous$$d over this.

Thanks again.

avatar image penera · Jan 12, 2016 at 06:16 PM 0
Share

I don't know where i can change this mode to repeat. I had to set tiling at 10, becouse my texture is too large, and i got problem ;/ alt text

Can u help me ? When i set tiling at X:1 Y:1 then is O$$anonymous$$ alt text

12.jpg (67.9 kB)
przechwytywanie.jpg (23.1 kB)
avatar image Eno-Khaon penera · Jan 12, 2016 at 06:45 PM 1
Share

Select your texture file in the editor to view its import settings. One of the options is "Wrap $$anonymous$$ode" which can be set to either "Clamp" or "Repeat"

avatar image penera Eno-Khaon · Jan 12, 2016 at 07:19 PM 0
Share

mate, u are awesome, thank u so much, God bless u

avatar image StartledDeer · Dec 04, 2017 at 01:35 AM 1
Share

I'm having the same problem and unfortunately, your solution doesn't work. i'm using a sprite with sprite renderer attached to it. the texture is set to sprite and it's wrap mode is set to repeat. the sprite has draw mode set to tiled and the tile mode set to continuous.

avatar image rotolonico StartledDeer · Nov 26, 2019 at 07:10 PM 0
Share

I have your same problem and setting wrap mode to repeat doesn't solve it, but I found this workaround in this answer.

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

9 People are following this question.

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

Related Questions

Face textures becoming stretched when built as an assetbundle. 1 Answer

Assigning UV Map to model at runtime 0 Answers

UV design bigger than texture make it stretched 1 Answer

How to make a texture tile and not stretch 5 Answers

Repeat texture instead of scaling 1 Answer


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