Vector-Safe Normal Transform

Normal Map Rotator & Mirror (With True XY Vector Math)

Rotating a normal map in Photoshop turns the pixels sideways without rotating the stored 3D X and Y vectors—causing inverted lighting. Rotate or mirror pixels and tangent vectors together locally.

100% Local Browser Engine · 0 Bytes Uploaded
Instant Deterministic Output

Rotated 90° (Mirror X:Off, Y:Off) with tangent XY vector transform

Input Preview
Processed Output
Open Full 4-Map PBR Studio

How tangent-space normal vectors transform under rotation & mirroring

TransformRed (Nx) MappingGreen (Ny) MappingBlue (Nz)
Rotate 90° CW+Ny-NxUnchanged
Rotate 180°-Nx-NyUnchanged
Rotate 270° CW-Ny+NxUnchanged
Mirror Horizontal-Nx+NyUnchanged

Why ordinary 2D image rotation breaks normal-map lighting

Every pixel in a tangent-space normal map encodes a directional arrow pointing along U (Red) and V (Green). Turning a brick texture 90 degrees without swapping and negating X/Y makes light hit the mortar from the wrong direction.

Instant vector-correct PNG export with zero server uploads

Drop any normal map, pick 90°, 180°, 270° or Horizontal/Vertical Mirror, inspect the preview, and export a mathematically valid lossless PNG directly in your browser.

Frequently asked questions

Does rotating a normal map 180 degrees require inverting both Red and Green?

Yes. A 180-degree rotation flips both X and Y slope directions, so both Red and Green channels are inverted around 128.

Why did my mirrored wood grain look indented on one side?

Mirroring horizontally flips the X surface slope; without inverting the Red channel, lighting appears inverted.

Does Blue (Z) change during 2D rotation or mirroring?

No—the surface still points outward along +Z, so Blue remains unchanged and unit-normalized.

Are my textures uploaded to a server?

Never. All pixel and vector transformations run locally in your browser.

More free local PBR & normal map tools