MATERIAL WORKFLOW / NORMAL MAPS

Normal map seams: when should you enable Tileable Sampling?

Technical review: · Page structure updated: .

Enable Tileable Sampling when your input is intended to repeat across opposite edges. It makes the normal generator read height samples from the other side of the image near a boundary, including during smoothing. It does not align mismatched bricks, remove a lighting gradient, or repair a model's UVs.

Compare the two settings in the Normal Map Generator. Keep strength, smoothing and direction fixed while you compare them.

A seam in the source image, a sampling artifact in its generated normal map and a seam in a receiving 3D material need different checks. Start by repeating the source. If its brick courses jump at the join, changing the normal generator's sampling rule cannot make those courses line up.

What changes at the image boundary

With Tileable Sampling off, this tool clamps samples: a request beyond an edge reads the nearest edge pixel. With it on, those coordinates wrap to the opposite side. The choice applies to the alpha-weighted height smoothing and to the neighboring samples used for the horizontal and vertical slopes.

The generator estimates height from image brightness, then calculates surface directions from those slopes. A photograph's shadows and paint still enter that height estimate. Wrapping does not recover geometry or separate color from relief.

Use the option for a source meant to tile. Leave it off when you want the boundary treated as the edge of an isolated image; if the source does not repeat, inspect and address that mismatch first. The checkbox is not a general seam-repair command.

A controlled test: the same height field, two exports

The original browser experiment was recorded on 9 November 2026. We created a 256 × 256 grayscale PNG with this formula, where x and y are pixel coordinates:

v = round(128 + 45 sin(2πx/256) + 35 cos(2πy/256))

Red, green and blue all equal v; alpha is 255. This describes a periodic field. The first and last pixels need not be equal: they are adjacent samples across the repeating interval, not the same coordinate.

The procedural height input used for both exports
The procedural height input used for both exports. Full frame; display copy scaled to fit.

Both exports used Normal Strength 4, Smoothing 1 px and OpenGL (+Y). Tileable Sampling was off for clamp, on for wrap. We saved the PNGs through the real tool's Download PNG control; the figures below repeat those saved pixels in a 2×2 grid before making display copies.

Tileable Sampling off: the actual clamped export repeated 2×2
Tileable Sampling off: the actual clamped export repeated 2×2. Full frame; display copy scaled to fit.
Tileable Sampling on: the actual wrapped export repeated 2×2
Tileable Sampling on: the actual wrapped export repeated 2×2. Full frame; display copy scaled to fit.

The numerical difference is small in this fixture. These figures are not evidence that every sampling difference will be visible under a particular light.

Compare against a periodic neighborhood, not an ideal surface

For an algorithmic reference, we repeated the input three times in each direction, processed that larger image with the unchanged normal Worker using Strength 4, Smoothing 1 px, OpenGL and clamped sampling, then extracted its middle tile. Its neighborhood comes from surrounding copies rather than the outer boundary. This is not physical ground truth or a renderer benchmark.

We compared each saved 256 × 256 export with that reference. The border measurement includes every pixel in the outer two-pixel strip, counts each corner once, and compares RGB channels using absolute differences on the stored 0–255 scale. It covers (256 × 256 − 252 × 252) × 3 = 6,096 channel values.

Measurement against the middle-tile referenceSampling offSampling on
Maximum RGB-channel error in that border20
Differing channel values in that border9520
Maximum RGB-channel error across the entire tile20

Zero here means the wrapped file matches this particular algorithmic reference. It does not mean all materials become visually seamless. Strength, smoothing, the source, and the way a renderer reads the map remain separate variables.

There is a useful countercheck. For this same periodic image, the maximum RGB difference between opposite edges was 1 along each axis in both modes. An edge-equality score alone would not distinguish the two results. Compare the expected neighborhood as well as the border values.

Download the original clamped PNG, wrapped PNG and reference tile. The test manifest records the input formula, parameters, hashes and measurements.

A real brick texture still has differences at its edges

We also used the original 1024 × 1024 diffuse image from Poly Haven's Brick Wall 001, under its CC0 asset license. This is a color texture, not a measured height map. The same Strength 4, Smoothing 1 px and OpenGL settings were used for both exports.

The exact brick source used for both normal-map exports
The exact brick source used for both normal-map exports. Full frame; display copy scaled to fit.
Brick texture, sampling off: the saved normal map repeated 2×2
Brick texture, sampling off: the saved normal map repeated 2×2. Full frame; display copy scaled to fit.
Brick texture, sampling on: the saved normal map repeated 2×2
Brick texture, sampling on: the saved normal map repeated 2×2. Full frame; display copy scaled to fit.

For each row below, we compared corresponding RGB channels in the first and last columns or rows, then took the largest absolute difference. These are measurements of the raw exported PNGs, not of the WebP figures.

Maximum opposite-edge RGB difference, 0–255Sampling offSampling on
Left versus right2823
Top versus bottom4039

Neither mode produced identical opposing edge values. These numbers are not a visual quality rating, and they do not establish superiority over another tool. A periodic surface can have a legitimate slope across its join; a photograph can also turn lighting or printed color into false height.

The original brick input, clamped normal and wrapped normal are available for inspection in your own material.

Reproduce the test, then locate your own seam

  1. Open the Normal Map Generator and choose the procedural height PNG above. Set Strength to 4, Smoothing to 1 px and the convention to OpenGL (+Y).
  2. Leave Tileable Sampling unchecked. Wait for Ready, then download the first PNG.
  3. Check Tileable Sampling without changing another parameter. Wait for the new Ready status and download the second PNG.
  4. Repeat each saved file in a 2×2 layout in the viewer or material you use for inspection. AwesomeTexture's Normal Map page compares input and output; it does not provide a tiled normal preview or a lit 3D viewer. The grids in this article were assembled from the actual PNGs.
  5. For your own texture, compare the two outputs in the same material with fixed UVs, lighting and normal-map interpretation. The article's stored-pixel experiment does not replace that material check.
The real browser workspace after the periodic wrapped export
The real browser workspace after the periodic wrapped export. Full frame; display copy scaled to fit.

If the source itself breaks when repeated, address the source first. The Seamless Texture tool offers edge blending and repeat previews; doubled grain, shifted brick rows and uneven illumination still require inspection.

If the source and exported image repeat as intended but a line follows a UV island or a boundary between meshes, investigate the receiving model and material. This browser generator cannot change mesh normals, tangent bases, UV padding or texture import settings. If the relief direction seems wrong across the whole surface, use the separate OpenGL versus DirectX channel test to check the convention rather than treating it as a border problem.

All display figures show their full frame without cropping. The 2×2 grids are pixel repeats of the saved exports; their WebP copies are for display only. Measurements and hashes use the original files. The practical decision is whether your height calculation should continue through the boundary—not whether one checkbox can repair every line in a 3D material.