# ImpostorBaker turns black foliage, unreal engine 5.0.1

**URL:** <https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873>\
**Category:** Pipeline & Plugins\
**Tags:** unreal-engine, UE5-0, Plugins, UE4-27, question\
**Created:** [April 27, 2022, 7:55am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873 "2022-04-27T07:55:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gen\_X](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gen_x/32/940753_2.png) [@Gen\_X](https://forums.unrealengine.com/u/Gen_X)\
**Post date:** [April 27, 2022, 7:55am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/1 "2022-04-27T07:55:24Z")

</div>

I’ve migrate a project from UE 4.2.7 to UE 5.0.1  
All procedural foliage with a LOD impostorbaker looks black, just the LOD with impostorbaker, all other LODs looks well.  
Anyone has an idea how back it to normal apareance?

 ![2022-04-27 02_44_35-Mangle_2022ar26 - Unreal Editor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/b/b/1bb5dd6a9f113045e181bd9e258ec7a41d46330c.jpeg)

 ![2022-04-27 02_47_05-Mangle_2022ar26 - Unreal Editor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/b/a7b93abf810ff74b967274ddf9fe5f1941c1a583.jpeg)

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [April 27, 2022, 7:57am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/2 "2022-04-27T07:57:58Z")

</div>

Try looking at it with the overview visualization to see if it’s in a particular shader type:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/6/4/f6483811934f901108cdead79efed8de65f09c00.jpeg)

---

<div class="post-metadata">

