Normal Map for UnityLocal browser processing
Source image
Original normal
Original normal
Converted normal
Converted normal

Choose a local image or try the sample.

Live preview is bounded to 512 px. Export recalculates full quality. Mesh units are illustrative.

Import / setup checklist
  • Import encoded normals as normal data; do not create them from grayscale again.
  • Assign a compatible normal input in the project's Built-in, URP, or HDRP material.
  • Test a known raised feature; apply green inversion at one point only.
  • For URP sprites, align secondary normal texture, atlas region, lit material, and 2D lights.
2D sprite quick path

Convention conversion and extra flip combine: two flips cancel. Settings always use the original upload.

Official workflow referenceUnity 6.0: normal texture import

Normal Map for Unity

Prepare a normal map for Unity by checking the source convention, comparing directional lighting, and exporting an explicit conversion. This workspace accepts encoded normals rather than interpreting their RGB as height. Use the checklist for your material pipeline, and keep sprite lighting separate from mesh-material setup.

How to Get Started

Upload an existing tangent-space normal PNG or load the asymmetric sample. Declare its input Y convention, choose an output convention, and compare the original and converted lighting. Use the extra green flip only as a deliberate override; it combines with conversion, so two flips cancel. Enable renormalization if source vector lengths need repair. Download the result, record its convention, and test one recognizable raised feature inside your Unity project.

Unity Normal Map Workflow

A normal map for Unity belongs to a chain of source preparation, texture import, shader assignment, and lighting verification. Keep the original file alongside the converted PNG so corrections remain reversible. Unity's import handling and the material's normal input determine how stored directions are consumed. Test the actual asset and target platform rather than expecting a browser preview to reproduce the entire project. This page helps isolate channel direction and vector repair before those engine-specific transformations.

Tangent-Space Normal Maps

Tangent-space RGB represents a local direction relative to a surface frame. The red and green channels encode lateral components and blue encodes the component away from the surface. A mesh needs compatible UVs and tangents for those directions to become correct world lighting. An object-space map or ordinary purple image is not interchangeable with a tangent-space normal. Renormalization corrects vector length, but it cannot reconstruct a missing or incompatible tangent basis.

Import and Texture-Type Concept

Unity 6.0 documents a Normal map texture type that prepares an asset for normal mapping, together with an optional green-channel flip. Select the appropriate normal-data interpretation instead of importing the PNG as ordinary display color. Do not generate from grayscale again when the source already contains encoded normals. Apply import changes and assign the texture to a compatible material normal input. Exact menus and available controls may differ between Unity versions, packages, and platform overrides.

Green-Channel Convention

Y+ and Y− differ by green-channel sign. A normal map for Unity should match the chosen importer and shader path; a graphics API name alone does not settle every pipeline's texture convention. Check a known raised ridge under light from above and below. If its response reverses, flip once here or in the importer and retest. Do not simultaneously change height inversion, UV orientation, and green direction, because that hides which operation solved the problem.

Convert Y direction without rebuilding surface relief

Unity 2D Sprite Normal Workflow

For a sprite, keep the normal's pixel dimensions, atlas region, pivot, and silhouette aligned with its color texture. A URP 2D project needs a lit sprite material and a 2D renderer/light setup that actually uses the sprite normal data. Package versions can differ in secondary-texture setup, so consult the documentation for your installed URP version. Generate small pixel-aligned relief in the Pixel Art workspace before checking its convention here.

Create normals for pixel-aligned Unity sprites

Built-in, URP, and HDRP Caveats

Built-in materials, URP materials, and HDRP materials have different shader features and property arrangements. A supported mesh normal input is not evidence that a sprite shader uses the same texture path. Custom shaders may decode channels themselves and impose additional expectations. Keep this distinction explicit when handing a normal map for Unity to another developer. Document the material shader, render pipeline, and texture import interpretation together, then verify them after package or platform changes.

Common Lighting Errors

If detail vanishes, verify that the material is lit, the normal input is enabled, and normal strength is not zero. If only one direction looks inverted, inspect green convention and mirrored UVs. Seams limited to a mesh boundary may indicate tangents or a bake mismatch rather than corrupted texture bytes. Sparkling at distance can come from overly fine relief or mip filtering. Inspect the imported texture after compression instead of relying only on the original lossless file.

When to Use Validator and Fixer

The widget reports the fraction of visible vectors within a five-percent unit-length tolerance before and after processing. This numeric check does not identify the Y convention or certify a Unity material. Use the validator for fuller distribution and edge checks, then the fixer for selective repairs such as rebuilding suitable Z data or transparent-edge cleanup. Renormalization preserves alpha and signed Z; near-zero vectors use a neutral fallback rather than producing undefined output.

Review full diagnostics before selective repair

Normals and Packed Material Masks

A normal map for Unity should remain separate from scalar mask packing. Its RGB channels form one vector, whereas an occlusion or smoothness channel carries an independent value. HDRP mask layouts and other shaders must be mapped explicitly; an ORM preset is not a universal Unity contract. Keep source masks and their documented mapping alongside the normal. Use the channel packer for those separate material inputs rather than placing pieces of a normal vector into unrelated slots.

Document and pack scalar material channels

Export and Platform Verification

The workspace exports local lossless RGBA8 PNG at the original source size. Convention changes derive from the immutable upload, preventing accumulated edits. Alpha remains unchanged, and renormalization can be switched off for an exact green inversion. Common numeric PNGs preserve stored bytes; browser fallback formats may undergo decoding limitations that are disclosed in the tool. Test the final normal map for Unity with target-platform compression and a known directional light before distributing the asset.

Frequently Asked Questions

Is Unity always DirectX or always OpenGL?

No universal choice covers every importer and shader path. Declare the source and verify the actual pipeline with directional lighting.

Why does my URP sprite stay flat?

Check the 2D renderer, lit sprite material, secondary normal texture alignment, and whether the chosen 2D light uses normals.

Does renormalizing fix a bake seam?

It corrects vector lengths. UV splits, mismatched tangents, or a bake made for a different mesh need separate investigation.

Can I flip here and in Unity?

Two green inversions cancel. Choose one conversion point and document it.