How to texture REALISTIC buildings in Blender #b3d

CG Boost
23 May 202422:28

Summary

TLDRThis tutorial offers an in-depth guide to a realistic texturing workflow in Blender for creating detailed urban environments. The presenter shares a step-by-step process, starting from finding references to applying decals for added realism. Techniques include setting up materials, texture painting for damage, and using edgewear and dirt occlusion for enhanced detail. The course referenced provides further instruction on modeling and texturing various urban elements to construct a comprehensive cityscape.

Takeaways

  • 🎨 The tutorial provides an in-depth guide on texturing realistic buildings in Blender, aiming to establish a versatile texturing workflow.
  • 🏢 The subject of the tutorial is an urban building created in the instructor's 'Urban Environments' course, which participants can recreate or download for free.
  • 🔍 Finding a reference image for the building is emphasized as a crucial step to understand material interactions and develop realistic textures.
  • 🗂 Gathering materials and textures is a recommended step, with free resources provided for the tutorial, and a checklist is suggested for personal material collection.
  • 🛠 The texturing process involves setting up materials, editing them, and blending them to create unique materials, starting with a base material like 'rugged orange plaster'.
  • 🖌️ Hand-painting damage using texture painting is a key step that allows for creativity and adds character to the building.
  • 🎭 The final step involves layering decals such as graffiti, stickers, and drips to enhance realism and contribute to a more believable building appearance.
  • 🔧 A bonus step introduces the use of edgewear and ambient occlusion to add detailed secondary elements for increased realism.
  • 📐 The tutorial assumes basic knowledge of Blender, particularly the shader editor, and provides an overview rather than in-depth explanations of every function.
  • 🔄 The process of creating materials is reiterated to be the same for different parts of the building, such as the 'Mashrabiya' architectural feature, with variations in textures and masks.
  • 🌐 The instructor promotes a course for further learning on creating urban environments, which includes modeling, texturing, and adding networks of pipes, wires, and props for enhanced realism.

Q & A

  • What is the main focus of the tutorial video?

    -The tutorial focuses on demonstrating a comprehensive texturing workflow in Blender for creating realistic textures on a building.

  • What does the presenter aim to achieve with the texturing workflow?

    -The presenter aims to create a flexible pipeline that allows for texturing various objects like buildings, houses, props, etc., with the ability to add layers of realism such as edgewear, dirt occlusion, grunge, and graffiti.

  • What is the first step in the texturing workflow presented in the video?

    -The first step is finding a reference image for the building, which is crucial for developing realistic-looking materials.

  • How does the presenter suggest gathering materials and textures for the project?

    -The presenter recommends creating a checklist of needed materials by analyzing the reference images and suggests that all materials used in the video are available for free download.

  • What is the significance of setting up box mapping for textures in the tutorial?

    -Box mapping is used to procedurally project textures onto the object, which can speed up the workflow by skipping the UV process.

  • How does the presenter handle the issue of displacement in the texturing process?

    -The presenter opts for using a bump map instead of real displacement to avoid heavy scene load and maintain performance, as real displacement requires a high poly count for good results.

  • What is the purpose of creating a base material in the shader editor?

    -Creating a base material serves as the starting point for the building's texture, which can then be built upon with additional materials and effects for added realism.

  • How does the presenter add character to the materials?

    -The presenter adds character by introducing color variations to the materials, which helps break up any tiling in the textures and adds visual interest.

  • What is the role of texture painting in the texturing workflow?

    -Texture painting is used to add hand-painted damage and painted walls, allowing for creativity and a more personalized touch to the building's appearance.

  • How does the presenter enhance the realism of the building with decals?

    -The presenter uses decals such as dripping grunge, graffiti, dirt, and stickers to add an extra layer of detail and character to the building, contributing to its overall believability.

  • What is the bonus step introduced by the presenter for adding more realism to the building?

    -The bonus step involves utilizing edgewear and ambient occlusion to create a more detailed secondary element, enhancing the realism of the building's worn areas and corners.

  • What additional resources does the presenter offer for those interested in learning more about creating urban environments?

    -The presenter offers a course called 'Master Urban Environments' for those who wish to learn more about creating buildings and urban scenes, and mentions cgboost.com/urban as a resource.

Outlines

00:00

🎨 Introduction to Texturing Realistic Buildings in Blender

The video script introduces a comprehensive tutorial on texturing realistic buildings in Blender. The speaker discusses their desire for a streamlined texturing workflow that can be applied to various urban elements. The tutorial showcases a specific building used as a canvas to demonstrate this workflow. Viewers are given the option to create the building themselves through a course or download it for free. The texturing process is broken down into clear steps: finding references for realistic materials, gathering necessary materials and textures, setting up materials, hand-painting damage, and adding decals for extra realism. The script emphasizes the importance of foundational Blender knowledge for following along with the tutorial.

