Blending Dirt and ImageTexture?
Moderators: ChrisHekman, aoktar
- blastframe
- Posts: 178
- Joined: Wed May 21, 2014 6:01 am
- Location: Los Angeles, CA USA
Is there a way to multiply a Dirt Map and Image Texture? I'd like to create noise at the edges of a model. I tried using the Multiply node and it didn't work as expected. Thanks!
- gordonrobb
- Posts: 1247
- Joined: Sat Mar 16, 2013 9:08 am
Best to use Mix. Use the Dirt node as the amount, and mix between your texture and whatever you want the noise to be (RGB, or Texture)
Windows 8 Pro | i7 3770 OC | 32 GB Ram | Single Titan (plus Black Edition on Order) | Octane Lightwave |
- blastframe
- Posts: 178
- Joined: Wed May 21, 2014 6:01 am
- Location: Los Angeles, CA USA
Great, thanks! I will try it when I get home 

- blastframe
- Posts: 178
- Joined: Wed May 21, 2014 6:01 am
- Location: Los Angeles, CA USA
Hi,
I've tried the method you described and it resulted in the following output. Is there a way to multiply the noise? It seems to be in Normal blend mode. Thank you!
I've tried the method you described and it resulted in the following output. Is there a way to multiply the noise? It seems to be in Normal blend mode. Thank you!
- blastframe
- Posts: 178
- Joined: Wed May 21, 2014 6:01 am
- Location: Los Angeles, CA USA
I came up with a solution that I wanted to share.
I created a Multiply node that contained my ImageTexture and a MixTexture node. Inside of the MixTexture is:
I created a Multiply node that contained my ImageTexture and a MixTexture node. Inside of the MixTexture is:
- Amount : Dirt
- Texture1 : Noise
- Texture2 : RgbSpectrum set to white
- gordonrobb
- Posts: 1247
- Joined: Sat Mar 16, 2013 9:08 am
Ok I'm confused but interested.
What is wrong with the image you show as the result? Is it that the dark parts of the noise or not darkening the original texture, but the noise image is replacing the original texture? Also, not sure I understand your solution. Can you show the node setup and the result?
Ta!
What is wrong with the image you show as the result? Is it that the dark parts of the noise or not darkening the original texture, but the noise image is replacing the original texture? Also, not sure I understand your solution. Can you show the node setup and the result?
Ta!
Windows 8 Pro | i7 3770 OC | 32 GB Ram | Single Titan (plus Black Edition on Order) | Octane Lightwave |
- blastframe
- Posts: 178
- Joined: Wed May 21, 2014 6:01 am
- Location: Los Angeles, CA USA
Hi gordonrobb,gordonrobb wrote:Ok I'm confused but interested.
What is wrong with the image you show as the result? Is it that the dark parts of the noise or not darkening the original texture, but the noise image is replacing the original texture? Also, not sure I understand your solution. Can you show the node setup and the result?
Ta!
The problem with the image I showed was that the noise was not being multiplied in its blending with the ImageTexture.
Here's my setup for Custom Dirt:
- blastframe
- Posts: 178
- Joined: Wed May 21, 2014 6:01 am
- Location: Los Angeles, CA USA
This is the result (there is some ambient occlusion, but the streaking in the corners is created by this custom dirt material.
- gordonrobb
- Posts: 1247
- Joined: Sat Mar 16, 2013 9:08 am
Looks great, but your images make no sense to me. Doesn't C4D use Nodes? Not being familiar with it, I can't translate it, in my head, to a node tree.
Windows 8 Pro | i7 3770 OC | 32 GB Ram | Single Titan (plus Black Edition on Order) | Octane Lightwave |
- blastframe
- Posts: 178
- Joined: Wed May 21, 2014 6:01 am
- Location: Los Angeles, CA USA
gordonrobb wrote:Looks great, but your images make no sense to me. Doesn't C4D use Nodes? Not being familiar with it, I can't translate it, in my head, to a node tree.