- Home /
png texture not showing correctly
Hi,
I have this game object, namely an artery-like structure and I created a diffuse material for it. I simply tried to attach a .png pink-coloured texture I found from the internet for it which has arterial-like characteristics, but unfortunately these details are not showing and only the base colour of the texture can be seen. This is the first time I've ever really worked with materials and textures so I may be doing something wrong.
Any suggestions..?
Thank you!
In the $$anonymous$$esh Rendered component of the GameObject, do you have the $$anonymous$$aterial you setup selected?
Yes, I created a material "artery$$anonymous$$aterial" and selected it in the Inspector window for the Artery structure
The gameobject is a cube or similar primitive using simple '$$anonymous$$esh Renderer' and not Skinned $$anonymous$$esh Renderer or something you created in $$anonymous$$aya/Blender/Etc (looking for a UV mapped texture)?
Yes it is an object I created in Blender and uses a simple '$$anonymous$$esh Renderer'.
Answer by brockk · Jan 12, 2015 at 10:51 AM
Hi jamesb1 ,
change your material type diffuse to Unlit/Transparent to solve problem
Answer by JoQsh · Jan 12, 2015 at 10:33 AM
I'm having the same issue. I haven't technically resolved it yet, but I've found the first problem. Blender doesn't create a UV map automatically, so the textures aren't applied correctly. You can create a UV map in blender - here's the documentation on it:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Textures/Mapping/UV/Unwrapping
I unwrapped mine without messing with seams or anything, and it doesn't look quite right, so apparently there's some knowledge/skill involved in the process. I probably won't look any deeper for a while, as I'm not sure what I want my final product to look like, yet, but I'll let you know if I find any other useful info.