05:00

🛠 Setting Up Materials and Box Mapping in Blender

This paragraph delves into the technical aspects of setting up materials in Blender, starting with creating a base material for a rugged orange plaster using textures from Polyhaven. The process includes adding diffuse, roughness, and displacement maps and setting up box mapping to project textures without the need for UV unwrapping. The speaker also explains the use of hue and saturation nodes for color adjustment and the application of bump maps for a realistic effect. The paragraph concludes with the creation of a group in the node tree for better organization as the materials become more complex.

10:02

🎨 Creating Color Variations and Blending Materials

The speaker discusses the importance of adding color variation to materials to avoid flat and unrealistic textures. They demonstrate how to create color variations by duplicating materials and adjusting their hues and saturations. The process involves blending these variations with grunge textures to introduce a sense of wear and tear. The paragraph outlines a method for stacking color variations and using mix shaders and nodes to blend materials together, resulting in a unique and complex material appearance.

15:02

🖌️ Texture Painting for Damage and Imperfections

This section introduces the concept of texture painting to add damage and imperfections to the building's materials. The process requires UV mapping to determine where paint strokes will be applied on the mesh. The speaker guides viewers through unwrapping the building and setting up the UVs for texture painting. They then create a new image texture for blue paint, using a mix shader to blend it with the base material. The painting process is detailed, including the use of custom brushes and adding grunge to the paint mask for a more realistic, worn appearance.

20:03

🏷️ Applying Decals to Enhance Realism and Character

The paragraph explains the final step of adding decals to the building for an extra layer of realism. This involves setting up a new image texture for decals and using a mix shader to blend them with the base material. The speaker provides a detailed guide on texture painting with decals, including importing stencils, adjusting settings for optimal painting, and adding elements like dripping grunge, dirt, and graffiti. The use of overlays and subtlety in applying decals is emphasized to maintain realism.

🔨 Advanced Techniques: Edgewear and Dirt Occlusion

The final paragraph covers advanced texturing techniques such as edgewear and dirt occlusion to further enhance the realism of the building. The speaker describes the process of setting up edgewear using a bevel node, geometry node, and vector math node to create a mask that reveals underlying materials. They also explain how to set up dirt occlusion using an ambient occlusion node and a color ramp to create a mask for a dirt material. The paragraph concludes with an overview of the complete node tree, showcasing the integration of base materials, edgewear, and dirt for a highly realistic finish.

Mindmap

Keywords

💡Texturing

Texturing in the context of 3D modeling and animation refers to the process of adding color, texture, and patterns to a 3D model to make it look more realistic. In the video, texturing is the primary focus, with the presenter aiming to demonstrate a comprehensive workflow for creating realistic textures on a building in Blender, a popular 3D creation suite.

💡Blender

Blender is an open-source 3D computer graphics software toolset used for creating animated films, visual effects, art, 3D printed models, motion graphics, and computer games. The video script mentions Blender as the software where the texturing workflow is being demonstrated, highlighting its capabilities in creating realistic materials and textures for 3D models.

💡Material

In 3D graphics, a material defines the appearance of a surface, including how it interacts with light, its color, and texture. The script discusses creating and editing materials to fit the needs of the building's texturing, such as the 'rugged orange plaster' and 'orange paint', which are essential for achieving the desired realistic look.

💡Texture Painting

Texture painting is a technique used in 3D graphics to add fine details and variations to textures by painting directly onto a model's surface. The script describes using texture painting to add damage and hand-painted details to the building, which allows for a high level of creativity and realism.

💡Decals

Decals are graphic elements applied onto a 3D model to simulate objects such as stickers, graffiti, or other surface markings. The video script mentions decals as the final step in enhancing the building's realism, adding elements like dripping grunge, dirt, and graffiti to the model.

💡Edgewear

Edgewear refers to the wear and tear that occurs on the edges of objects, often visible as chipping or flaking of material. In the script, the presenter discusses using an edgewear setup to simulate the natural wear on the building's edges, contributing to a more realistic and detailed appearance.

💡Ambient Occlusion

Ambient occlusion is a shading and rendering technique used to simulate the soft shadows that occur in the corners and crevices of objects due to ambient light. The script describes using ambient occlusion to add depth and realism to the building's texture, particularly in areas like the Mashrabiya feature.

💡Shader Editor

