# UE5.1 grass node: grass spawning in water

**URL:** <https://forums.unrealengine.com/t/ue5-1-grass-node-grass-spawning-in-water/727853>\
**Category:** World Creation\
**Tags:** UE-5, landscape-grass-type, unreal-engine, Rendering, Blueprint, question\
**Created:** [December 14, 2022, 3:49am UTC](https://forums.unrealengine.com/t/ue5-1-grass-node-grass-spawning-in-water/727853 "2022-12-14T03:49:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RianeN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RianeN](https://forums.unrealengine.com/u/RianeN)\
**Post date:** [December 14, 2022, 3:49am UTC](https://forums.unrealengine.com/t/ue5-1-grass-node-grass-spawning-in-water/727853/1 "2022-12-14T03:49:07Z")

</div>

Hey folks, hopefully this is a quick fix thing and I’m just missing it.

I’m playing around with the grass node in my landscape material, and I can’t figure out how to stop the grass from spawning in water. I also can’t figure out how to manually paint out the grass like you normally would with foliage. Either works for me. Generally for procedural foliage I’d ensure the grass only spawns on certain landscape layers, but I can’t find an option or method for that for the grass node version.

---

<div class="post-metadata">

**Author:** ![D13on](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/d13on/32/467350_2.png) [@D13on](https://forums.unrealengine.com/u/D13on)\
**Post date:** [December 16, 2022, 7:18pm UTC](https://forums.unrealengine.com/t/ue5-1-grass-node-grass-spawning-in-water/727853/2 "2022-12-16T19:18:32Z")

</div>

Hi! With a “landscape layer sample” node. Under parameter name you add in the name of the layer you want the grass to appear on. Slot that sample node into the grass output node. 🙂
