vintageballs@feddit.orgtoGodot@programming.dev•How do you "separate" or "explode" a 3D mesh in Godot?Deutsch
2·
3 months agoOf course it does, you can achieve that with a simple vertex shader by just moving each vertex in the direction of its normal. However, since the vertices are joined into triangles, this will just result in the model getting bigger instead of “disintegrating”.
For that to work, you would need a model where each triangle is a separate surface.
Another way which might work would be to enlarge the model like I illustrated above while simultaneously making pixels which are further from an edge than a threshold value transparent.
Ah my bad, perfect, then that’s the solution!