- Home /
How to add a different texture to each face of a cube. through script?
HI all, for my app i am hoping to pull images from a database and place them on a cube. I will have 6 images one on each face of the cube. The problem is I can only add a image to the whole cube not just one face. I tried to do 6 planes and 6 quads but they are kinda glitchy and some of the faces aren't visible at some angles. I read somewhere about doing verticie and a atlas map? i cant seem to find that source and im not sure if that would work, because i will be dynamically adding the images. Is there any way to add images to each face through script that way I can set the link( WWW("").texture; ) to a texture and add the texture to each face of the cube? Thank you for reading all of this I know it is long!
Answer by DiegoSLTS · Aug 15, 2016 at 02:40 AM
This has been asked and answered already:
http://answers.unity3d.com/questions/542787/change-texture-of-cube-sides.html
http://answers.unity3d.com/questions/30934/texturing-a-cube-different-textures-on-a-face.html
http://answers.unity3d.com/questions/41843/texture-on-one-face-of-a-cube.html
Haha the first link was the one source I was talking about and couldn't find thank you!
Your answer
Follow this Question
Related Questions
Change texture of RawImage 2 Answers
How would you put a texture on a cube using c#? (SOLVED) 0 Answers
How to display text on a cube and how to change it dynamically? 2 Answers
load all png files as resource but NOT from resource folder 2 Answers
Adding texture to vertex ,I don't want to apply texture each vertex 0 Answers