Tools · Overhaul lighting
Normal Map Baker
Sprite in, normal map out, for Godot's 2D lights. Preview it under a light you can move.
You want a sprite to react to Godot's 2D lights and need a normal map for its CanvasTexture.
This version
Synced 2026-09-27 from commit a5f9748.
- ·New sample image, made from Kenney's public domain art
Height comes from the sprite's brightness, from its alpha edges, or from a rounded bevel of the silhouette (exact distance to the edge). Blur it if it is noisy; a Sobel filter then turns height into normals. Y points up (Godot) or down (DirectX).
The lit preview shows the sprite under a point light; click or drag to move it. Download PNG is always the map, at the sprite's size, with the sprite's alpha kept. Flat is (128, 128, 255). Set it as the normal texture of a CanvasTexture.