The Shader Editor in Blender is a node-based interface used to create and edit materials and shaders. The script refers to the Shader Editor multiple times, as it is the primary tool used by the presenter to combine different textures, adjust material properties, and create complex texturing effects for the building.

💡UV Mapping

UV mapping is the 3D modeling process of projecting a 2D texture onto a 3D model. In the script, the presenter mentions setting up UVs for the building to prepare it for texture painting, which is essential for defining where the painted strokes will be located on the model.

💡Box Mapping

Box mapping is a method of projecting textures onto a 3D object in a way that simulates the object being enclosed in a box with the texture on its sides. The script describes the presenter choosing box mapping to avoid the UV process, which can speed up the workflow and is used to set up the projection of textures onto the building.

💡Displacement

Displacement in 3D graphics refers to the process of physically deforming a mesh's surface to create details such as bumps or dents. The script discusses using displacement to add realism to the building's textures, with the presenter opting for a bump map to simulate displacement without the need for high-poly models.

Highlights

Overview of an all-in-one texturing workflow in Blender for creating realistic textures on various objects.

Mastering a texturing pipeline that allows for adding layers of realism such as edgewear, dirt occlusion, and graffiti.

Using an Urban Environments course building as a canvas to demonstrate the texturing process.

Importance of finding reference images for developing realistic-looking materials.

Gathering free materials and textures for the texturing process.

Setting up materials in Blender, including editing and blending them to create new materials.

Painting damage by hand using texture painting for added creativity.

Layering decals like graffiti and drips to enhance the building's realism.

Utilizing edgewear and ambient occlusion for detailed secondary elements.

Creating a base material using box mapping to speed up the workflow.

Adjusting textures with hue, saturation, and displacement nodes for better visual results.

Organizing the shader editor with groups for a cleaner node tree.

Developing a second material with basic orange paint for added depth.

Blending materials together using mix shaders and nodes for a unique material.

Adding color variation to materials to break up tiling and enhance realism.

Techniques for creating damage effects on the building using texture painting and custom brushes.

Finalizing the building's texturing with decals for an authentic, weathered look.

Bonus step involving edgewear and dirt occlusion for an extra layer of realism.

Using a Mashrabiya architectural feature as an example of advanced texturing techniques.

Combining the texturing workflow with networks of pipes, wires, and props for a complete urban environment.

Transcripts

play00:00

Hey guys, in this tutorial, I'm going to show you an overview of how to texture

play00:04

this realistic building.

play00:11

An all -in -one texturing workflow in

play00:14

Blender is something that I wanted for years.

play00:17

I just needed a pipeline that allowed me

play00:19

to texture anything, whether it's buildings, houses, props, pipes, streets, whatever.

play00:24

A system where I could create materials from scratch and then add on layers of

play00:28

realism like edgeware, dirt occlusion, grunge, graffiti, or any other features I wanted.

play00:33

And after this video, you're going to master that workflow.

play00:36

The object that we are going to be working on, essentially the canvas to

play00:40

present this texturing pipeline, is this awesome building created in my Urban

play00:43

Environments course.

play00:44

If you'd like to create the building

play00:46

yourself and the entire scene, you can check out the Master Urban Environments

play00:49

course here, or you can download my building for free from the link in the

play00:53

description and follow along.

play00:54

Okay, so we have our building loaded up

play00:56

in Blender, but before we jump in, let's break down the texturing workflow so that

play01:01

you have a clear, step -by -step idea of the process.

play01:04

First up, finding a reference.

play01:06

This stage is easy to overlook, but it's

play01:08

crucial to developing realistic -looking materials.

play01:11

I found these images of an old building

play01:13

that gives me pretty great information.

play01:15

Looking at this reference, I can see what

play01:16

kind of materials I need and how they interact with each other.

play01:19

Second step, we need to gather the materials and textures.

play01:23

Everything used in this video will be free for you to download and use yourself.

play01:27

If you plan on gathering materials on your own, I recommend creating a

play01:30

checklist of things you'll need by analyzing your reference.

play01:33

Third step, we'll set up the materials, edit them to fit our needs, and blend

play01:37

them together to essentially create our own new material.

play01:41

Fourth step, we'll paint on damage by hand using texture painting.

play01:44

This stage is the most exciting to me personally because it allows for so much creativity.

play01:48

Fifth and final step, we'll layer on decals like graffiti, stickers, drips,

play01:53

mold, and additional damage that will finish everything up and contribute to a

play01:57

much more believable building.

play01:59

And bonus step, we'll utilize edgewear

play02:01

and ambient occlusion to create a more detailed secondary element.

play02:06

