Here is tutorial from my WIP thread of how to make worn out plaster material
I will be using blender 2.54 for this.
First we need bunch of textures, I give you same textures I use in my scene. just click textures names to get that texture.
These are large textures so feel free to make them smaller if you need.
Plaster diffuse
Plaster normal map
Stone diffuse
Stone normal map
Planks diffuse
Planks normal map
and two dirt masks
Dirt mask 1 used for dirt
Dirt mask 2 used for worn out part
Those are all needed textures.
We need to model a piece of wall.
We need to make five sets of UV coordinates for our wall.
uv plaster for our plaster textures.
uv planks for our planks (coloured grid texture replaced by planks in this tutorial.)
uv mask for our mask textures for worn out part.
uv dirt for dirt mask.
uv stone for stone textures.
select our wall object and goto materials and add a new material to it.
Name it wornplaster, make it use nodes and goto node editor.
So first we need to make materials
Shift+A - input - material
do that twice
name one material plaster and other stone
now add plasterD and plasterN and one stoneN to plaster material, make plasterD and plasterN to use UV map plaster and stoneN to use uvmap stone. Here is how to do it.
Click Plaster material node in node editor then go to texture panel at properties window. Add a new texture, make it type image or movie, search for plasterD image and add it.
From Mapping panel, change coordinates to UV and layer to plaster.
For diffuse maps
From Influence panel, make sure color is 1.000 and specular color is 1.000
For normal maps
Make sure you check “normal map” from image samping panel and from drop down menu check tangent space.
You need to make it affect Normal of geometry from influence panel and nothing else.
now add stoneD and stoneN stone material, make both of them use uv map stone.
Back to node editor.
Shift+a - color - mix
drag line from plaster material color to mix color1 and from stone color to color2 of mix node.
Change blend mode to substract and change factor to something like 0.2, I like that most.
Your model should look like this now.
next add new material and name it plasterdirt and add textures plasterdirtD and plasterdirtN to it and make both of them to use UV map plaster.
Now we need to add a texture without any material, I really have not found any “good” way to do it but here is how I do it.
add a new material node, name it something you want, I name it textures
Now click that material node and add two textures to it, dirt1 and dirt2
Add new texture node shift+a - input - texture
Now make that texture dirt2 by clickin on name box and searching for dirt2 texture.
Now we need geometry node, add a geometry node Shift+A - input - geometry
Write mask to the value box of UV coordinates.
Drag line from UV of this geometry node to Vector of dirt2 texture node.
Add RGB curves node shift+a - color - RGB curves.
This RGB Curves will be used to make the worn out part a bit darker from the edge where the plaster has worn out.
Drag Color from dirt2 texture node to color input of RBG curves, Invert the C value of the curve.
add a mix node, drag color from plasterdirt to color 1 of new mix node and add color of our second last mix node to color2 of new mix node. Drag a line from RBG Curves to Fac input of if this mix node.
Your model should look like this now.
Add new material, name it planks. Add placeholderD and placeholderN to it and make them use UV map planks.
Add another RGB Curves and again, drag a line from dirt2 texture node to input of this new RGB Curves. I modified default curve just a little bit.
This RGB Curves will determine where our plaster will be worn out and where we can see the planks material.
Add a mix node, take color of our second last mix node to color1 and drag color from planks material node color1 of this new mix node. Drag a line from color of our latest RGB Curves to Fac of this latest mix node.
Your model should look like this now.
Modify inverted curve a bit to make the worn edge darker
Add a new texture node and assign dirt texture to it
Add new geometry node and make it use uv dirt
Drag a line from Geometry UV to dirt texture node Vector input. Add a new RGB Curves. Drag a line from dirt texture node color output to this new RGB Curve color input.
This Curve will be used to determine how strong the dirt is.
Add a mix node, drag color from our second last mix node to this new mix node’s color1 and from plasterdirt color to color2 of this new mix node. Drag a line from our latest RGB Curves node to Fac of our new mix node.
And your final texture should look like this.
and with correct planks texture
If you need to change where the worn out part is, just modify mask UV
If you need to change size of planks material, just modify planks UV
If you need to change where dirt is and amount of dirt, use the corresponding RGB Curve and uv layer.
I hope this was useful to someone, make sure to check my WIP thread :eyebrowlift: