# Rendering Edges As Separate Color

**URL:** https://forum.highend3d.com/t/rendering-edges-as-separate-color/151548
**Category:** Maya
**Tags:** rendering
**Created:** [February 12, 2017, 10:53pm UTC](https://forum.highend3d.com/t/rendering-edges-as-separate-color/151548 "2017-02-12T22:53:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![doug-hines](https://forum.highend3d.com/user_avatar/forum.highend3d.com/doug-hines/32/67_2.png) [@doug-hines](https://forum.highend3d.com/u/doug-hines)
#### Post date: [February 12, 2017, 10:53pm UTC](https://forum.highend3d.com/t/rendering-edges-as-separate-color/151548/1 "2017-02-12T22:53:15Z")

</div>

My current project calls for me to render a white square with the edges a separate color. We will use black for the purpose of this exercise. How would I go about rending the edges of a polygon object black, while the faces are white?

---

<div class="post-metadata">

### Author: ![mehdi-louala](https://forum.highend3d.com/user_avatar/forum.highend3d.com/mehdi-louala/32/4383_2.png) [@mehdi-louala](https://forum.highend3d.com/u/mehdi-louala)
#### Post date: [February 13, 2017, 7:50am UTC](https://forum.highend3d.com/t/rendering-edges-as-separate-color/151548/2 "2017-02-13T07:50:05Z")

</div>

Hey doug,

If you’re rendering with Arnold, you can do it super easily with a **_aiWireframe_** node, and play with **fill** and **line** colors,

If you’re rendering with Mental Ray you need to apply a material to your objects, then go on the shadingGroup of the assigned material, while Mental Ray is your current renderer go in the **_mental ray_** tab of your shadingGroup then you have a **_Contours_** section, turn on **Enable Contour Rendering** then play with values, if you want a flat cube you can just assign a simple surfaceShader (_right click → assign Favorite Material → Surface Shader_)

Have a nice day,  
Mehdi
