Noob question: Applying textures to custom objects.

Folks,

I’m reasonably new to Unity, but I’m VERY new to creating objects … in fact this is my first one. Please bear with me.

I’m working on a large open world project. Most of the assets I’m using are already created, premade and fit for purpose. Vegetation, water, sky and a bunch of others … most of those are covered. There are only a few additional “terrain-based” assets (like caves) that I would like to create myself. And I’ve found a solution for that …

I’m using a tool called GeoVox to cut out cave systems the way I want them. I’m then exporting them as .obj files and then importing them into Blender to edit editing out the surface sections leaving just the caves themselves. That’s all been working quite well and as a result is I get rather unique looking object to put into the game … and they are purpose built.

So I attempt to import the modified .obj into Unity and apply a texture. That’s where I become unstuck. I’m creating the material. I’m adding the textures (just the diffuse and normal, but I gather that’s all I need) to the material. I’m using the standard Unity shaders. It all ends up a mess. (See the screenshots below).


I’m pretty sure there must be something REALLY simple I’m doing wrong (or not doing) but I’m not sure what it is. Can anyone give me some guidance here?

The object needs to be UV mapped appropriately in order for textures to work. Or possibly you could apply a tri-planar shader, which doesn’t require UV mapping.

–Eric

Thanks Eric. Clearly I have still much to learn. :slight_smile: