Keep up-to-date with Free tutorials!!


Sign up to our twice-monthly newsletter today for the latest tutorials, interviews and product information.

Sign me up to receive third-party emails from 3dtotal's partners, too!

- Latest news
- Exclusive Shop Offers
- Preview early content
- Plus much more


Not Ready to take that step? OK, Why not just Subscribe to the RSS Feed

submit tutorial
1 | 2 | 3
Controlling Displacement Maps

| Your Rating:
rating star fullrating star fullrating star fullrating star fullrating star full
(Score 5 out of 5 after 2 Votes)
| Comments 0
Date Added: 9th December 2009
Software used:

Checker1 will go on the left, because it is outputting outAlpha. DisplacementShader1 will go on the right, because it is receiving outAlpha into displacement. Select checker1 and click the Reload Left button. Now select displacementShader1 and click Reload Right

Now is the easy part. Click first on Out Alpha, then click on Displacement. If you look back in your Hypergraph you'll note that there is a connection line drawn between them. The checker is now connected to the displacement, but the displacement isn't connected to the actual shader. To do this, select displacementShader1 and Reload Left. Select lambert2SG (the shading group) and Reload Right. Once both are loaded, click first on Displacement, then on Displacement Shader. This will technically connect displacementShader1.displacement into lambert2SG.displacementShader.

Now if you render, you should get an image like the example at the beginning of this section.

Ok! Woohoo! We have a cool checkered plane thing with holes and stuff. Wow! Well, what if I want the white higher? How can I change that? Short answer, you can't. Long answer, you can. Since the outAlpha is mapped directly into the displacement shader, we can't control or change the amount or intensity of the map without making the white a bit darker or brighter. What if this was a detailed displacement map for a face? You don't want to go through your map and keep adjusting the levels and contrast in Photoshop, then go back into Maya, render, then go back into Photoshop, adjust, etc.

So what we will do is create a multiplyDivide node. What it does is take in any inputs and multiply, divide or power it by a value you set, then send the result as the output .

checker1.outAlpha into multiplyDivide.input1X multiplyDivide.ouputX into displacementShader1.displacement.

Let's create the multiplyDivide node.


Back in the Connection Editor, select first checker1 and press Reload Left, then select multiplyDivide1 and Reload Right. Connect "Out Alpha" into "Input1 X"

Select multiplyDivide1 and Reload Left, then select displacementShader1 and Reload Right. Connect "Output X" to Displacement


If you render now, you should see exactly the same thing as before. We need to change the value that the outAlpha is being multiplied/divided by. Select multiplyDivide1 and go to the Attribute Editor. Notice that the first box of Input1 is yellow. That means it has an incoming connection. The first box of Input2 is where we change the intensity of the displacement. If I change it to 10 instead of 1, there will be 10 times as much displacement. If I change it to .5, there will be half as much displacement. Go ahead and try it

Pretty cool, huh? Try doing the same thing only using images you've made. Here is a quick examples using an image made in Photoshop. Instant mountains, no modeling


< previous page

1 | 2 | 3
Related Tutorials

Making of 'Smile at all ages'

by Reza Abedi
published on 2016-02-09

Keywords: ZBrush, MARI, Maya, Quixel DDo, V-Ray

rating star fullrating star fullrating star fullrating star fullrating star half (20)
Comments 4 Views 23762

How to make normal maps from real surfaces

by Ryan Clark
published on 2009-12-09

Keywords: photoshop, normal, maps,

rating star fullrating star fullrating star fullrating star halfrating star none (3)
Comments 0 Views 93666

Introduction to rigging in Maya – cleaning up the rig

by Jahirul Amin
published on 2014-05-20

Keywords: Maya, Rigging, Hands, Fingers, Thumbs, Animation

rating star fullrating star fullrating star fullrating star fullrating star half (19)
Comments 1 Views 37024

Maya Irradiance Particles in Mental Ray - Video Tutorial

by i3DTutorials
published on 2009-12-09

Keywords: maya, mental ray, rendering, irradiance, particles,

rating star fullrating star fullrating star fullrating star halfrating star none (2)
Comments 0 Views 48607
Readers Comments (Newest on Top)
no comments!
No comments yet. Be the first to comment!
Add Your Comment..