9.5. Normal Map

9.5.1. Overview

This filter generates a normal map from a height map. It's early initial work and a lot more is expected to be done.

We will use an height map created with Section 14.8, “Simplex Noise”:

Figure 17.176. Normal Map Example

Normal Map Example

The height map

Normal Map Example

Filter applied with default options, giving the Normal Map


9.5.2. Activating the filter

This filter is found in the image window menu under FiltersGenericNormal Map….

9.5.3. Options

Figure 17.177. Normal Map options

“Normal Map” options

Presets, Preview, Split view
[Note] Note

These options are described in Section 2, “Common Features”.

Scale

The amount by which to scale the heights values: increase or decrease bumps.

Scale = 2

X, Y Component

The component used for X, Y coordinates: you can choose between the three RGB colors for the bumps.

Note that if you change these values, new colors are added to the existing colors, giving the complementary colors.

Flip X, Y

Flip the X, Y coordinates: flip bumps colors, horizontally and vertically. Bumps have a clear border and an opposite dark border, giving a feeling that light comes from a certain direction. To see bumps instead of hollows, light must come from the upper left corner; play with Flip X and Flip Y to get this lighting.

After playing with Flip X and Flip Y

Full Z Range

Use the full [0, 1] range to encode the Z coordinates: You can get a more abrupt color gradient.

TQDO

Tileable

Generate a tileable map:

TODO

Clipping

The result of this filter can be larger than the original image. With the default Adjust option, the layer will be automatically resized as necessary when the filter is applied. With the Clip option the result will be clipped to the layer boundary.