Welcome Guest ( Log In | Register )

> Dirt Map Tutorial
gordon
post Jan 4 2010, 10:41 AM
Post #1


Forum Master
*****

Group: Full Members
Posts: 506
Joined: 30-March 09
From: Arkansas
Member No.: 19,484



Started a new thread for this so that it will not be hidden.


--------------------
Our Website: Westmarch Studios

There are only 10 types of people in the world:
Those who understand binary, and those who do not.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
gordon
post Jan 4 2010, 11:37 AM
Post #2


Forum Master
*****

Group: Full Members
Posts: 506
Joined: 30-March 09
From: Arkansas
Member No.: 19,484



Using the dirt maps

Attached Image

It seems that even some long time users have not had any idea how to use the dirt maps. This tutorial will attempt to shed some light on this subject. So first we need to know what defines a dirt map. The basic characteristic of all the dirt map presets is that they are monochrome images. This presents many possible ways to use the dirt maps for enhancing our images. The thing to remember is that a dirt map is rarely used alone.

All the textures in this tutorial will have the key concept at the top level and any input texture will be a group with a name to explain what it is. By studying the gtx files in combination with this text you should be able to see what is going one.

Let’s start with the “foot prints” dirt map preset. This can be used in many ways but one of the most interesting ways is to use it as a height map. By using this as the input to a point light node you can make the foot prints become indentations. By following this with colorize and combine nodes you are set to put the indentations onto the texture of your choice. In the example here I have used the sandy beach texture as the input. I set the combine node to mix using a multiply then follow the combine node with a change bci node to bring the brightness of the image back up. I now have footprints on the beach.

Attached Image
Attached File  footprints.gtx ( 11.6K ) Number of downloads: 164


Using a combine node with one of the inputs being a dirt map is the second way to use them. By combining the dirt maps with a texture using multiply or least, etc combine modes you can get several different effects. The next example is oil on a metal plate. The combine mode is set to multiply for this to show dark oil on the metal. This can be used for any of the dirt maps. It basically creates a dark overlay to the base image.

Attached Image
Attached File  oil_on_metal.gtx ( 6.6K ) Number of downloads: 83


The third way to use dirt maps is probably the most rewarding. In this method you use the dirt map as the selector input on a combine. This allows you to mix textures using the dirt mask as a mask. For this example I will use the oily film again but this time I will use it to select a oily film transparent overlay to add to the metal plate. While I could have used it directly to select between two materials like with say goo or grungy boarder the oily film lends itself to this technique but I will make an example that uses the grungy boarder dirt map to select between to materials.

So for the oily film the first thing I do is to use the dirt map to create an image that is transparent where there is no dirt and white where there is dirt. The next trick is to combine this with the oil color map using a combine node set for multiply and opacity dropped some. This creates a colored film then this is simply overlaid on a metal material.

Attached Image
Attached File  oily_film_on_metal.gtx ( 7.71K ) Number of downloads: 92


On the two material select it is just a combine node with to different materials as input and the dirt map as the selector. This is very simple but it works very well for things like goo, secondary splatter, etc.

Attached Image
Attached File  grungy_boarder.gtx ( 12.4K ) Number of downloads: 72


--------------------
Our Website: Westmarch Studios

There are only 10 types of people in the world:
Those who understand binary, and those who do not.
Go to the top of the page
 
+Quote Post

Posts in this topic
- gordon   Dirt Map Tutorial   Jan 4 2010, 10:41 AM
- - gordon   Using the dirt maps It seems that even some lon...   Jan 4 2010, 11:37 AM
- - MonsterMind   RE: Dirt Map Tutorial   Jan 4 2010, 01:01 PM
- - Vicces1212   So, dirt maps are alpha channels right?   Jan 4 2010, 01:02 PM
|- - gordon   QUOTE (Vicces1212 @ Jan 4 2010, 02:02 PM)...   Jan 4 2010, 02:12 PM
|- - Atlas   QUOTE (gordon @ Jan 4 2010, 02:12 PM) The...   Jan 5 2010, 04:48 PM
- - Vicces1212   Ok, thanx!   Jan 5 2010, 06:17 AM
- - Atlas   Thank you for the great tutorial! New users...   Jan 5 2010, 04:17 PM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Home    |    Products    |    Forums    |    About Us
Copyright (c) 2010 Spiral Graphics Inc.  All Rights Reserved.