# Can you spawn ground overlay materials at runtime?

**URL:** <https://forums.unrealengine.com/t/can-you-spawn-ground-overlay-materials-at-runtime/379111>\
**Category:** Rendering\
**Tags:** ground, unreal-engine, Landscape, Decals, Rendering, question\
**Created:** [December 12, 2016, 10:16pm UTC](https://forums.unrealengine.com/t/can-you-spawn-ground-overlay-materials-at-runtime/379111 "2016-12-12T22:16:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luckboy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luckboy](https://forums.unrealengine.com/u/Luckboy)\
**Post date:** [December 12, 2016, 10:16pm UTC](https://forums.unrealengine.com/t/can-you-spawn-ground-overlay-materials-at-runtime/379111/1 "2016-12-12T22:16:36Z")

</div>

For example, is there a way to spawn a “snow” material and project/overlay it on my landscape at runtime, without effecting any other actors? I’ve seen the decal option, but it seems to have serious limitations about how it’s used (it can’t exclusively be painted onto the landscape, as far as I know).

Any idea if this is possible?

---

<div class="post-metadata">

**Author:** ![Deathrey](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Deathrey](https://forums.unrealengine.com/u/Deathrey)\
**Post date:** [December 12, 2016, 10:39pm UTC](https://forums.unrealengine.com/t/can-you-spawn-ground-overlay-materials-at-runtime/379111/2 "2016-12-12T22:39:45Z")

</div>

You can add snow texture in your landscape material, and think about some sort of a mask, to control where snow appears. You can control intensity of the snow using Material Parameter Collection. For a mask, you have multiple choices. For example, pre-painted mask,or a texture, that was exported from software, that you used to create your terrain. Alternatively, you could define, where snow spawns by height and slope of terrain. You can use combination of techniques. In case, it is landscape material you should be looking at to achieve this effect.

---

<div class="post-metadata">

**Author:** ![Luckboy](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luckboy](https://forums.unrealengine.com/u/Luckboy)\
**Post date:** [December 13, 2016, 3:53am UTC](https://forums.unrealengine.com/t/can-you-spawn-ground-overlay-materials-at-runtime/379111/3 "2016-12-13T03:53:49Z")

</div>

Hey Deathrey,

I don’t currently have access to change the landscape itself prior to executing the blueprint code, that’s why I was asking about changing the materials at runtime. Thanks for your input, though.