Okay, back in the blender, let's get our hands dirty.

play02:09

Just a quick disclaimer before we get started, this video is leaning slightly

play02:13

on the overview side of things, which means I won't always go in depth on every

play02:17

slider and button.

play02:18

And I recommend having fundamental

play02:20

blender knowledge, especially in the shader editor, so that things are easier

play02:23

to follow along with.

play02:25

Alright, let's jump in.

play02:26

Select on the building, head down to material properties, hit new, and name it building.

play02:31

Now in the upper left hand corner, I'll click and drag out to create a new

play02:34

window, and then here, let's select shader editor.

play02:37

Okay, now I'll start by building the first material, and my objective is a

play02:40

rugged orange plaster.

play02:42

This material called Red Plaster

play02:44

Weathered from Polyhaven will work perfectly.

play02:46

I'll drop in the diffuse, roughness, and

play02:48

displacement, and plug them into the principled BSDF.

play02:51

As you can see, the textures aren't working correctly yet, and that's because

play02:54

we haven't set up box mapping.

play02:56

Box mapping is a way to procedurally

play02:58

project your textures onto the object.

play03:00

The reason I'm choosing to use box

play03:02

mapping is because it skips the UV process, which can speed up your workflow

play03:06

a lot.

play03:06

To set it up, let's add in a mapping

play03:08

node, texture coordinate, and a value.

play03:10

Plug the texture coordinates object

play03:12

output into the mapping nodes vector input, and plug the value into the scale

play03:17

of the mapping node.

play03:18

Now highlight each of your image

play03:19

textures, and while holding alt, change the projection method from flat to box.

play03:24

I'd recommend turning the blend level up to 0 .3 as well, so that if there are any

play03:27

sharp corners or seams in the textures, it will smoothen that out.

play03:31

Now I'll adjust the scale via the value node until it's the size I like.

play03:34

Now currently the texture is too dark and red to my taste, so I'll drop a hue

play03:39

saturation node into the diffuse line and edit it to look more like this.

play03:43

Also currently the displacement isn't functioning, so let's plug it into a

play03:46

displacement node and then into the displacement socket of the material output.

play03:50

The displacement texture will drive bump information and displacement information.

play03:54

Bump is essentially a way to fake real displacement, similar to a normal map,

play03:58

while real displacement is when Blender literally physically deforms the mesh.

play04:02

Real displacement is dependent on your object having enough polys, typically a

play04:07

lot of them, in order to look good, which can get really heavy in the scene.

play04:10

So instead, we'll just use a bump map, which will look good enough.

play04:13

To make sure bump is working, go to material, then settings, and find

play04:17

surface, then make sure the displacement mode is set to bump.

play04:20

Now back in the shader editor, let's lower the scale of the displacement node

play04:24

until it looks right.

play04:25

With everything except the material

play04:27

output node selected, let's hit Ctrl G to create a group.

play04:30

This will greatly assist in organizing our node tree, especially as things get

play04:34

more complicated down the line.

play04:36

Alright, congratulations, you just

play04:37

created the first material that will serve as the base for our building.

play04:41

This workflow is generally how I'll go about setting up all the other materials

play04:44

as well, so once you have this down, it can get pretty quick.

play04:47

Okay, now I'd like to develop the second material.

play04:50

This material is going to be a more basic

play04:52

orange paint to help push everything in the right direction.

play04:55

Super simple, I'll just download the beige wall material from Polyhaven, drop

play05:00

in my textures, add in the box mapping setup, and plug everything in.

play05:04

Now currently, the material is pretty boring, so let's boost its colors and

play05:07

character with a hue and saturation node.

play05:10

That's much better.

play05:11

Ctrl G to group it all up, and we're ready for the next step, which is

play05:15

blending materials together.

play05:16

This blend is going to be very basic, and

play05:20

it'll follow the same setup in which we'll blend all future materials together.

play05:24

All we need is a mix shader and a mix node.

play05:26

Make sure the mix node is set to color.

play05:29

The mix shader is how we'll blend the BSDF together, and the mix node is how we

play05:34

blend the displacements together.

play05:36

First things first, we're going to plug

play05:37

the BSDF socket of the orange plaster weathered, the first material we created,

play05:42

into the first socket of the mix shader node, and the BSDF socket of the beige

play05:46

wall material into the second socket.

play05:48

Now we need to blend the displacements

play05:50

together, so plug the displacement output of the orange plaster material into the A

play05:55

socket of the mix node, and the displacement output of the beige wall

play05:58

material into the B socket.

play06:00

Now we have successfully mixed all the

play06:02

