# Wireframe Rendering

**URL:** <https://forums.unrealengine.com/t/wireframe-rendering/1156418>\
**Category:** Rendering\
**Tags:** unreal-engine, question\
**Created:** [May 6, 2023, 10:56am UTC](https://forums.unrealengine.com/t/wireframe-rendering/1156418 "2023-05-06T10:56:24Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![BananableOffense](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BananableOffense](https://forums.unrealengine.com/u/BananableOffense)\
**Post date:** [May 8, 2023, 11:16pm UTC](https://forums.unrealengine.com/t/wireframe-rendering/1156418/4 "2023-05-08T23:16:09Z")

</div>

> [@Is it possible to create a custom wireframe shader/material in Unreal 5 that only (mostly) renders quads (and not triangles) like in this Unity engine shader example?](https://forums.unrealengine.com/t/is-it-possible-to-create-a-custom-wireframe-shader-material-in-unreal-5-that-only-mostly-renders-quads-and-not-triangles-like-in-this-unity-engine-shader-example/848990/9):
>
> Here is my material on a mesh with both triangles and quads: Note that the edge between the triangles and the quads are slightly thinner than the rest due to that edge being omitted from the wireframe. Here’s the required UV layout. [image] This is actually the default UV layout in blender, so you can rapidly get this layout by selecting your mesh, hitting “U” to bring up the UV menu, and then “R” for reset. N-gons will also become centric, however they wont span the full 0-1 UV sp…

This can be done via shader using barycentric UVs. Here’s a thread that goes over some possibilities.

---

_[View the full topic](https://forums.unrealengine.com/t/wireframe-rendering/1156418)._
