Baking displace map from procedural texture

One of the essential components of beautiful render is quality irregularities map. Scratches, damages and abrasions imparts the model a natural look, it does not look like got to the scene straight from the factory.

Surface microrelief can be formed by geometry (“sculpt” or point by point editing), and from maps – static (prepared in a graphical editors) and procedural (created with nodes – texture generators).

Procedural textures usage to create a microrelief with displace method has all the advantages (dimensionless, three-dimensionality, uniqueness and customization) of procedural textures, but also inherits their main disadvantage – reduced render speed because generating textures requires additional computation.

Scraches microrelief formed by displace using a procedural texture generation
Scraches microrelief formed by displace using a procedural texture generation

To increase render speed it is possible to “bake” procedural texture into a static bitmap texture, which is no longer require additional resources during the rendering process. Using this method can benefit from 5 to 30% (depending on the complexity of the generated maps) of rendering speed.

Continue reading “Baking displace map from procedural texture”