materials attributes, and as a result, we've developed our own new unique material.

play06:07

While this material is looking great, it's missing character.

play06:10

Just take a look at the difference between this, the original, and now with

play06:14

color variation.

play06:15

Huge difference, right?

play06:16

Color variation is a great way to add more interest to your otherwise flat materials.

play06:21

It also helps break up any tiling in the textures, which is always a realism killer.

play06:25

Adding color variation is a relatively simple process, and here is how to do it.

play06:30

Firstly, you can do it by duplicating a previously made material.

play06:33

For example, I'll just copy the orange plaster material that I created earlier,

play06:37

mix it in by adding another mix shader and mix node, then hitting the little to

play06:42

button on the group to make sure it's not going to change the material we

play06:45

duplicated it from, and then inside the material, I'll change the colors up a bit

play06:49

with a hue and saturation node.

play06:50

Let's just turn the saturation down to

play06:52

make it more washed out than the original.

play06:54

Now, for this to actually show up and to

play06:56

give it a realistic character, I'll plug a grunge texture into the mix factor of

play07:01

both the mix shader node and the mix node.

play07:04

All the grunge textures I'm using are

play07:05

available for you to download in the description below.

play07:07

Let's drag in concrete1 -grunge, set it up with box mapping, and then plug it

play07:12

into the mix factor.

play07:13

I'll also plug a color ramp in between to

play07:15

allow for finer control.

play07:17

After adjusting the scale of the grunge

play07:19

texture and the color ramp, I found this nice variation in color here.

play07:22

My advice is to make color variation additions subtle and stack a lot on top

play07:27

of each other to build something more complex.

play07:29

Let's do exactly that, adding a new

play07:31

variation using the second technique, which is just a regular BSDF node instead

play07:36

of a duplicated material.

play07:38

This BSDF will be a dark brown, and I'll

play07:41

plug it into the mix shader like normal.

play07:42

Then, I'll add another grunge texture

play07:44

using concrete1 again and dial it in using the color ramp.

play07:48

Now, we have these nice patches of dirt that really enhance the realism.

play07:53

I'll repeat this process a few more times, using different colors and

play07:56

different combinations of grunge textures, until eventually I have this

play08:00

final base material.

play08:01

Okay, here is an overview and breakdown

play08:04

of the node tree so far, representing the base material with color variations.

play08:09

Here we have the red plaster and beige wall materials.

play08:12

They are mixing together very simply via the mix shader and mix node.

play08:16

Then we introduced the first color variation, the material being a

play08:20

duplicated version of red plaster and edited to be less saturated, and it is

play08:24

being mixed together with this grunge texture setup.

play08:27

Then we move on to the next color variation using the same grunge mixing technique.

play08:32

And finally, the last color variation, this time just using a BSDF instead of a material.

play08:38

Okay, so this looks pretty awesome, and it completes my workflow for building

play08:41

base materials for buildings.

play08:42

For this building, we are obviously going

play08:44

to do a lot more work, but it is really important that we nailed the basic

play08:48

materials first.

play08:50

So, jumping into the next addition to

play08:52

this building, I would like to make certain walls a different color than others.

play08:56

Here is the before and after.

play08:58

The painted walls really help make this

play09:00

building unique, and that is ultimately what we are going for.

play09:02

So, how do you set this up?

play09:04

It is really quite simple, and it will be

play09:06

our first look into texture painting.

play09:08

Now, first and foremost, texture painting

play09:10

requires UVs.

play09:12

When we texture paint, we are essentially

play09:14

creating new data on an image texture.

play09:16

Blender has to know where our paint

play09:18

strokes are going to be located on the mesh, and UVs is the only way to do this.

play09:22

So, let us quickly unwrap our building.

play09:24

I will just go into Edit mode by hitting

play09:26

Tab, then hit A to select everything, then U and Cube projection.

play09:31

Now, I will change the left -hand window from Shader Editor to UV Editor.

play09:35

Here, I will select all the UVs by hitting A, then go up to UV and hit Pack Islands.

play09:40

Now, our UVs are ready for use.

play09:42

If you downloaded the building from the

play09:44

description, the UVs are actually already set up, so you do not need to worry about

play09:47

this process.

play09:48

Let us change it back to the Shader

play09:50

Editor and get painting.

play09:51

In order to texture paint, you need to

play09:53

first add in a new empty image texture.

play09:56

So, I will just hit Shift A, Search, and

play09:58

then Image Texture.

play09:59

I would like my walls to be blue, so I

play10:02

can name the image texture BluePaint.

play10:04

Next up, I will actually create the blue paint.

