x


Texture on one face of a cube

Hey everyone,

I'm trying to figure out how to texture one side of a cube. I first tried to make the cube really thin and did a transparent diffuse on it but occasionally you can see pixels on other sides.

Also, is there a better easy way to get the illusion of an animated 2D Sprite than putting the animated texture on the side of a cube?

thanks!

more ▼

asked Jan 08 '11 at 12:54 AM

Catsby gravatar image

Catsby
26 7 7 12

(comments are locked)
10|3000 characters needed characters left

3 answers: sort oldest

UV map the cube the way you want in a 3D app. For a sprite, it would be better to put it on a quad, either made procedurally or in a 3D app.

more ▼

answered Jan 08 '11 at 12:58 AM

Eric5h5 gravatar image

Eric5h5
80.1k 41 132 519

I don't understand...

Jan 08 '11 at 01:00 AM Catsby

Whoops forgot to add that I have a script on the cube currently to animate the texture.

Jan 08 '11 at 01:00 AM Catsby

You really should understand modeling and UVs before you try to animate textures.

Jan 08 '11 at 01:15 AM Jessy

I don't have any applications for UV mapping stuff(that I know of). I was curious if there are ways of putting a texture on one side of cubes that you make in unity.

Jan 08 '11 at 01:25 AM Catsby

Unity is not a modeling app; you really need one if you're going to do anything with Unity, unless you plan on doing everything in code.

Jan 08 '11 at 02:51 AM Eric5h5
(comments are locked)
10|3000 characters needed characters left

Get a 3D application, like 3Ds Max, Blender for free.

UV map it (www.google.com), and then you want to apply the texture as the UV map... Then you can alter it that way.

more ▼

answered Jan 08 '11 at 01:22 AM

Justin Warner gravatar image

Justin Warner
6.3k 19 27 65

are there any other good methods for faking a 2D sprite?

Jan 08 '11 at 01:33 AM Catsby

What Jason said, and make it auto-rotate it to you. but isntantly... Look up some things on goog,e I know torando twins did soemthing on it.

Jan 08 '11 at 03:45 AM Justin Warner
(comments are locked)
10|3000 characters needed characters left

No point in "faking" a sprite with a cube. Just use a plane instead. It only has one polygon.

more ▼

answered Jan 08 '11 at 03:41 AM

Jason B gravatar image

Jason B
1.7k 29 32 44

Two. Unity only uses triangles. Still, quads are generally a lot easier to deal with, for simulating 2D.

Jan 08 '11 at 04:20 AM Jessy
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1032
x288
x212
x1

asked: Jan 08 '11 at 12:54 AM

Seen: 5872 times

Last Updated: Oct 09 '12 at 09:41 AM