Creating Materials

6m 58s

In this course, David Tracy will show you how to use Unity as an interactive architectural visualization tool.

First you will learn interfacing with Unity and how to import and export your project within Rhino and SketchUp. Then, you will learn how to use shaders, materials, textures, and lighting for your project. Finally, you will learn how to create scripts to enable you to interact with your scene.

When you are done with this course, you'll know how to navigate Unity to start building your own interactive walkthroughs and visualizations.

Now that our lighting calculation has been completed again, we can start adding some more detail to our scene, okay? So I'm gonna jump back into Rhino, and I have a model of the Mies van der Rohe daybed built in here so I'm gonna turn on option one so I have the daybed, the Barcelona daybed, and the Barcelona chairs.

For now I'm just gonna bring in this daybed. I'm going to first ungroup it and I'm going to select export and I'm going to say Barcelona daybed 01 dot OBJ. I'm gonna save this in my mesh folder. I'm going to export OBJ objects as OBJ objects and I'm not going to export layer names, okay? And I'm going to click, do not export layer names, and hit enter and I'm just gonna leave this as the kinda default setting.

So, now let's go back into the project. Okay, this is going to bring my mesh into the project. All right, and I'm gonna have to scale this again to point 3048, just to make sure I'm converting between feet and meters, okay?

And now I can drag this into my scene and the daybed is now visible. I'm gonna pull this out just a little bit, like this. Right, and I have a bunch of different mesh parts here. Okay, so I'm going to, I'm gonna select mesh part, actually I'm gonna have to go back to Rhino.

So, I'm going to select the different faces of my cushion here, because these are all gonna be the same material. I'm gonna select the headrest, then I'm gonna select the leather straps. Okay, and I'm going to group these together, so they're gonna be all leather, and then I'm gonna select the stainless steel frame and legs and group those together.

So, now that I have my different elements grouped together, I'm going to export them. I'm gonna save this as Barcelona daybed oh one and I'm gonna export groups as OBJ groups, okay? I'm gonna hit enter, to export.

I'm gonna leave my default mesh settings active. Right, so now in Unity it's going to import my mesh. And I'm gonna make sure I adjust the scale here too, from feet to meters, so point 3048. I'm gonna click apply and now I'm going to drop that into my scene. So, now I have the leather elements and the stainless steel elements separated.

I'm going to create a new material, called leather, okay? And I'm gonna set the color to a kind of, like, brown, like a dark rich brown, desaturated, like that. And I'm gonna set a normal map to this leather normal that I brought in, okay?

So this texture is not marked as a normal map, so I'm gonna fix that so that it will be marked as a normal map and then I'm just going to apply it to this object. And we can see, if we zoom in on this thing, there is some leather texturing here. It's pretty small, so what I'm gonna do is I'm gonna go ahead and adjust the tiling for my texture here, to be something like point 25, point 25.

Okay, that might be a little big, but what we're gonna do is, we're gonna take the normal map down a little bit so that it looks a little more leathery. Then I'm gonna take up the smoothness so we start picking up some highlights on this leather material, something like that.

So I'm gonna go ahead and create another material called stainless, right, and I'm gonna leave the albedo channel as white, I'm gonna bump up the metallic and I'm gonna bump up the smoothness, so it's gonna have a chrome appearance to it. So I'm gonna apply stainless to this group here. And then the last thing I'm gonna do is I'm gonna apply my leather material to these straps. So let's go ahead and look at my stainless material again.

Okay, and let's drop down the metallicness of this just a little bit, so that it's a little lighter, okay? All right, and then we can continue to tweak our materials so that we kinda get the realistic look that we're looking for. So I'm gonna go into my lighting tab, I'm gonna bump up the intensity of my skybox.

In fact, I'm just gonna go back to my default skybox here, okay? So we have something that's a little bit lighter. All right, now if I play my scene I should be able to get some really nice kinda specular highlights.

And we can see there's still some work that needs to be done with my materials. And the camera's still a little bit high. But the flooring's starting to look pretty nice and the wood material and some of the global illumination is looking pretty good.

Log in to access files

From the course:
Unity for Interactive Architectural Visualization

Level 1

Duration: 3h 3m

Author: David Tracy