play10:05

I will do this by duplicating the original orange plaster material, adding

play10:09

a Hue and Saturation node to the base color, and pushing it until it turns blue.

play10:14

That is it.

play10:14

Now, let us add in a mix shader and plug

play10:16

the main materials into the top socket and the new blue paint material into the

play10:21

bottom sockets.

play10:22

Now, I will take the blue paint image

play10:23

texture that I created and plug it into the factor of the mix shader.

play10:27

Essentially, we are mixing two materials together and the blank image texture will

play10:32

act as a mask.

play10:33

To put it simply, a mask is black and

play10:36

white data that can inform the separation between two materials.

play10:40

With the blue paint image texture selected, I will head over to the Object

play10:43

Mode button and change it to Texture Paint.

play10:46

You can see up top here that the blue

play10:48

paint image texture is selected.

play10:50

That is very important.

play10:51

Now, if I just start painting, you can see it adds in the blue paint.

play10:55

I will change this to Solid View, which is the texture -less preview mode, so you

play10:59

can visualize the fact that this is just black and white data.

play11:02

So, I would like these bottom walls to be blue, so I can just paint all of them

play11:06

quickly and boom, this building just became much more interesting.

play11:10

Now, currently, the paint is very clean and consistent.

play11:13

There are zero imperfections here.

play11:15

The general rule of 3D is you want to add

play11:17

imperfections to nearly everything.

play11:20

It is a key to realism.

play11:21

So, let us add in a bit of grunge to the mask.

play11:25

Head back over to the Shader Editor, drop

play11:27

in a Mix node, and set the mode to Subtract.

play11:29

Now, you can duplicate one of the grunge

play11:32

texture setups we created earlier and plug it into the bottom socket of the Mix

play11:36

node and plug the blue paint mask into the top socket.

play11:39

Turn the factor up to 1 and adjust the color ramp on the grunge texture until it

play11:44

starts to chip away at the paint.

play11:45

This is an area you can get really

play11:47

creative with, and here you can see I found a subtle wear and tear of the

play11:51

paint, much more realistic.

play11:53

Alright, here is an overview of the node

play11:55

tree so far, featuring the new Painted Wall Edition.

play11:58

Here we have the base material with the color variations, and now with the new

play12:03

painted wall setup here.

play12:05

This is the painted wall mask, and then

play12:08

here is the grunge texture which gives it imperfections.

play12:10

It is all plugged into the factor of the

play12:13

Mix Shader, which is mixing together the base material and the blue paint material

play12:17

we just created.

play12:19

Alright, now we have made it to the

play12:21

second to last step in general material creation, and that is and painted damage.

play12:26

Here is the building before the damage, and here is after.

play12:30

Obviously, the biggest boost to character and realism, and also the process for

play12:34

adding this is incredibly flexible and fun.

play12:37

Here is how to set it up.

play12:38

First, add in a blank image texture and name it damage.

play12:42

This will be the mask.

play12:43

Now, let us create the material that will

play12:45

sit underneath the plaster where the holes of damage will be, and I would like

play12:49

it to be a brownish, dirty plaster.

play12:51

Plaster Gray 04 from Polyhaven will work perfectly.

play12:55

I will drag in the diffuse, roughness, and height, and add it to the box mapping

play12:59

setup like before.

play13:00

Here is what the material looks like.

play13:02

Now, I will add in a Mix Shader in a Mix node, plug the attributes of the gray

play13:06

plaster into the bottom sockets, and the rest of the shader into the top sockets.

play13:10

Now, plug the new damage mask image texture into the factor sockets of both

play13:15

Mix nodes.

play13:16

Make sure the damage mask is selected,

play13:19

and let us go into texture painting.

play13:20

This time, instead of painting on with

play13:23

default settings, we are going to use a custom brush.

play13:25

You can download the brush for free from the description.

play13:28

To add the brush, let us head over to the tool button, and you can find texture

play13:32

mask, hit new, and import your brush image.

play13:38

Change the mask from mapping to view

play13:41

plane, and then check rake.

play13:43

Then, scroll down to falloff and change

play13:46

it to constant.

play13:47

To change the size of the brush, hit F,

play13:50

and to change the intensity, hit shift F.

play13:53

Okay, that is all the annoying stuff out

play13:54

of the way, it is time to get painting.

play13:56

I generally like to wear away corners and

play13:59

sharp edges, or really anywhere that I would imagine the building would have

play14:02

faced some friction, like perhaps where people have walked by and scraped the

play14:06

bottoms with their feet.

play14:07

I cannot understate how much I love this

play14:08

