Add texture to 2D Sprite

Hi everybody ,

i’m doing a 2D game in a 3D world, and i’m trying to add texture to a 2D sprite.

I have a simple 2D oject call “wall”, and i want to put my textur of wall on it.

i have import my sprite with Texture type to “default”, and create a new material with shaders as : Sprite/Diffuse

But when i add it to my 2D sprite, the textur doesn’t appear, and my sprite change his color for the main color of my textur (Grey)…
I saw some tutorial on youtube and other but nothing seems to work …

Thanks for youre help if you can help me !:slight_smile:

Have a good night all!

You should be using sprite. Are you using 2D sprite objects? Then your image should be set to sprite as the import type.

Thanks for youre anwser!
I try to change for 2D Sprite but nothing change :confused:

Here a picture with all my setting:

1: Texture setting
2: Material setting
3: my 2D sprite object with the result ( the big grey square)

EDIT :

So, something change when i set the shader to standart AND in the “secondary maps” then “Detail Albedo x”( main maps > albedo , don’t change anything) with my actual texture ( result in the picture )
But color render are not exactly the same :confused:

but i don’t understand why i can’t do it normaly…

You should just be able to change out the sprite on the sprite renderer once you set the import to sprite. Is there a reason you are trying to use a material instead?

i do that because i have too resize the square( for exemple) and not the texture :confused:

So if i do like you said, my sprite will seem to be deform ^^’

I know this is an old thread, but I’m having the same problem. Were you able to figure this out? Thanks.

1 Like

same problem to me. can apply texture to my 3d model, at 2d mode T_T

Same here.