Using Decals for Destroyed Structures

Overview

This guide describes the process of using alpha-blended decals to create broken concrete pieces and building ruins of high visual quality.

In most games destroyed walls and other buildings structures are done by simply cutting into the geometry and applying a tiling concrete texture to the broken area.

While it is performance-effective and simple to do this, the disadvantage of this technique is that you are left with a very visible and sharp seam between the two materials. It is a more work-intensive but visually better solution to use decals with alpha-blending in order to avoid these seams.

While both solutions use two material IDs, the new technique introduces additional overdraw through the alpha-blending and thus is the more expensive method.

Traditional Technique

Note the sharp seam between the two materials (marked in orange).

Alpha-Blended Decals

Note the more believable transition between the two materials (marked in orange).

The normal map used for this decal:

Example for "chipped-off" pieces using alphablend decals:

The normal map used for this decal:

Using These Decals in a 3D Application

  • Add an extra geometry element for the broken edge.
  • Extrude the border edges of this element inwards so they overlap the other material.
  • Adjust the UV mapping of the element to create the overlap.

Here you can see the extra geometry element following the edge of your broken piece of building:

Here you can see how the UV mapping must be adjusted to create a convincing overlap of the two materials:

Use the chipped-off looking edge decals by

  • Duplicating the geometry of whichever edge you want to use them on
  • Cutting out the part where the decal will be visible
  • Adjusting the UV mapping to show the decal in the right position

Illustration of these steps:

Another example:

For the best results, use the low-res geometry you used for rendering the normal map, snap them on the edge of the object you are working on, and cut its shape out of the solid block using the knife tool together with vertex snapping.

Using this method, you will also have the correct silhouette.