# 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:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![NerdPicante](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nerdpicante/32/553473_2.png) [@NerdPicante](https://forums.unrealengine.com/u/NerdPicante)\
**Post date:** [July 21, 2022, 10:58pm UTC](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873/27 "2022-07-21T22:58:24Z")

</div>

Hey all, wanted to post this before the thread goes too cold - and for anyone that comes across it in the future.

A little more poking around with the PDO part of the shader and I found the specific node that is causing the blacked out foliage instances. “ObjectScale” **cannot** be used with Foliage Instances, and you need to use **FoliageScaleFactor** instead. It will _slightly_ break your handplaced foliage, but setting your PDO value to something like 1.5 or 2 (instead of 1 by default) works pretty well.

 ![PDO_ImpostorFoliage](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/b/0/5b0a850d20065bd75297b0a221414843bcd2d84d.png)

Hopefully this fix works as well for ya’ll as it does for me. 😁

 ![FixedPDO_FoliageActors](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/5/8/f58d5d430ef8d352360c4cd2650ca909200201da.jpeg)

(All the distant trees here are Instanced Foliage WITH PDO hooked up and working)

---

_[View the full topic](https://forums.unrealengine.com/t/impostorbaker-turns-black-foliage-unreal-engine-5-0-1/540873)._
