0
$\begingroup$

I am new to using Blender 2.8. Actually to Blender as a whole. I am creating a game in unity and needed a .obj file. Currently I have an obj file, but is has no colour at all. It's just plain white. The textures(.png files) came separately unfortunately and I have to join them myself. The problem is though when I import the obj files I can see the design in shader view, but not in the viewport. And so I can not see any colours when I export it. I don't know how to make Blender export the version I see in Shader View, not in the ViewPort. I have attached some pictures to make it clear. Please remember that I just started using Blender and have no experience. I just want to use Blender to add the texture to the obj file. I took some time on other sites for help, but there were too confusing for me(since I am still new to Blender). I would appreciate an answer that I can understand. Image in Shader View

I can't seem to upload the view from the viewport, but it is the same model, but without colours. Can anyone help me or point me in the direction on how I should fix this?

Link to file example https://drive.google.com/drive/folders/136JAU39QuD3YjroLCU9UfEzixqg6PBRa?usp=sharing

$\endgroup$
1
  • $\begingroup$ You can display textures in solid viewport by clicking on the drop down arrow in the top right of the 3d view then you'll be presented with a few options, in the color choices you should select Texture. Is that what you are looking for ? $\endgroup$
    – Gorgious
    May 24 at 10:17
0
$\begingroup$

I believe your problem's issue is that you are in the view Material Preview instead of the correct view Rendered View.

You can also easily toggle these views with the Z key shortcut menu.

enter image description here

$\endgroup$
9
  • $\begingroup$ Hi, It seems like I may have confused you and Gorgious. I can click z and switch the the dev view and I can see the colour. The problem is I can't export it with the shader as an obj. It is just a blank file. This is a big problem for me in Unity. I have to create a new material for each material that exists that uses that png texture. So I need to create 20 new materials and assign them the png in Unity. I wanted a way to do that quickly in Blender. That way when I export as an obj I can just use that in my project, without creating any new materials. $\endgroup$ May 24 at 20:19
  • $\begingroup$ The routine of needing to recreate materials for exported .obj files is quite normal I believe... Have you tried other supported formats such as the .fbx format? $\endgroup$ May 24 at 22:26
  • $\begingroup$ Yeah, I tried fbx, but it still doesn't work. All of my other assets came with the material. That's why I thought I could export with the correct material, not the blank one. If it isn't possible I guess I could just manually recreate the materials. $\endgroup$ May 25 at 17:53
  • $\begingroup$ The only other format I could think of that would be useful to this particular scenario would be the "glTF" format. Blender already has natively import/export capabilities for it, and Unity supports them too. $\endgroup$ May 26 at 1:18
  • $\begingroup$ Ok, I will try using that format tommorow. I really appreciate your help. $\endgroup$ May 26 at 4:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.