process, I will for sure spend a few hours honing it all in and making my

play14:13

building unique.

play14:13

Unless you are going for something

play14:15

abandoned, I would recommend not going overboard here, as with everything,

play14:19

subtlety is key.

play14:21

Alright, I finished painting my damage,

play14:23

and here is my result.

play14:27

Okay, this is what the node tree is

play14:28

looking like so far, here we have the base material, plus the painted wall

play14:32

addition, and now here is the new damage setup.

play14:36

Here we have the damage mask, which is

play14:38

plugged into the mix factors, and here is the gray plaster material.

play14:44

Now it is time for the final step, which is truly the stamp of realism on this

play14:49

building, and it is decals.

play14:51

It took me forever to find the right

play14:54

decal workflow, it was always either restricted by functionality, or took too

play14:58

long, but now I have the perfect technique, and I am excited to share it

play15:01

with you.

play15:02

Here is the building before the decals,

play15:04

and here is after.

play15:05

You can see I have added dripping grunge,

play15:07

graffiti, dirt, etc, and honestly, it enhances the character so much.

play15:11

Alright, so the setup for this is actually quite simple, but it is really

play15:15

important to get the settings right.

play15:17

First, hit shift A, search, and image texture.

play15:20

Hit new, name it decals, set the resolution to 4096 by 4096, which is 4K,

play15:26

or 2048 by 2048, which is 2K, if the 4K resolution is too heavy on your computer,

play15:32

and then under color, make sure the alpha is set to 0, that part is really important.

play15:37

Now add a new principled BSDF, and plug the decals image texture into the base color.

play15:43

Add a mix shader node, mix it into the rest of the shader, plug the principled

play15:47

BSDF into the bottom socket, and the alpha of the decals image texture into

play15:51

the factor, and that is the setup done.

play15:53

Now with the decals image texture

play15:55

selected, let us head into texture painting mode.

play15:58

Hit on tools, and scroll down to texture, and hit new.

play16:04

Now you can import any of these decals that I provided for you to download in

play16:08

the description, make sure the mapping node is set to stencil, and hit image aspect.

play16:15

You can move your stencil around with right click, rotate with control right

play16:19

click, and scale with shift right click.

play16:22

I would recommend going up to cursor and

play16:24

checking override overlay under texture opacity, this way you can paint on the

play16:29

stencil without obscuring your view.

play16:31

Okay, that is all the technicals out of

play16:32

the way, and now we can start painting on our decals.

play16:35

First things first, I like to add in drips from edges and ledges.

play16:39

For example here, I'll go to the ledge of the window and paint in drips coming down.

play16:43

Now I'll add on some dirt at the bottom, this time using a different stencil, and

play16:47

this added a lot of realism too.

play16:49

Have fun with this process, and again,

play16:51

subtlety is key.

play16:53

Now we're ready for the graffiti, which

play16:55

follows the same process as the grunge decals.

play16:57

Add a new stencil, this time I'll

play16:59

navigate to the graffiti folder, and let's bring in this guy.

play17:02

I'll head to the bottom of the wall and paint this in.

play17:06

I find it fun to imagine myself as the graffiti artist and where I'd

play17:10

realistically want to tag.

play17:11

If there was graffiti on some wall that

play17:13

wasn't accessible to humans, for example, it might look unrealistic, so I try to

play17:17

keep that kind of stuff in mind.

play17:18

Alrighty, here is an overview of the

play17:20

complete node tree setup.

play17:22

Here you can see we have the base

play17:24

material with color variations.

play17:25

Here is the painted wall, here is the

play17:28

damage, and finally, the decals.

play17:31

Getting a closer look at the decals, we

play17:34

have the image texture that we created to paint on the decals plugged into the

play17:38

principled BSDF, and the alpha of the decals image texture plugged into the

play17:42

factor of the mix shader.

play17:44

Alright guys, I am really happy with how

play17:47

this building turned out.

play17:48

The materials feel super detailed, the

play17:51

damage is crisp, the decals help bring everything together.

play17:54

That is the main part of the building done, but I really want to show you the

play17:58

bonus step for layering on a whole new level of realism, and that is edgeware

play18:03

and dirt occlusion.

play18:04

In the course, we modeled this awesome

play18:06

Middle Eastern architectural feature called a Mashrabiya, and it sits

play18:10

prominently here on the front of the building.

play18:12

Taking a closer look, you can see some

play18:14

really intricate chipping paint effects and dirt layers underneath.

play18:18

Here is the Mashrabiya before and after these extra elements.

play18:21

Now, just to catch you up to speed, the base material creation for the Mashrabiya

