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
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
サーフェース
surface
Surface
Required
法線マップを作り直したいサーフェースです。
高さ
height_map
Image
接続すると、サーフェース内の高さマップではなく、この高さ画像から法線を作ります。

Output Ports

NameTypeDescription
サーフェース
surface
Surface
法線マップを作り直したサーフェースです。
法線
normal_map
Image
作り直した法線マップを確認する画像です。

Parameters

NameTypeDefaultRangeDescription / Options
強さ
strength
Float
20–16 / step 0.01

高さの差で面の向きがどれくらい傾くかです。大きいほど凹凸が強く光に出ます。

高さマップも差し替える
replace_height_map
Bool
true

高さ画像を接続した時、その画像をサーフェースの高さマップとしても保存します。

左右ループ
wrap_x
Bool
false

高さマップの左右端がつながっているものとして法線を作ります。タイル用に使います。

上下ループ
wrap_y
Bool
false

高さマップの上下端がつながっているものとして法線を作ります。タイル用に使います。

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
Surface Rebuild Normal — PixPipeline Node Reference