- Home /
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!
Still looking for an easy but not so good for how the game runs answer?
Answer by Eric5h5 · Jan 08, 2011 at 12:58 AM
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.
Whoops forgot to add that I have a script on the cube currently to animate the texture.
You really should understand modeling and UVs before you try to animate textures.
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.
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.
Answer by Jason B · Jan 08, 2011 at 03:41 AM
No point in "faking" a sprite with a cube. Just use a plane instead. It only has one polygon.
Two. Unity only uses triangles. Still, quads are generally a lot easier to deal with, for simulating 2D.
if I know correctly, the plane has 200 polygon/triangle. quad has only 2
Answer by Justin Warner · Jan 08, 2011 at 01:22 AM
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.
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.
Answer by oLDo · Apr 26, 2018 at 10:05 AM
What about adding quad/plane inside of cube, set the position and texture it?
Your answer