play18:26

is identical to the building.

play18:27

First, I developed wood materials, and

play18:30

then mixed them together with other paint materials.

play18:33

Here you can see I have used a chipping

play18:34

paint grunge texture as the mask to replicate chipping paint.

play18:38

Once this process was finished, I started with the edgeware.

play18:42

I will show you how to get this set up now.

play18:43

But quickly, before we get into that, I

play18:45

will give you a node tree overview of the Mashrabiya material.

play18:48

Here we have the brown planks material as well as the paint material, which is

play18:52

mixed together with a peeling paint grunge texture.

play18:55

Alright, all caught up.

play18:56

First, add a bevel node and a geometry node.

play18:59

Then add in a vector math node and set it to dot product.

play19:03

Plug the bevel into the first socket and the geometry node's normal output into

play19:08

the second socket.

play19:09

Now, connect the dot product to a color

play19:12

ramp and the color ramp into a math node, which is set to multiply.

play19:16

Now, just use the color ramp and the multiply to dial in the edgeware.

play19:20

It is so satisfying to me for some reason.

play19:22

Here, I found a really nice set up.

play19:25

Now, for extra detail, plug a map range into the radius of the bevel and take one

play19:30

of your grunge texture setups from earlier and plug it into the map range.

play19:34

Now, by controlling the map range, you can make your edgeware grungy and realistic.

play19:38

Now, let us use this edgeware setup as the mask between two materials.

play19:42

For the Masturbia, I used an older brown wood underneath the paint and revealed it

play19:47

by using edgeware.

play19:49

And here is the result.

play19:52

Okay, let us have a closer look at the node tree as well so you can properly

play19:56

visualize how the edgeware system works.

play19:58

Here is the base material I showed

play20:00

earlier and here is the new edgeware setup.

play20:03

I am using a rough planks material to

play20:06

represent the edgeware and here is the actual edgeware system that is mixing it

play20:11

all in.

play20:11

Feel free to pause the video and copy the

play20:14

nodes if you need to.

play20:16

Okay, so now let us set up the dirt which

play20:18

is also really important for realism.

play20:20

Here is before adding the dirt and here

play20:22

is after.

play20:23

First, add in an ambient occlusion node

play20:25

and plug its color output into a color ramp.

play20:29

By controlling the distance attribute of

play20:30

the AO and the color ramp, you can dial in something nice.

play20:34

And then, of course, for extra realism, add a math node and set it to less than.

play20:39

Duplicate the grunge texture setup we used for the edgeware and plug it into

play20:42

the bottom socket.

play20:43

Now, edit the map range until the dirt

play20:46

has grunge.

play20:47

Now you can use this dirt setup as the

play20:49

mask between the rest of the shader and a dirt material by plugging it into the

play20:53

factor of the mix shader.

play20:58

Okay, final node tree overview with the

play21:01

new dirt additions.

play21:02

Here we have the base material, the

play21:04

edgeware setup, and now the new dirt setup.

play21:08

Taking a closer look, you can see we have

play21:10

the ambient occlusion node which is given a more realistic look with a grunge texture.

play21:14

And then backing out a bit, this dirt system is plugged into the factor which

play21:18

is mixing in this dirt material.

play21:20

The dirt material, by the way, is just a

play21:22

principled BSDF set to a brown color with the roughness turned up.

play21:26

Okay, here is our complete building and I think it looks absolutely amazing.

play21:31

I really hope you guys enjoyed this video and got something out of it.

play21:34

Like I've said countless times now, this workflow is how I go about texturing any

play21:38

building or object in Blender.

play21:40

And once you have it dialed in, you can

play21:42

achieve crazy levels of realism.

play21:45

Speaking of realism, it gets even better

play21:48

once we add in the networks of pipes, wires, and props.

play21:52

If you'd like to learn how to create this as well, which is arguably just as

play21:56

important as the texturing stages, make sure to check out the course at cgboost

play22:00

.com slash urban.

play22:02

In my course, we don't only model and

play22:04

texture the building featured in this video, but a ton of others too, each

play22:08

unique in their own way, which eventually complete a massive city environment.

play22:13

There's truly so much packed into this course and you'll get a ton out of it no

play22:17

matter your skill level.

play22:19

Thanks so much for watching guys and good

play22:21

luck creating your buildings.

Rate This

5.0 / 5 (0 votes)

関連タグ
Blender TutorialTexturing WorkflowRealistic BuildingUrban Environments3D TexturingMaterial CreationTexture PaintingDecal ApplicationEdgewear EffectsDirt Occlusion
英語で要約が必要ですか?