Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by StewartB · May 04, 2013 at 02:00 AM · texturematerialcubetiling

Real Sized Texture Tiling

Newbie question here. I'm making a (very) basic level geometry using textured cubes/rectangles of different sizes. The texture I'm using for said cubes is made up of a repeating square pattern. However, I can't make this texture resize properly on the cubes. The sizes of the cubes will all be in multiples of 1. What I want this texture to do is tile properly so that, say, if a rectangle is 3 units long but 2 high, on that face the texture tiles 3 across and 2 up while remaining square and just looping. But if another side of the shape is, say, 4x5, the texture on that face should be tiles 4 times across and 5 times down. (I hope that makes sense.)

Is there a way to do this in the Unity editor, preferably allowing me to use the same material for all shapes that need the same texture?

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

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by DaveA · May 04, 2013 at 02:01 AM

http://search.unity3d.com/uss1/?q=cube+tiling+texture&type_of_search=answers

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 StewartB · May 04, 2013 at 04:28 AM 0
Share

I'd already taken a pretty thorough look around, though I tried again and found this:

http://answers.unity3d.com/questions/175233/repeating-a-texture-over-an-object.html

Though it doesn't work properly when the X, Y and Z values are not all identical. Is there a way to do this when they're all different, yet still have correct tiling for each individual side?

avatar image
0

Answer by Simonius Skjorn · Aug 13, 2014 at 03:10 AM

Well, with cubes you'll probably end up with tiling several building blocks of different sizes in a 3D modelling application (3D Max, Maya, Blender), which you can then combine in the game. In certain situations you could also use Tiled Sprites that can tile planes automatically and you can combine them into cube-like geometry. Depends on what you need exactly. See https://www.assetstore.unity3d.com/en/#!/content/20333

Comment
Add comment · 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

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

14 People are following this question.

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

Related Questions

Texture is Tied to Two Cubes 1 Answer

Multiple random tiled textures in one material 1 Answer

Unity 5 upside down texture on 1 side of cube 1 Answer

Tiling material with multiple textures. 1 Answer

Auto tiling texture 2 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