Blender Studio
  • Films
  • Projects
  • Training
  • Assets
  • Tools
  • Blog
  • Join
  • BLENDER.ORG

    • Download

      Get the latest Blender, older versions, or experimental builds.

    • What's New

      Stay up-to-date with the new features in the latest Blender releases.

    DEVELOPMENT

    • Roadmap

      See which projects are currently being worked on and what's next.

    • Documentation

      Guidelines, release notes and development docs.

    LEARNING & RESOURCES

    • Blender Studio

      Access production assets and knowledge from the open movies.

    • Manual

      Documentation on the usage and features in Blender.

    • Benchmark

      A platform to collect and share results of the Blender Benchmark.

    • Blender Conference

      The yearly event that brings the community together.

    DONATE

    • Development Fund

      Support core development with a monthly contribution.

    • One-time Donations

      Perform a single donation with more payment options available.

Training Highlights
Advanced Facial Rigging
3D Printing with Blender
Story Tools
Blender Fundamentals 4.5 LTS

Training types
Course Documentation Production Lesson Workshop

Training categories
Animation Geometry Nodes Lighting Rendering Rigging Shading
Film Highlights
Singularity
2026
Wing It!
2023
Hero
2018
Spring
2019
Project Highlights
Impulse Purchase
Other
Project Storm
Rigging R&D
DOGWALK
Interactive
Project Gold
Showcase
Assets Highlights
Characters
Models & rigs
Assets
All production files
Libraries
Curated sets
Documentation
Realistic Character Workflow
1: Design Blocking & Sculpting
  1. Use of Base Meshes Free
  2. Design Sculpting Free
2: Retopology & Layering
  1. Generic Retopology Free
  2. Reprojection & Sculpt Layers Free
3: Shapes and Wrinkles
  1. What are FACS? Free
  2. The 'Shapes' Approach Free
  3. Creating Facial Shapes Free
  4. Wrinkles & Aging Free
4: Clothing Shapes & Rotation
  1. Neck Shapes Free
  2. Clothing Shapes Free
  3. Struggles & Advice Free
5: Baking & Exporting
  1. The 3 Levels of Baking Free
  2. Vector Displacement & Blending Free
    1. Baking with Geometry Nodes
    2. Mixing & Fixing
    3. Shape Mixing within Blender
    4. Limitations of Clothing Shapes
    5. Fixing Baking Issues in Krita
6: Changes and Iteration
  1. Broad Adjustments Free
  2. Updating the Sculpt Layers Free
7: Notes for the Future
  1. Wrinkle Maps vs Shapes Free
  2. The advantage of Age Free
  3. Procedural vs Hand Sculpted Free
  4. Automation Free
  5. Production Limitations Free
  6. Blender Development Free
5: Baking & Exporting

Vector Displacement & Blending

Julien Kaspar
Julien Kaspar Author
  • Free
Report Problem

Now it's time to go deeper into how we baked displacement maps.

Baking with Geometry Nodes

Note

The geometry node setups shown here were necessary with Blender 3.5. Since Blender 5.0 the multiresolution displacement baking was significantly improved. Try the native baking features first.

Further down we go into the next topic of "Mixing & Fixing".

We realized the most accurate way to read the difference between the source and the target topology is to use geometry nodes. You can download the setup we used here:

geo-node_baking_upload.blend
Blender File · 50.6 MB · CC-BY geo-node_baking_upload.blend
Download File
More information can be found in the file.

This way we were able to read the difference in surface distance, save it as an attribute and add this attribute to the color of an emission shader. The target object can then bake the emission color of the other object.

A screenshot of the geometry node setup for baking displacement maps.
A screenshot of the geometry node setup for baking displacement maps.

This worked well but had one big downside. Geometry nodes are only able to read the geometry but not the shading. So the baked result will always be flat shaded.

To counter this we had to increase the subdivisions to 6, no matter what detail level we were baking. To achieve this we just needed to add an additional subdivision surface modifier on the target and source object. But it put a huge memory requirement on the baking process.

An alternative setup that we only worked out late in the production and barely ended up using, is vector displacement.

A screenshot of the geometry node setup for vector displacement baking.
A screenshot of the geometry node setup for vector displacement baking.

This definitely necessitates that the topology of the source and target are the same. But the result is much more accurate and captures the smooth shaded result as well.

We didn't extensively test the setup yet for baking shapes but you can download and try it here:

geo-node_vector_disp_baking.blend
Blender File · 8.7 MB · CC-BY geo-node_vector_disp_baking.blend
Download File

Each baked map was saved into a baking folder for further processing.

Mixing & Fixing

Each shape and detail is easiest to bake separately as they were sculpted. But they still need to be mixed together into shape maps. Some baking errors are also unavoidable and need to be painted out.

Shape Mixing within Blender

In the case of the facial shapes they were already sculpted together, so baking them already lead to the desired results.

But in the case of the clothing shapes it was more complicated. We sculpted each individual deformation as a single sculpt layer. Based on the Grouping we defined earlier on page 4, these still needed to be mixed together.

Doing this in a 2D painting application like Krita can lead to incorrect blending along UV seams. The better way was to do it directly in Blender.

The mixing setup for the clothing shapes. All baked displacement maps are mixed together into 5 different shape maps.
The mixing setup for the clothing shapes. All baked displacement maps are mixed together into 5 different shape maps.

For this we created a material on the base mesh where we imported each baked displacement map. With painted color attributes as masks you can then mix the textures to create the shape map. This can then be baked again to a single texture and exported.

Earlier we mentioned that the torso shapes were sculpted in 4 sculpt layers but will be merged into two shapes. This can be done now by painting color attributes to mask the front, back, left and right side of the lower torso. The 4 textures can then be mixed via the masks to only show stretching or compression on all sides.

Later on during rigging and shading the resulting two shape maps can be applied via the same masks that were used during the mixing here.

The displacement of the torso Shape A map on the entire jacket. Every side is compressed and wrinkled at the same time.
The displacement of the torso Shape A map on the entire jacket. Every side is compressed and wrinkled at the same time.

Limitations of Clothing Shapes

One unfortunate limitation of or workflow of using shapes instead of simulation for clothing is that only one shape can be used in an area at a time.

For example when the arm is being raised, this will result in very specific wrinkles and deformations. Also twisting the arm at the same time will make it very difficult to show the effect of both. Just adding both displacements on top of each other will look unrealistic.

The proper solution would be to create a unique shape for mixed deformations. But we unfortunately didn't have the time and rendering capacity for the resulting amount of displacement maps and shape keys, so we embraced this limitation.

Fixing Baking Issues in Krita

A likely step to come last is painting out various baking errors. Even if you properly exploded you objects and baked everything correctly, there might still be issues you want to fix.

We did this in Krita by importing all baked shape maps and doing final touch-ups there. Because the baked textures are ideally be 16bit grey-scale images, it can be hard to paint on them and get results that still look good.

So the workflow we used primarily to blend out baking errors is to bake one really good default map without errors as a base, and selectively blend it into the other shapes.

Join to leave a comment.

0 comments
Films Projects Training Blog Blender Studio for Teams
Pipeline and Tools
  • CloudRig
  • Blender Kitsu
  • Brushstroke Tools Add-on
  • Blender Studio Extensions
Characters
  • Critter Evolved
  • Critter
  • One
  • Space Creatures
Studio
  • Terms & Conditions
  • Privacy Policy
  • Contact
  • Remixing Music
Blender Studio

The creators who share.

Artistic freedom starts with Blender The Free and Open Source 3D Creation Suite