# Wireframe material over another material

**URL:** <https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757>\
**Category:** Rendering\
**Tags:** wireframe, unreal-engine, question\
**Created:** [March 25, 2016, 7:26pm UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757 "2016-03-25T19:26:12Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_256cdd0a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_256cdd0a](https://forums.unrealengine.com/u/anonymous_user_256cdd0a)\
**Post date:** [March 25, 2016, 7:26pm UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/1 "2016-03-25T19:26:12Z")

</div>

Hi all,  
so i made a wireframe material and Im trying to put it on top of another material in order to have it glow on top of the item’s texture. Can anyone tell me how to do that ? thanks a lot

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_256cdd0a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_256cdd0a](https://forums.unrealengine.com/u/anonymous_user_256cdd0a)\
**Post date:** [March 29, 2016, 11:00am UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/2 "2016-03-29T11:00:20Z")

</div>

bump ?..

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_733168e6](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_733168e6](https://forums.unrealengine.com/u/anonymous_user_733168e6)\
**Post date:** [March 29, 2016, 2:11pm UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/3 "2016-03-29T14:11:45Z")

</div>

I think that layered materials is what you are after. Here is a video explaining the idea.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/5/9/259993bec2f2c860d0a6f7e20616c93ca497e2b0.jpeg "11 Layered Materials") ](https://www.youtube.com/watch?v=YcP04pkn0NI)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_256cdd0a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_256cdd0a](https://forums.unrealengine.com/u/anonymous_user_256cdd0a)\
**Post date:** [March 30, 2016, 3:03pm UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/4 "2016-03-30T15:03:20Z")

</div>

no, layered materials seem to be for different parts of a model. I want to draw the wireframe material and the normal material on top of each other.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_256cdd0a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_256cdd0a](https://forums.unrealengine.com/u/anonymous_user_256cdd0a)\
**Post date:** [March 31, 2016, 9:58am UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/5 "2016-03-31T09:58:02Z")

</div>

someone please ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fbe5155f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fbe5155f](https://forums.unrealengine.com/u/anonymous_user_fbe5155f)\
**Post date:** [July 22, 2016, 1:02pm UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/6 "2016-07-22T13:02:17Z")

</div>

I have the same question. No answers yet.

---

<div class="post-metadata">

**Author:** ![HolyAyin](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/holyayin/32/469077_2.png) [@HolyAyin](https://forums.unrealengine.com/u/HolyAyin)\
**Post date:** [September 19, 2016, 9:43pm UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/7 "2016-09-19T21:43:36Z")

</div>

I tried doing this with material functions, but I don’t see a wireframe option with material functions.

---

<div class="post-metadata">

**Author:** ![Andrei\_Despinoiu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andrei\_Despinoiu](https://forums.unrealengine.com/u/Andrei_Despinoiu)\
**Post date:** [August 15, 2017, 11:53am UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/8 "2017-08-15T11:53:34Z")

</div>

Sure there is.

 ![193633-screenshot.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/4/7/947ca5ef7d97c0a89f48685a95583f8abe277eec.png)

The “Wireframe Color” node is a simple VectorParameter named that way, and the “Emissive Strength” node is ScalarParameter named that way, too.

Another way would be to sample a texture over the mesh (plugged into the “Emissive Color” pin of the final node) and tile it so it aligns just right, as mentioned here: [https://answers.unrealengine.com/questions/78386/wireframe-material.html](https://answers.unrealengine.com/questions/78386/wireframe-material.html)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1b8afcf7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1b8afcf7](https://forums.unrealengine.com/u/anonymous_user_1b8afcf7)\
**Post date:** [August 16, 2017, 10:49am UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/9 "2017-08-16T10:49:11Z")

</div>

Hi! I have same problem. Yeah there is wire frame option in material node, but is useles. You need to find how to turn on wireframe in material function(i think it is not there-or am i wrong?). I need to find solution without second mesh or texture. Thanks for any advice

---

<div class="post-metadata">

**Author:** ![daeyvee](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@daeyvee](https://forums.unrealengine.com/u/daeyvee)\
**Post date:** [August 22, 2017, 8:12am UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/10 "2017-08-22T08:12:20Z")

</div>

Andrei, this is a Material, not a material function. There seems to be no option for wireframe in material functions

---

<div class="post-metadata">

**Author:** ![IGorilla](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IGorilla](https://forums.unrealengine.com/u/IGorilla)\
**Post date:** [August 22, 2017, 8:20am UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/11 "2017-08-22T08:20:20Z")

</div>

Im pretty sure youll need a second texture for the wireframe. The wireframe option is literally just toggling the mesh to display wireframe or not. You cant have the wireframe option in function because no mesh exists there

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1b8afcf7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1b8afcf7](https://forums.unrealengine.com/u/anonymous_user_1b8afcf7)\
**Post date:** [August 25, 2017, 10:10am UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/12 "2017-08-25T10:10:29Z")

</div>

Yeah you right-but thats what i want to to avoid. I solved it with second mesh with wire turn on. Problem with texture is that is hard to get quality one(its hard to set up render to texture to render nice smooth lines) and it take a lot of time to do that-and i have lot of objects./ But thanks for suggestion

---

<div class="post-metadata">

**Author:** ![Feather\_2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Feather\_2](https://forums.unrealengine.com/u/Feather_2)\
**Post date:** [March 6, 2018, 4:45am UTC](https://forums.unrealengine.com/t/wireframe-material-over-another-material/351757/13 "2018-03-06T04:45:15Z")

</div>

I have found a workaround. You’ll need 2 meshes overlapping each other.

Add the [Wireframe][1] material on one mesh, and the Material of your choice on the second. Now add a simple scalar value 0.2 to your second material’s Pixel Depth Offset node.

![232875-pdo.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/9/1599eef650eed626030fb0514a68b97739107698.jpeg)

Have Fun!
