# PCG Image Mask

**URL:** <https://forums.unrealengine.com/t/pcg-image-mask/1343830>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [October 25, 2023, 2:27am UTC](https://forums.unrealengine.com/t/pcg-image-mask/1343830 "2023-10-25T02:27:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frosty3d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Frosty3d](https://forums.unrealengine.com/u/Frosty3d)\
**Post date:** [October 25, 2023, 2:27am UTC](https://forums.unrealengine.com/t/pcg-image-mask/1343830/1 "2023-10-25T02:27:53Z")

</div>

Apologies if this has been asked already (couldn’t find anything when I searched).  
Is it possible to direct the PCG graph to utilise an image mask?  
I have a mask image (black/white) where I need vegetation on my large landscape which I’d love to use as part of a PCG setup rather than creating a stack of volumes that would conform the the complex areas I require.  
Is there currently a method where I could use such an image mask with PCG?

---

<div class="post-metadata">

**Author:** ![Artwork38](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Artwork38](https://forums.unrealengine.com/u/Artwork38)\
**Post date:** [October 25, 2023, 3:03am UTC](https://forums.unrealengine.com/t/pcg-image-mask/1343830/2 "2023-10-25T03:03:38Z")

</div>

Not sure really.

---

<div class="post-metadata">

**Author:** ![BruceTurner](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bruceturner/32/88719_2.png) [@BruceTurner](https://forums.unrealengine.com/u/BruceTurner)\
**Post date:** [October 25, 2023, 1:53pm UTC](https://forums.unrealengine.com/t/pcg-image-mask/1343830/3 "2023-10-25T13:53:14Z")

</div>

Yep, see here: [https://www.youtube.com/watch?v=UeaQxnAV7O0](https://www.youtube.com/watch?v=UeaQxnAV7O0)) For anyone still getting “Texture data failed to initialize” after using UserInterface2D or VectorDisplMap compression, try also setting the Texture Group option to UI )

---

<div class="post-metadata">

**Author:** ![Sergei.k](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sergei.k](https://forums.unrealengine.com/u/Sergei.k)\
**Post date:** [April 30, 2025, 9:49am UTC](https://forums.unrealengine.com/t/pcg-image-mask/1343830/4 "2025-04-30T09:49:28Z")

</div>

Here’s a method that works even on Static Mesh surfaces:

Simple as this:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/2/fe209718cb41e35ecfde29a38efa2066a26631c1.png)

Result:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/2/bb2326f099fb75b8f87296261885c329e0963292.jpeg)

---

<div class="post-metadata">

**Author:** ![wind\_ness](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/wind_ness/32/1041263_2.png) [@wind\_ness](https://forums.unrealengine.com/u/wind_ness)\
**Post date:** [May 2, 2025, 8:30am UTC](https://forums.unrealengine.com/t/pcg-image-mask/1343830/5 "2025-05-02T08:30:25Z")

</div>

goodgood
