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 anwser!
I try to change for 2D Sprite but nothing change
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
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?