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
1
Question by Hfyd2 · May 29, 2010 at 06:16 AM · materialimagecircleshapecylinder

circle image on a cylinder?

I need to make a platform thing using a circle image (and you wont believe what picture):

alt text

And this is what happens when I use the material preview using the shape that I want:

alt text

And this is what happens when I actually use it on a cylinder:

alt text

WHAT DO I DO!? please help me :(

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

1 Reply

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

Answer by qJake · May 29, 2010 at 06:29 AM

You need to create a cylinder yourself in a 3D modeling program, and set its UV coordinates correctly using a UV Mapper, so that your texture appears correctly on the cylinder.

Unity comes with some basic primitive shapes (including cylinders), however their UV texture coordinates are also set to the default, thereby making your texture look like this.

So if you want to make your texture appear correctly, you need to make your own cylinder in a 3D modeling application, including setting up its UV coordinates properly.

Edit: You could also just use a plane if you don't need the depth... make sure to use a Transparent shader so the edges of your texture don't show. This won't work for all situations, though, mostly just 2D.

Comment
Add comment · Show 6 · 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 Novodantis 1 · May 29, 2010 at 08:55 AM 0
Share

Agreed, any actual models should really be made in a 3D modeling application. Although it is a bit odd how the coords for the cylindrical material preview are not the same as those used on a Unity Cylinder.

avatar image qJake · May 29, 2010 at 09:02 AM 0
Share

This is true, but if you look at the triangles of the standard cylinder, it makes sense. It would also make sense to not UV map the cylinder in-game to make them more efficient, whereas for the texture preview it's kind of necessary.

avatar image qJake · May 29, 2010 at 09:11 AM 0
Share

Added a suggestion...you could use a plane if depth isn't an issue.

avatar image Hfyd2 · May 30, 2010 at 12:06 AM 0
Share

well can someone supply this cylinder, because I dont have a modelling program

avatar image qJake · May 30, 2010 at 12:19 AM 0
Share

Blender is free - http://www.blender.org/

Show more comments

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

No one has followed this question yet.

Related Questions

UI Image material did not get instanced. Why? 0 Answers

Rotate Material (Cylinder) 0 Answers

!texture.texture error 0 Answers

How can I trace Alphabet 0 Answers

Changing materials of a plane on keydown. 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