NormalMapToDisplacement
Computes a displacement map by fitting a surface to a tangent-space normal map
Inputs
- Tangent-Space Normal Map
ImageInput normal map in tangent space. Use
ConvertNormalMap to convert from a world-space.- Geometry
GeometryGeometry used for fitting. Must have UV coordinates matching the normal map.- Initial Displacement
Image(optional) Starting displacement map (the first channel is used). Must have same resolution as the Normal Map. If not connected, fitting starts with zero displacement.- Fitting Mask
Image(optional) Mask controlling the influence of the normal map on fitting (the first channel is used). Must have the same resolution as the normal map. If the normal map has an alpha channel, it is multiplied by this mask or used as the mask when this input is not connected.
Output
ImageDisplacement map with the same resolution as the normal map. The displacement is stored in all three RGB channels, and the normal map’s alpha channel is preserved if present.
Parameters
- Compute:
computes the displacement map.
- Reload:
clears the cached computation.
- Auto-Compute:
if enabled, recomputes automatically when inputs or parameters change. Otherwise, click Compute to update the result.
- Method:
selects CPU or OpenGL computation.
- Optimization Profile:
selects Memory Efficient or High Performance optimization.
- Regularization Weight:
controls regularization strength.
- Smoothness Weight:
controls smoothing strength.
- Optimization Iterations:
maximum number of optimization iterations.
- Solver Iterations:
maximum number of solver iterations.
- Solver Tolerance:
convergence tolerance for the solver.