# How to set Smooth Shading on Procedural Meshes?

**URL:** <https://forums.unrealengine.com/t/how-to-set-smooth-shading-on-procedural-meshes/376825>\
**Category:** Blueprint\
**Tags:** procedural-geometry, procedural-mesh-comp, unreal-engine, question, Blueprint\
**Created:** [November 19, 2016, 2:15pm UTC](https://forums.unrealengine.com/t/how-to-set-smooth-shading-on-procedural-meshes/376825 "2016-11-19T14:15:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Metemer](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Metemer](https://forums.unrealengine.com/u/Metemer)\
**Post date:** [November 19, 2016, 2:15pm UTC](https://forums.unrealengine.com/t/how-to-set-smooth-shading-on-procedural-meshes/376825/1 "2016-11-19T14:15:42Z")

</div>

Hi. I’m fairly new in Unreal, and I’m trying to generate a simple fairly simple piece of geometry (based on user input) and have its edges be smoothed.

What I have: [http://i.imgur.com/Gwuucsd.png](http://i.imgur.com/Gwuucsd.png)

What I want: [http://i.imgur.com/kmQ2rcE.png](http://i.imgur.com/kmQ2rcE.png)

Of course the smoothing doesn’t look great with such a small poly count, but that’s a problem for the future.

How I generate the mesh: [http://i.imgur.com/MN2vWzA.png](http://i.imgur.com/MN2vWzA.png)  
Inside QuadMacro: [http://i.imgur.com/P8trANQ.png](http://i.imgur.com/P8trANQ.png)

Each cycle of the loop adds 4 triangles (one double-sided quad) to my Triangles[], then I use SetCustomMeshTriangles.

Strangely enough, when I tried searching for my problem, I only found dozens of other people who get smooth shading by default, and are trying to force flat shading! So that leaves me out of ideas. Thanks for any help in advance.

---

<div class="post-metadata">

**Author:** ![Eresea](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Eresea](https://forums.unrealengine.com/u/Eresea)\
**Post date:** [September 2, 2017, 1:54am UTC](https://forums.unrealengine.com/t/how-to-set-smooth-shading-on-procedural-meshes/376825/2 "2017-09-02T01:54:25Z")

</div>

I am having the same issue here, is there really no information on this ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b0bec21c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b0bec21c](https://forums.unrealengine.com/u/anonymous_user_b0bec21c)\
**Post date:** [October 7, 2017, 9:44pm UTC](https://forums.unrealengine.com/t/how-to-set-smooth-shading-on-procedural-meshes/376825/3 "2017-10-07T21:44:51Z")

</div>

The only solution i have found is to split the edges (so every face gets its own points with the edge normals facing in the direction of the face normals).
