Hard templating, also known as nanocasting, is a method used in the synthesis of porous materials. This approach involves the use of a rigid template to shape the structure of the desired material. After the material is formed, the template is removed, typically leaving behind a highly ordered porous structure. This method is valuable in catalysis due to the creation of materials with precise and uniform pore sizes.