# Issue with Procedural Vegetation Editor: Trees not hiding correctly at a distance 

**URL:** <https://forums.unrealengine.com/t/issue-with-procedural-vegetation-editor-trees-not-hiding-correctly-at-a-distance/2729624>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [June 18, 2026, 2:47pm UTC](https://forums.unrealengine.com/t/issue-with-procedural-vegetation-editor-trees-not-hiding-correctly-at-a-distance/2729624 "2026-06-18T14:47:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WangJianDong](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@WangJianDong](https://forums.unrealengine.com/u/WangJianDong)\
**Post date:** [June 18, 2026, 2:47pm UTC](https://forums.unrealengine.com/t/issue-with-procedural-vegetation-editor-trees-not-hiding-correctly-at-a-distance/2729624/1 "2026-06-18T14:47:53Z")

</div>

Hi everyone,

I’m running into an issue with trees generated using the Procedural Vegetation Editor. I changed the leaf material’s blend mode to “Masked” and set up an opacity mask to hide certain parts of the leaves.

However, during testing, I noticed a weird distance-based bug: when the camera is close up, the masked leaves hide perfectly as expected. But as soon as I pull the camera back, those supposedly masked leaves suddenly reappear.

Has anyone else experienced this or know how to fix it? Any help would be greatly appreciated!

**Just a quick note:** The test leaf material doesn’t have any complex logic; it only uses Base Color and Opacity Mask.

 ![1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/9/7/8973173e385b4f9241b100d2cf54d370dbad357b.jpeg)  
 ![2](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/b/fdb9cfbaa0e9b6dd023683ea3128ffa273b7d8fa.jpeg)  
 ![3](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/4/7/4471237fcbf6d0e026102d2e6ba1988e42fe372b.jpeg)
