# \[Low poly\] Procedural mesh colors

**URL:** <https://forums.unrealengine.com/t/low-poly-procedural-mesh-colors/445399>\
**Category:** World Creation\
**Tags:** low-poly, unreal-engine, color, procedural, UE4, question\
**Created:** [March 16, 2019, 12:06am UTC](https://forums.unrealengine.com/t/low-poly-procedural-mesh-colors/445399 "2019-03-16T00:06:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zbluu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zbluu](https://forums.unrealengine.com/u/Zbluu)\
**Post date:** [March 16, 2019, 12:06am UTC](https://forums.unrealengine.com/t/low-poly-procedural-mesh-colors/445399/1 "2019-03-16T00:06:53Z")

</div>

Hello,

I have a procedural terrain generated in C++ in a game that use the low poly style.  
I’m currently working on biomes implementation, and I have a little issue :

Each vertex of the terrain has a FColor depending on what biome it is located, but sometimes, the color of generated triangle is a gradient between different colors of his 3 vertices.  
I’d like the color of the triangle to be uniform without gradients.

So, I have this :

 ![271515-53364402-404266260120898-4848680707502899200-n.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/d/6fdd45769ea2fa803d9374a07aee98839a67ce21.png)

And I want this (like the great Astroneer do) :

[http://lesplayersdudimanche.com/wp-content/uploads/2019/02/cover-test-astroneer-les-players-du-dimanche.jpg](http://lesplayersdudimanche.com/wp-content/uploads/2019/02/cover-test-astroneer-les-players-du-dimanche.jpg)

How can I do this without duplicate the vertices of each triangles ? Do I need to write a custom shader ? Or do some Blueprint manipulations on the terrain material ?

Thanks for the help 🙂

---

<div class="post-metadata">

**Author:** ![Zbluu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Zbluu](https://forums.unrealengine.com/u/Zbluu)\
**Post date:** [March 21, 2019, 5:30pm UTC](https://forums.unrealengine.com/t/low-poly-procedural-mesh-colors/445399/2 "2019-03-21T17:30:06Z")

</div>

I answer to myself : the only way is to duplicate vertices.
