- Home /
circle image on a cylinder?
I need to make a platform thing using a circle image (and you wont believe what picture):
And this is what happens when I use the material preview using the shape that I want:
And this is what happens when I actually use it on a cylinder:
WHAT DO I DO!? please help me :(
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.
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.
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.
Added a suggestion...you could use a plane if depth isn't an issue.
well can someone supply this cylinder, because I dont have a modelling program
Your answer
Follow this Question
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