Before updating to Windows 10 you may need to return your Pro license. More information here

How do I add a texture to a cube (yes I know I'm a scrub)?

Alright I realize this is probably a really dumb question, but how do I put a custom texture onto a cube? It will let me use skyboxes as the texture, but when I just made a random .png with the color red (I wanted a red cube) and put it in one of my assets folders, it won't let me apply it.

So, is there a specific place/filetype/size I have to have an image to use it on a cube. Once again sorry if this is a really dumb question.

more ▼

asked Jan 30, 2011 at 12:57 AM

avatar image

Michael 13
67 12 12 18

Jan 30, 2011 at 01:18 AM Eric5h5
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Are you just trying to drop the texture on? - you need to create a material that uses that texture then add that material under the mesh renderer component

also it is better if the texture is of a power of 2 in size

512, 1024, 2048, etc.

more ▼

answered Jan 30, 2011 at 01:09 AM

avatar image

495 75 956 82

okay I understand, now I just needed know how where to place the material and what type of file it should be

Jan 30, 2011 at 01:21 AM Michael 13

jpg or psd work for me

Jan 30, 2011 at 01:56 AM Myth

okay I figured out what I was doing wrong, thanks everyone!

Jan 30, 2011 at 03:17 AM Michael 13

thanks! been a days learning around and now i know how to add textures to cubes hahaha

Aug 16, 2013 at 06:45 PM wickeds

How to add texture to that material? I am not getting that. I am using unity 5+. I saw few videos wherein people drag the texture to the box under shader, I dont have any such box.

Jun 04 at 03:23 PM SrujanBarai
(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



Answers and Comments



asked: Jan 30, 2011 at 12:57 AM

Seen: 30564 times

Last Updated: Jun 04 at 03:23 PM