- Home /
Dymanic Mesh Hiding
I'm looking for guidance on how to create a burning fuse. I understand how to create the particle effect and how I can animate that along path. What I do not understand is how can I make the fuse burn away. As in how do I modify my fuse model so that it disappears over time?
Answer by s4shrish · Aug 26, 2020 at 08:13 PM
Hi, I am not the expert on the topic, but I do know a few ways this can be accomplished. Mainly 2.
The worse of the two, is to use Blendshapes. I haven't really tried using it in Unity, but I do know Unity supports it in some form, so you should KNOW that this thing exists. Basically it allows you to BLEND between two mesh shapes that have same vertices, edges and faces, but in different positions.
The other much better way is to use Shader Graph, to create a custom shader to hides away the burnt part via alpha transparency via a vertically mapped Black to white gradient. I am not an expert here as well, but I have made some dissolve shaders that can dissolve based on a map. You can check out this Brackey's "Dissolve" Shadergraph tutorial to learn the fundamentals that you can then apply to solve the problem.
Answer by travispettry · Aug 26, 2020 at 08:55 PM
@s4shrish I found a Brackeys video going over this type of shader. Thanks!