I would like to be able to add this feature to my tech demo. At the moment bullets hit the walls and little pieces fly out of them, as well as decals appearing on the walls. However, now computing power is good enough so that many games have destructible environments.
I would like bullets to shatter small surface segments off the wall, ideally the segments that fly off would directly relate to the hole that is left (though I don't even know if this is how it's done in commercial games)
How is this done? Are there simply a number of different meshes that are swapped out as and when objects are hit? I assumed that this would not be an accurate enough solution. Is real-time mesh deformation feasible and if so, how is it done?