# Painting mask

**URL:** <https://forums.unrealengine.com/t/painting-mask/24888>\
**Category:** Asset Creation\
**Tags:** unreal-engine\
**Created:** [March 20, 2015, 5:29pm UTC](https://forums.unrealengine.com/t/painting-mask/24888 "2015-03-20T17:29:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ue4QuickTips](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ue4QuickTips](https://forums.unrealengine.com/u/Ue4QuickTips)\
**Post date:** [March 20, 2015, 5:29pm UTC](https://forums.unrealengine.com/t/painting-mask/24888/1 "2015-03-20T17:29:02Z")

</div>

Hey guys,  
I don’t know much about materials and would like to know how to allow the player to paint a mask over a texture.  
Creating invisible spots on a platform.  
Kind of like spray painting .

Thanks to all.

---

<div class="post-metadata">

**Author:** ![TimeSpirits](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TimeSpirits](https://forums.unrealengine.com/u/TimeSpirits)\
**Post date:** [March 20, 2015, 7:09pm UTC](https://forums.unrealengine.com/t/painting-mask/24888/2 "2015-03-20T19:09:44Z")

</div>

Could use more information, maybe an image of what you are talking about.

If you want to paint out holes on a static mesh, setup a vertex paint node into your opacity slot. Then paint out the holes. More info here, just a note, more vertices on your model the more accurate the painting will be :

> **[Vertex Color Materials](https://docs.unrealengine.com/4.27/en-US/BuildingWorlds/LevelEditor/Modes/MeshPaintMode/VertexColor/MaterialSetup/Color/)**
>
> This page describes how to set up materials that utilize Vertex Color so that you can paint colors in Mesh Paint Mode.

---

<div class="post-metadata">

**Author:** ![Frisco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Frisco](https://forums.unrealengine.com/u/Frisco)\
**Post date:** [March 20, 2015, 7:20pm UTC](https://forums.unrealengine.com/t/painting-mask/24888/3 "2015-03-20T19:20:59Z")

</div>

Hi!

To create a “invisible spot” or a “hole” is very simple. Just dublicate the same material you used to draw the landscape. This time add just one node: LandScape visibility mask and put that in opacity mask.

![adcc8f1b8873a029c9cdd86a9305ad53589f2d9d.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

After that set the “hole” material in your landscape settings to material you just created. Select the landscape editor and change “sculpt” setting to “visibility”. Then you just draw the hole. You can undraw the hole by keeping the shift-key pressed

![a9166fa5b538b4f5f1e7ae163fcf9ba517bd4b04.jpeg](https://d1ap1mz92jnks1.cloudfront.net/images/transparent.png)

To paint different textures over landscape you need to create “Layer Blend” inside your material editor and just plug every material node to there. You can use Paint tool to paint and just click the material you want to “spray”

---

<div class="post-metadata">

**Author:** ![Ue4QuickTips](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ue4QuickTips](https://forums.unrealengine.com/u/Ue4QuickTips)\
**Post date:** [March 24, 2015, 9:12am UTC](https://forums.unrealengine.com/t/painting-mask/24888/4 "2015-03-24T09:12:27Z")

</div>

Thank you guys
