Studio Yotsuba
Back to Node List

Surface Rebuild Normal

surface_rebuild_normal

Rebuilds a Surface normal map from its height map or a connected height image.

Reviewed
Guide available

Input Ports

NameTypeDescription
Surface
surface
Surface
Required
Surface whose normal map will be rebuilt.
Height
height_map
Image
Optional height image used instead of the Surface height map.

Output Ports

NameTypeDescription
Surface
surface
Surface
Surface with the rebuilt normal map.
Normal
normal_map
Image
Rebuilt normal map preview.

Parameters

NameTypeDefaultRangeDescription / Options
Strength
strength
Float
20–16 / step 0.01

How strongly height differences tilt the normal map.

Replace Height Map
replace_height_map
Bool
true—

When a height image is connected, also store it as the Surface height map.

Wrap X
wrap_x
Bool
false—

Treat the left and right edges of the height map as connected.

Wrap Y
wrap_y
Bool
false—

Treat the top and bottom edges of the height map as connected.

What is it for?

  • Updating lighting after processing a height map
  • Rebuilding normals at any point rather than only after Surface Composite
  • Creating edge-continuous normals for a tile height map

Overview

Rebuilds a normal map from a height map. If the height changes without this step, lighting continues to use the old relief. This node maintains consistency by performing the rule “after editing height, rebuild normals” in one step.

Usage tips

  • The go-to position is surface_unpack → (process height with image filters) → surface_rebuild_normal (connect to height_map). Highlights in Light Preview then follow the edited relief correctly.
  • For a tile asset, wrap settings create normals that continue across the edges, avoiding seams when the tile repeats.
  • It is unnecessary when height has not changed; solid_render already produces consistent normals.

Related nodes

  • surface_unpack / surface_set_map — before and after height processing

  • height_from_image — entry point for creating height from an image

  • surface_light_preview — reviews the effect of normals

  • Version: 1

Examples

[Surface] → surface → [Surface Unpack] → height → [Levels] → [Surface Rebuild Normal] → surface
                                                             ↑
                                                       height_map

After strengthening or otherwise processing height, pass it through this node so Surface Light Preview can produce highlights that follow the relief.

Back to Node List