I want to create a nice looking ball in unity … so I do the following
- create a sphere
- add a texture to the sphere
But it doesn’t look nice … it looks distorted
here is the texture I am using: Box
here how it looks after adding it to the sphere (ugly): Box
Can you please help? If possible upload a file with a nice looking small ball!
Thanks
That’s not a texture. Just a drawing of a round ball.
Your texture needs to be square, not have any highlights on it, just the color/image you want on the ball. A texture is an image that gets wrapped around the ball. Think of the Earth, a flat map is the texture, when you wrap the flat map around the ‘ball’ of the Earth you get a globe.
Google how texture mapping works to get an idea.
Dear TheClarkster
Well I tried the square texture as well … but still the edges of the circle (ball) are not smooth something like this

it doesn’t look nice enough e.g. http://flyosity.com/images/_blogentries/networkicon/step4c.png
Dear ohLogical
Why is this in GUI ? I don’t understand what do you mean
Yup, that looks perfect. Your second way of doing it with the square texture is working perfectly.
There is absolutely nothing wrong with it.
I assume you didn’t follow my advice and look up what texture mapping is? Well do that, then Google how 3D models work, how they are built up of triangles. If you want a smoother sphere, you need to build it out of smaller parts, build a sphere with more triangles/vertices. Either do it using math and generate all the vertices, triangles and normals automatically or model it in a 3d modelling program and import the model into Unity.
As for your other question, you posted this in the Unity GUI forum, this question has nothing to do with the GUIs.