Normal Map Generator

Generate a tangent-space normal map from your sprite's brightness and silhouette. Drag the light around the preview to test the relief. The map preserves the source dimensions, uses #8080FF on flat areas, and exports as an RGB PNG for Godot 4 or Unity URP.

Free to use. No account, credits, or image upload.

Lit sprite
Preview appears here
RGB normal map
Preview appears here
Open in Celgrid Studio

Studio opens your source sprite for editing. Save the normal map separately.

How to use Normal Map Generator

  1. Treat brightness as a height hint

    Lighter pixels produce higher points. Solid coverage supplies a rim at a transparent boundary, so even a single-color shape can have a lit edge. A painted highlight can look raised even if it represents a flat material. Start with low relief for sprites with strong baked lighting.

  2. Test a moving light

    Move the preview light from left to right. Details facing it should brighten as it passes. Strength changes the slopes in the map, while light position changes the preview only. The preview uses Lambertian diffuse lighting, so it shows orientation without rendering shadows or reflections.

  3. Pair the map with the color sprite

    In Godot 4, assign the source and normal PNGs to the diffuse and normal textures of the same CanvasTexture, then test with PointLight2D. In Unity URP, import the normal map as a Normal map and add it as the _NormalMap secondary texture on the sprite. Use a Sprite-Lit material and enable normal-map lighting on a Light 2D.

Related workflows

Direct answers

Normal Map Generator questions

Why is a normal map mostly blue?

An outward-facing surface encodes a near-zero X and Y component and a positive Z component. That becomes RGB #8080FF. Tilted surfaces vary red and green so the engine can light the same sprite from different directions.

What does Open in Celgrid Studio transfer?

It makes an editable indexed copy of the source sprite with up to 32 colors and a longest edge of up to 128 pixels. Download the generated normal map separately and keep it beside the source texture when you import the pair into your engine.