# Is it possible to mask some part of vertex color?

**URL:** <https://forums.unrealengine.com/t/is-it-possible-to-mask-some-part-of-vertex-color/2267631>\
**Category:** Rendering\
**Tags:** unreal-engine, Rendering, question\
**Created:** [January 9, 2025, 11:17am UTC](https://forums.unrealengine.com/t/is-it-possible-to-mask-some-part-of-vertex-color/2267631 "2025-01-09T11:17:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbourguignon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sbourguignon](https://forums.unrealengine.com/u/sbourguignon)\
**Post date:** [January 9, 2025, 11:17am UTC](https://forums.unrealengine.com/t/is-it-possible-to-mask-some-part-of-vertex-color/2267631/1 "2025-01-09T11:17:26Z")

</div>

Hello everyone!

I do some search and i try to cut my vertex color for blending mat on it but don’t know how.

Here a picture to illustrate, i want to split in half each vertex color:

 ![Capture d'écran 2025-01-09 121137](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/4/0/540d66787085304045fd153fa8395fdc458986eb.png)

Someone can help please? 🙂

Thanks

---

<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:** [January 9, 2025, 4:13pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-mask-some-part-of-vertex-color/2267631/2 "2025-01-09T16:13:16Z")

</div>

You can construct a mask for vertex colors in the same way you’d construct masks for anything else. Looks to me like what you are trying to accomplish cound be done by constructing an object space gradient, and then using a step node to turn an axis of this gradient into a black and white threshold.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/9/159f04d7ebc25d0f6ac8f88a3fea24797fee3195.jpeg "Object Space Gradient in UE4") ](https://www.youtube.com/watch?v=4NqpGPjMi8I)

Here’s a video that covers how to make an object space gradient you can use to construct such a mask.  
Once you have the mask, you simply multiply your vertex color by it, or use it as an alpha for a lerp, or however you want to operate your mask.

---

<div class="post-metadata">

**Author:** ![sbourguignon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sbourguignon](https://forums.unrealengine.com/u/sbourguignon)\
**Post date:** [January 10, 2025, 10:18am UTC](https://forums.unrealengine.com/t/is-it-possible-to-mask-some-part-of-vertex-color/2267631/3 "2025-01-10T10:18:37Z")

</div>

Perfect tuto thank you very much 👌

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [February 9, 2025, 10:18am UTC](https://forums.unrealengine.com/t/is-it-possible-to-mask-some-part-of-vertex-color/2267631/4 "2025-02-09T10:18:42Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
