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"

Applying dynamic material instance to NvBlast chunks

I need to apply a material to a broken chunk of a Blast asset when it is broken. You can set the interior material of the chunk through the Fracture Settings of the Blast editor, but we want to apply a dynamic material instance to the chunk so when it's bond is broken, it glows brightly and then fades as time goes on. We can get the actor name using onActorCreated but there's no way to get a reference to the generated chunk to change it's material to a dynamic instance.

Product Version: UE 4.19
more ▼

asked Jun 07 '18 at 05:23 PM in Rendering

avatar image

20 1 5

avatar image Ham1ton Jun 22 '18 at 06:00 PM

I recently updated the Unreal-NvBlast Engine to build 4.19.1, the latest version. When I peek under the hood, unless I'm mistaken, it looks like Blast Mesh assets have preset material slots available from the fracture settings for which to apply materials to chunks created by destruction of the mesh. Can anyone think of a workaround to apply a dynamic material instance to a Blast chunk without it being applied to the rest of the whole mesh? Alternately, maybe there is a way to fake this effect?

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

1 answer: sort voted first

I'm going to attempt to answer my own question:

After digging through the core code for NVIDIA Blast, I found that the Blast Asset, which is the destructible mesh, is put together in a very specific way. This asset contains a skeletal mesh with 2 material elements, exterior and interior, and each element is basically a separate mesh bound to the same skeleton. Then Blast works out which parts to show and which parts to hide. Because of this, I can only assign 1 material to the entirety of the interior mesh. This makes it impossible to assign a unique material instance to an individual chunk of debris. Please, anyone let me know if I have missed something.

If anyone can think of a work around to make the individual debris chunks appear to have separate materials please chime in. I was thinking perhaps a post process effect but that's my absolute last resort.

more ▼

answered Jul 22 '18 at 04:18 PM

avatar image

20 1 5

avatar image Ham1ton Jul 31 '18 at 03:49 PM

NVIDIA Blast A picture from Nvidia's website shows separate colors applied to each chunk.

I want this effect in Unreal :o) Images are from a fracturing extension tool included with the Blast v1.1 SDK. They show a per chunk material applied. To me it looks like vertex colors, but I don't know how to set these.


(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