# Creating Gradient/Colour textures to surfaces help

**URL:** https://forum.highend3d.com/t/creating-gradient-colour-textures-to-surfaces-help/49275
**Category:** Maya
**Tags:** rendering-lighting
**Created:** [April 5, 2010, 4:25pm UTC](https://forum.highend3d.com/t/creating-gradient-colour-textures-to-surfaces-help/49275 "2010-04-05T16:25:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jruss86](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/b4bc9f/32.png) [@jruss86](https://forum.highend3d.com/u/jruss86)
#### Post date: [April 5, 2010, 4:25pm UTC](https://forum.highend3d.com/t/creating-gradient-colour-textures-to-surfaces-help/49275/1 "2010-04-05T16:25:38Z")

</div>

Hi, I'm relatively inexperienced with Maya but I would like to be able to create a landscape texture with gradient colour to represent height or peaks. Similar to 'ThemeView' - [http://searchuserinterfaces.com/book/images/themeview.png](http://searchuserinterfaces.com/book/images/themeview.png)

But I want it to be dynamic in the way that when I alter or sculpt a surface, the gradient of colour representing height remains. I hope someone can help me, and if I'm asking about this in the wrong forums please guide me to one that is more appropriate for my query.

Thanks!

attached image example from : [http://www.jucs.org/ujs/jucs/Journal/Volume%207/Issue\_7\_6/discovering\_knowledge\_through\_visual/images/fig1.gif](http://www.jucs.org/ujs/jucs/Journal/Volume%207/Issue%5C_7%5C_6/discovering%5C_knowledge%5C_through%5C_visual/images/fig1.gif)

J.

![](https://forum.highend3d.com/system/screenshots/302635/original/fig1.gif?1270484738)

---

<div class="post-metadata">

### Author: ![thnkr](https://forum.highend3d.com/user_avatar/forum.highend3d.com/thnkr/32/115_2.png) [@thnkr](https://forum.highend3d.com/u/thnkr)
#### Post date: [April 5, 2010, 4:40pm UTC](https://forum.highend3d.com/t/creating-gradient-colour-textures-to-surfaces-help/49275/2 "2010-04-05T16:40:00Z")

</div>

Select the geometry  
Open the Attribute Editor  
Go to [Rendering] Lighting/Shading-\>Assign New Material-\>Surface Shader  
Click on the texture icon next to outColor in the Attribute Editor  
In the Create Render Node window that opens, select "as projection" and click on the ramp icon  
in the Attribute Editor you should see the projection node. Click on Fit to BBox   
Adjust the ramp colors.

---

<div class="post-metadata">

### Author: ![jruss86](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/b4bc9f/32.png) [@jruss86](https://forum.highend3d.com/u/jruss86)
#### Post date: [April 5, 2010, 5:14pm UTC](https://forum.highend3d.com/t/creating-gradient-colour-textures-to-surfaces-help/49275/3 "2010-04-05T17:14:03Z")

</div>

perfect. thankyou very much Michiel!

J.