**Author:** ![Gen\_X](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gen_x/32/940753_2.png) [@Gen\_X](https://forums.unrealengine.com/u/Gen_X)\
**Post date:** [April 27, 2022, 8:01am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/3 "2022-04-27T08:01:33Z")

</div>

> [@RecourseDesign](#):
>
> Try looking at it with the overview visualization to see if it’s in a particular shader type:

It looks is just the LOD with impostorbaker

 ![2022-04-27 03_00_08-Mangle_2022ar26 - Unreal Editor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/9/29932d174a80c096463437281bc693112464598e.jpeg)

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [April 27, 2022, 8:16am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/4 "2022-04-27T08:16:13Z")

</div>

Are all the impostor textures ok? Do they appear black in the impostor material in the material editor?

---

<div class="post-metadata">

**Author:** ![Gen\_X](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gen_x/32/940753_2.png) [@Gen\_X](https://forums.unrealengine.com/u/Gen_X)\
**Post date:** [April 27, 2022, 8:26am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/5 "2022-04-27T08:26:13Z")

</div>

All the impostorbaker but just when use procedural foliage volumen

 ![2022-04-27 03_19_17-Mangle_2022ar26 - Unreal Editor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/d/c9d093cc80adca252f5b3fbe52fda671a0ec42e6.jpeg)

on the left static mesh placed manually, on the right same mesh placed by procedural foliage volumen

 ![2022-04-27 03_24_20-Mangle_2022ar26 - Unreal Editor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/8/55813818d4017edcdce061266989eb5849909f23.jpeg)

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [April 27, 2022, 8:38am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/6 "2022-04-27T08:38:11Z")

</div>

hmmm, there is this note about lighting in the docs:

"Each individual mesh instance has its own shadow and/or light map generated by Lightmass, and these are tiled together for each precomputed batch. There are several settings on the Static Mesh that should be checked for precomputed lighting to operate well with instanced foliage. Lightmass is less forgiving when generating shadow maps for instanced meshes, and incorrect settings could lead to black meshes after rebuilding lighting. "

But I would have thought that would affect all LODs and also your 4.27 version. Out of interest though (I’m building support for Impostors into a plugin so want to learn as much about all aspects) - what happens if you increase the lightmap size?

---

<div class="post-metadata">

**Author:** ![Gen\_X](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gen_x/32/940753_2.png) [@Gen\_X](https://forums.unrealengine.com/u/Gen_X)\
**Post date:** [April 27, 2022, 8:51am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/7 "2022-04-27T08:51:06Z")

</div>

By default it was 64. I tried light map resolution 128, 512, 1024, nothing happens

 ![2022-04-27 03_47_24-Rhizophora-mangle-Test](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/a/a/baa55f2a534ea188c6a49198429d27df1dbab0c4.jpeg)

 ![2022-04-27 03_47_34-Mangle_2022ar26 - Unreal Editor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/d/a/3da8019271187622e8639df599bb46fa3383c814.jpeg)

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [April 27, 2022, 9:25am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/8 "2022-04-27T09:25:07Z")

</div>

Something else to try is to ensure the LOD group is set to “Foliage”…

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/0/1/9014a28314967045ff6db39fc92d6a61b3de0084.jpeg)

---

<div class="post-metadata">

**Author:** ![Gen\_X](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gen_x/32/940753_2.png) [@Gen\_X](https://forums.unrealengine.com/u/Gen_X)\
**Post date:** [April 27, 2022, 9:50am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/9 "2022-04-27T09:50:46Z")

</div>

I changed to foliage group, problem persist

 ![2022-04-27 04_48_43-Mangle_2022ar26 - Unreal Editor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/3/c/e3cadee4787748fdcb4c9042ef0041b78d4a5c69.jpeg)

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [April 27, 2022, 10:14am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/10 "2022-04-27T10:14:27Z")

</div>

Ok, this one looks a little more promising 🙂

“Are your lights set to static, stationary, or movable? The mesh you placed manually is set to static, so it will accept static lighting. The foliage tool sets meshes to movable by default, so they will not accept static lighting.”

---

<div class="post-metadata">

**Author:** ![Gen\_X](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gen_x/32/940753_2.png) [@Gen\_X](https://forums.unrealengine.com/u/Gen_X)\
**Post date:** [April 27, 2022, 10:44am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/11 "2022-04-27T10:44:05Z")

</div>

All lights are movable. There are just two lights: sun and spotlight at sunset or evening. Spotlight has shadows desactivated

This is the last version on UE 4.27 where impostors works well, it’s supuse must looks like this in UE 5.01, but impostors are black

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/f/6/0f6abb3ac8159f08e5d685245daebc68168b0018.jpeg "Mangle - Prototipo 2022mr08") ](https://www.youtube.com/watch?v=1TbBHjPMUiY)

---

<div class="post-metadata">

**Author:** ![brezovsky11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@brezovsky11](https://forums.unrealengine.com/u/brezovsky11)\
**Post date:** [April 27, 2022, 3:03pm UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/12 "2022-04-27T15:03:15Z")

</div>

I am having the same issue…  
All the assets that are in a foliage are black, placed by themselves work just fine.

Would be nice to get a fix or at least a workaround for that.

---

<div class="post-metadata">

**Author:** ![Dovah\_Niik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dovah\_Niik](https://forums.unrealengine.com/u/Dovah_Niik)\
**Post date:** [May 3, 2022, 10:05pm UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/13 "2022-05-03T22:05:55Z")

</div>

I have this issue too, did you happen to find a fix?

---

<div class="post-metadata">

**Author:** ![Astaraa](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astaraa/32/1194560_2.png) [@Astaraa](https://forums.unrealengine.com/u/Astaraa)\
**Post date:** [May 4, 2022, 3:53am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/14 "2022-05-04T03:53:05Z")

</div>

Nanite’s not enabled, is it?

---

<div class="post-metadata">

**Author:** ![Gen\_X](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gen_x/32/940753_2.png) [@Gen\_X](https://forums.unrealengine.com/u/Gen_X)\
**Post date:** [May 4, 2022, 4:02am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/15 "2022-05-04T04:02:18Z")

</div>

i’ve tried with nanite enabled and disabled on the mesh, same result

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [May 4, 2022, 4:26am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/16 "2022-05-04T04:26:00Z")

</div>

For everyone who’s been experiencing this, an issue has been opened on Ryan Brucks GitHub page:

> <https://github.com/ictusbrucks/ImpostorBaker/issues/16>
>
> All the projects using this tool (nature packs for example) in the Marketplace a…re stuck with black imposters.
> UE5 seems to have a problem with the material functions.
> Any one could help?

---

<div class="post-metadata">

**Author:** ![Gen\_X](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/gen_x/32/940753_2.png) [@Gen\_X](https://forums.unrealengine.com/u/Gen_X)\
**Post date:** [May 4, 2022, 4:34am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/17 "2022-05-04T04:34:09Z")

</div>

why is available on UE 5.0.1 plugins?

 ![2022-05-03 23_31_20-Mangle_2022ar26 - Unreal Editor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/b/c9b556c15fba36813c7394c441788432cfee3fc2.jpeg)

---

<div class="post-metadata">

**Author:** ![RecourseDesign](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/recoursedesign/32/1194503_2.png) [@RecourseDesign](https://forums.unrealengine.com/u/RecourseDesign)\
**Post date:** [May 4, 2022, 4:44am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/18 "2022-05-04T04:44:28Z")

</div>

It was working on earlier versions.

I’m guessing it’s either tied into a bug with part of the UE5.0 rendering to rendermaps or because the material blueprints still contain some residue feature from UE4 like tesselation (should be compiled out with a static switch but maybe getting caught in a check).

If it’s still not fixed next week I’ll hopefully have some time to have a look at the blueprints.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_63edca3e1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_63edca3e1](https://forums.unrealengine.com/u/anonymous_user_63edca3e1)\
**Post date:** [May 27, 2022, 11:23pm UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/19 "2022-05-27T23:23:29Z")

</div>

im facing this exact issue, if anyone finds a solution please post here

---

<div class="post-metadata">

**Author:** ![Le\_ii](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Le\_ii](https://forums.unrealengine.com/u/Le_ii)\
**Post date:** [June 2, 2022, 10:51am UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/20 "2022-06-02T10:51:18Z")

</div>

Was having this bug as well, and found out that it got fixed if I disconnected the PDO in the impostor material. No clue about any complications that might happen down the line but it works for now.  
PDO On -

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/1/7/1178e3ce11b092ec5e911f8bd1d644ca113545bf.jpeg)

PDO Off -

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/a/3/2a33d1fddbb08c3b94d94edf9dddde533ef91c6b.jpeg)

[Next page](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873.md?page=2)
