# 4.8 procedural foliage spawner starter tutorial

**URL:** <https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402>\
**Category:** World Creation\
**Tags:** unreal-engine\
**Created:** [May 6, 2015, 7:18pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402 "2015-05-06T19:18:44Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanford87](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sanford87/32/906597_2.png) [@sanford87](https://forums.unrealengine.com/u/sanford87)\
**Post date:** [May 6, 2015, 7:18pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/1 "2015-05-06T19:18:44Z")

</div>

Just wanted to make a quick tutorial on how to get started with the procedural foliage spawner.  
Make sure you go into **Edit\>\>Editor Preferences\>\>Experimental** and check the **Procedural Foliage box**.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/3/0138a5008d751e456a1b419f6f77a284e913a25e.jpeg "Unreal engine 4.8 procedural foliage spawner tutorial") ](https://www.youtube.com/watch?v=lWfKe07tuq8)

Another quick tutorial on getting the grass output node working with your landscape material.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/9/6/7965426bd8e6e78c7b547cd9676d00199c05b2ce.jpeg "Unreal Engine 4.8 grass output material node tutorial") ](https://www.youtube.com/watch?v=Yq7vacDrJgw)

---

<div class="post-metadata">

**Author:** ![Alexarg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Alexarg](https://forums.unrealengine.com/u/Alexarg)\
**Post date:** [May 6, 2015, 8:58pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/2 "2015-05-06T20:58:31Z")

</div>

Thanks!, this looks good i cant wait for 4.8!  
By the way, your second video is set to private

---

<div class="post-metadata">

**Author:** ![sanford87](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sanford87/32/906597_2.png) [@sanford87](https://forums.unrealengine.com/u/sanford87)\
**Post date:** [May 6, 2015, 9:14pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/3 "2015-05-06T21:14:43Z")

</div>

thanks for the heads up. Just fixed it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f1b5294d1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f1b5294d1](https://forums.unrealengine.com/u/anonymous_user_f1b5294d1)\
**Post date:** [May 7, 2015, 4:09am UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/4 "2015-05-07T04:09:54Z")

</div>

4.8 tutorials already… awesome.

---

<div class="post-metadata">

**Author:** ![SCASL](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SCASL](https://forums.unrealengine.com/u/SCASL)\
**Post date:** [May 7, 2015, 8:52am UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/5 "2015-05-07T08:52:01Z")

</div>

Thanks! Great tutorial!

---

<div class="post-metadata">

**Author:** ![sivan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sivan](https://forums.unrealengine.com/u/sivan)\
**Post date:** [May 7, 2015, 2:30pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/6 "2015-05-07T14:30:11Z")

</div>

hey, you are quick! 😃

---

<div class="post-metadata">

**Author:** ![J.J.Franzen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@J.J.Franzen](https://forums.unrealengine.com/u/J.J.Franzen)\
**Post date:** [May 8, 2015, 11:46pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/7 "2015-05-08T23:46:13Z")

</div>

Thanks for the primer. I was able to get the grass to spawn, but it’s spawning under the landscape, at the bottom of the bounding box, not on the surface… Is anyone else seeing this? Also, I had asked during the stream where they went over this system and they said it would work for any mesh, not just landscapes. I can’t seem to get it to work with anything but landscapes. Has anyone seen docs for this node yet? Cheers,

J^2

---

<div class="post-metadata">

**Author:** ![sanford87](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sanford87/32/906597_2.png) [@sanford87](https://forums.unrealengine.com/u/sanford87)\
**Post date:** [May 9, 2015, 2:11am UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/8 "2015-05-09T02:11:02Z")

</div>

hmm, does the foliage on the bounding box have the same features of the landscape? Not sure if that makes sense. I’m thinking there might be something funky with your Z offset. either that or maybe the procedural volume isn’t covering the terrain on the Z axis? I will say when I twice it the first couple times the bushes would randomly be about a meter above the terrain. Could you possibly post a screen shot with some of the settings?

---

<div class="post-metadata">

**Author:** ![J.J.Franzen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@J.J.Franzen](https://forums.unrealengine.com/u/J.J.Franzen)\
**Post date:** [May 10, 2015, 6:35pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/9 "2015-05-10T18:35:32Z")

</div>

Actually, it’s the grass that’s spawning incorrectly, not the foliage. Foliage is behaving as expected. It’s the grass that is not working. I’m using the grass output node in my landscape material and it is spawning the grass objects I choose. It’s just spawning them all in a flat field at the bottom of the landscape’s bounding box. It is respecting the painting done, only spawning where I have painted the apropos layer, just not at the proper Z height. I don’t see anything in the grass material or grass object that defines a Z offset. Am I missing a hidden flag somewhere?

J^2

---

<div class="post-metadata">

**Author:** ![sanford87](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sanford87/32/906597_2.png) [@sanford87](https://forums.unrealengine.com/u/sanford87)\
**Post date:** [May 10, 2015, 7:21pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/10 "2015-05-10T19:21:17Z")

</div>

No z-offset that I’m aware of. I made a new project and didn’t change any of the settings except density when I made the tutorial. Is it a new project or a converted one? I converted a project I was working on in 4.7 and the grass did something really weird.

 ![HighresScreenshot00000.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/3/23876155bd3eedf3b944a9b4182eb6a5c0080c38.jpeg)

random planes seemed to form going straight up. Could you try to sculpt a hill and see if the grass placement corresponds with the lump? That would tell if it was just placing it at an arbitrary Z value or if it was an offset of the terrain.

---

<div class="post-metadata">

**Author:** ![J.J.Franzen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@J.J.Franzen](https://forums.unrealengine.com/u/J.J.Franzen)\
**Post date:** [May 11, 2015, 4:02am UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/11 "2015-05-11T04:02:54Z")

</div>

I’ve only tried with a converted project. I’ll try with a fresh project and see what I get. Cheers,

J^2

---

<div class="post-metadata">

**Author:** ![J.J.Franzen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@J.J.Franzen](https://forums.unrealengine.com/u/J.J.Franzen)\
**Post date:** [May 11, 2015, 4:26am UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/12 "2015-05-11T04:26:43Z")

</div>

Tried a new project and getting the same results. Did a very quick and dirty example using mat spheres for the grass mesh.

 ![Screen Shot 2015-05-10 at 9.23.33 PM.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/b/9/b9b533682e3de5ff972c61cc90c1d4d1748a69ae.png)

So, the meshes are spawning, just not the surface of the landscape object. Any ideas or is this just a bug? Anyone else able to replicate this? Cheers,

J^2

---

<div class="post-metadata">

**Author:** ![sanford87](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sanford87/32/906597_2.png) [@sanford87](https://forums.unrealengine.com/u/sanford87)\
**Post date:** [May 11, 2015, 1:40pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/13 "2015-05-11T13:40:28Z")

</div>

hmm, that is weird. I would make a post in the answer hub about it. I’ll try to recreate it today and hopefully figure something out.

---

<div class="post-metadata">

**Author:** ![J.J.Franzen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@J.J.Franzen](https://forums.unrealengine.com/u/J.J.Franzen)\
**Post date:** [May 11, 2015, 6:04pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/14 "2015-05-11T18:04:40Z")

</div>

Just tried the same thing on another system.

 ![Screen Shot 2015-05-11 at 11.01.43 AM.png](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/c/acd79759ae7cf04f935b0cc095cbc457ce0c1728.png)

Same results so I’m assuming it’s a bug. Will post on the hub later today. Cheers,

J^2

---

<div class="post-metadata">

**Author:** ![J.J.Franzen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@J.J.Franzen](https://forums.unrealengine.com/u/J.J.Franzen)\
**Post date:** [May 11, 2015, 7:18pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/15 "2015-05-11T19:18:31Z")

</div>

A/H post:

> **[Landscape Grass Output mesh placement](https://forums.unrealengine.com/questions/226141/48-preview-1-landscape-grass-output-mesh-placement.html)**
>
> Testing out the grass system in 4.8p1 and getting some very weird behavior. In a new empty project, desktop/console, max quality, no starter, I made a new blank scene, added a simple landscape object, made a basic landscape material using the...

Cheers,

J^2

---

<div class="post-metadata">

**Author:** ![sanford87](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sanford87/32/906597_2.png) [@sanford87](https://forums.unrealengine.com/u/sanford87)\
**Post date:** [May 11, 2015, 9:22pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/16 "2015-05-11T21:22:36Z")

</div>

Thanks, I haven’t been able to reproduce it but some of the second screenshot looks like what I got when I converted a project.

---

<div class="post-metadata">

**Author:** ![J.J.Franzen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@J.J.Franzen](https://forums.unrealengine.com/u/J.J.Franzen)\
**Post date:** [May 12, 2015, 5:24pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/17 "2015-05-12T17:24:39Z")

</div>

I’ve been able to verify what I am seeing is a mac only bug if you are running OS X 10.10.x. So that explains part of it. They have replicated the issue and hope to get it fixed by preview 3. Here’s hoping. Have you tried to use this system with non-landscape objects? I have tried but no luck. It would be handy to be able to spawn grass on some static meshes as well…

J^2

---

<div class="post-metadata">

**Author:** ![sanford87](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sanford87/32/906597_2.png) [@sanford87](https://forums.unrealengine.com/u/sanford87)\
**Post date:** [May 12, 2015, 5:52pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/18 "2015-05-12T17:52:11Z")

</div>

Yes, they naturally do. In fact I can’t seem to figure out how to turn that off.

---

<div class="post-metadata">

**Author:** ![Winterstone](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Winterstone](https://forums.unrealengine.com/u/Winterstone)\
**Post date:** [May 12, 2015, 6:50pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/19 "2015-05-12T18:50:34Z")

</div>

Very cool. Just a question about the first video. Do those trees have collision when using the procedural foliage spawner?

---

<div class="post-metadata">

**Author:** ![Tearl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tearl](https://forums.unrealengine.com/u/Tearl)\
**Post date:** [May 12, 2015, 7:48pm UTC](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402/20 "2015-05-12T19:48:34Z")

</div>

Hi Sanford! Thanks for these quick tutorials! Got me up and running fast!  
Question: I may be missing this, but is there no scale for the grass type? I’d like to be able to have a little scale variation.

[Next page](https://forums.unrealengine.com/t/4-8-procedural-foliage-spawner-starter-tutorial/29402.md?page=2)
