Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Can you spawn ground overlay materials at runtime?

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?

Product Version: Not Selected
more ▼

asked Dec 12 '16 at 10:16 PM in Blueprint Scripting

avatar image

1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

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.

more ▼

answered Dec 12 '16 at 10:39 PM

avatar image

7.9k 130 31 293

avatar image Luckboy Dec 13 '16 at 03:53 AM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question