# Can i Place foliage on static mesh by densitymap

**URL:** <https://forums.unrealengine.com/t/can-i-place-foliage-on-static-mesh-by-densitymap/85846>\
**Category:** World Creation\
**Tags:** unreal-engine, Foliage\
**Created:** [February 21, 2017, 4:48pm UTC](https://forums.unrealengine.com/t/can-i-place-foliage-on-static-mesh-by-densitymap/85846 "2017-02-21T16:48:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![somawheels](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@somawheels](https://forums.unrealengine.com/u/somawheels)\
**Post date:** [February 21, 2017, 4:48pm UTC](https://forums.unrealengine.com/t/can-i-place-foliage-on-static-mesh-by-densitymap/85846/1 "2017-02-21T16:48:13Z")

</div>

Hi  
I want to “paint” foliage on a static mesh while at the same time painting texture on the static mesh.

I also require optimization such as distance culling, lod, batching… so it would be perfect if i could leaverage UE4’s foliage tool.

Does anyone have any suggestions?  
Thanks

---

<div class="post-metadata">

**Author:** ![Sigma-Erebus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sigma-Erebus](https://forums.unrealengine.com/u/Sigma-Erebus)\
**Post date:** [February 25, 2017, 1:36pm UTC](https://forums.unrealengine.com/t/can-i-place-foliage-on-static-mesh-by-densitymap/85846/2 "2017-02-25T13:36:51Z")

</div>

i think you just have to do the texture and foilage separately. or possibly edit the mesh from the foilage to have a plane underneath and have your texture on that plane.

---

<div class="post-metadata">

**Author:** ![somawheels](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@somawheels](https://forums.unrealengine.com/u/somawheels)\
**Post date:** [February 25, 2017, 5:23pm UTC](https://forums.unrealengine.com/t/can-i-place-foliage-on-static-mesh-by-densitymap/85846/3 "2017-02-25T17:23:00Z")

</div>

Aye, I think your right. But I found a reasonable solution. Paint your texture-mask however your prefer, then export the texturemask as a TGA, then in the vertexPaint tool, import the texture-mask as vertex colors. You can then use the foliage tool’s vertcolor masking option to put the foliage only in the masked areas mask.

---

<div class="post-metadata">

**Author:** ![Sigma-Erebus](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Sigma-Erebus](https://forums.unrealengine.com/u/Sigma-Erebus)\
**Post date:** [February 26, 2017, 7:36am UTC](https://forums.unrealengine.com/t/can-i-place-foliage-on-static-mesh-by-densitymap/85846/4 "2017-02-26T07:36:02Z")

</div>

yeah, that should work

---

<div class="post-metadata">

**Author:** ![arechiga00](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@arechiga00](https://forums.unrealengine.com/u/arechiga00)\
**Post date:** [April 17, 2018, 2:32am UTC](https://forums.unrealengine.com/t/can-i-place-foliage-on-static-mesh-by-densitymap/85846/5 "2018-04-17T02:32:20Z")

</div>

I know this is an old thread but did you guys get the vert color mask to work on a static mesh? I dont even have the option on my foliage tool.
