Normal Map GeneratorNormal Map from Sprite: Godot 4 2D Lights
The Normal Map Generator makes a normal map from a sprite, so 2D lights in Godot 4 or Unity light it from the side the light is on instead of brightening the whole sprite like a cut-out. Drop a single sprite or a sprite sheet and every frame gets its own normal map, in the same place on the sheet, so an animated character stays lit right in every frame.
Each pixel's height comes from two things you can mix: a bevel that rises from the sprite's outline over the width you pick (round, straight or soft), and depth from brightness, where bright parts rise (or dark ones, for cracks and seams). Smoothing blurs the height only inside the sprite and strength sets how steep the slopes are. The slopes are read one-sided at the edge, so no pixel outside the sprite or in the next frame is ever mixed in, and the edges stay exact to the pixel.
The preview lights your sprite the way Godot 4 lights a Sprite2D: the normal read back from the 8-bit map, the light's height above the sprite and a fading circle of light that follows your pointer, with the ambient light and the light's colour to change. Download the normal map and its height map, a Godot 4 folder with a CanvasTexture .tres (your sprite and its normal map in one texture) and a scene with a PointLight2D, and a README with the steps for Godot and Unity. It runs on your computer and never uploads your sprites.
A first session
- 1Drop a sprite or a sheet on a see-through background (or try ours: the Stone Golem from Pixel Bosses, 14 frames of 96 x 96); the frame size is found from the empty lines between the frames.
- 2Set the bevel from the outline and the depth from brightness, then the smoothing and the strength.
- 3Move the pointer over the preview to move the light; change its height, colour and the ambient light, and look at the normal map and height views.
- 4Pick green up (Godot, Unity) or down (DirectX) and download the ZIP: the normal map, the height map, the Godot 4 CanvasTexture and the light scene.
- It exports
- The normal map PNG, the same size as your sprite or sheet, pixel for pixel (green up for Godot and Unity, or down for DirectX)
- The height map PNG it was made from
- A Godot 4 CanvasTexture .tres and a scene with your sprite, a PointLight2D that follows the mouse and the frames playing
- Try the demo, then buy it
- Free to use, no account needed: open your own files and download everything you make.
- Can I use what I make in a commercial game?
- Yes. What you make with the tools is yours to use in your games, commercial ones too, under the Gridwright licence.
Packs that work with it
More tools
- PixelatorPixel art from any picture
- Normal MapsNormal maps for 2D lighting
- CRT FilterRetro screen looks for screenshots and trailers
- Sprite Sheet CutterSingle frames from a sprite sheet
- Palette SwapperNew colours for any sprite or sheet
- Sprite Sheet MakerOne sprite sheet from many frames
- Pixel Art UpscalerBigger pixel art without blur
- Pixel Art Background RemoverTransparent sprites from a flat background
- Sprite Animation PreviewerYour animation played, checked and lined up
- GIF to Sprite SheetSprite sheets and frames from animated GIFs
- Color Palette ExtractorThe palette of any picture, with pixel counts
- Tileset ExtractorThe tileset of a map picture, and the map to rebuild it
- Sprite Outline AdderOutlines round sprites and whole sheets
- Palette ConverterYour palette in every format your apps read: .gpl, .ase, .aco, .act, .pal, .hex, Godot and more
- Tiled Map to Godot ConverterYour Tiled map as a Godot 4 scene and TileSet, drawn the same pixel for pixel
- Sprite Sheet to GIFAnimated GIFs of your sprites for devlogs, store pages and posts
- LDtk to Godot ConverterYour LDtk levels as Godot 4 scenes and one TileSet, drawn the same pixel for pixel
- Pixel Art Grid FixerClean pixel art, one pixel for each art pixel, from a blurry, resized or JPEG picture of it
- Pixel Art RotatorPixel art turned by any angle with clean lines, or a sprite sheet of 4, 8, 16 or 32 directions
- Sprite Shadow MakerA shadow under every sprite and every frame of a sheet, as one layer or its own
- Seamless Texture MakerSeamless textures from your photos
- Isometric BuilderIsometric maps and scenes
- Tile ModelerLow-poly 3D models and levels from 2D tiles
- Farmer GeneratorFarming RPG characters with every animation
- Hero CreatorSide-view platformer heroes
- Ship BuilderModular pixel spaceships
- Planet GeneratorRotating pixel planets
- Pixel Art Size CalculatorThe right sprite, tile and canvas sizes
- Pixel Palette & Shading Ramp MakerShading ramps and palettes for pixel art
- Godot Pixel-Perfect SetupCrisp, jitter-free pixel art in Godot 4
- Pixel Art EditorPixel art drawn in your browser
- 9-Slice PreviewerPanels and buttons that stretch to any size, checked before your game shows them
- Autotile Tester47-tile and 16-tile autotiles checked on a real map, with Godot's peering bits set for you
- Godot Animation Scene BuilderA Godot 4 character that walks, runs and turns, made from your sprite sheet
- Pixel Font PreviewerYour pixel font on a game screen at its crisp sizes, the blurry ways side by side, and a Godot scene set up sharp
- Godot Platformer Character BuilderA Godot 4 platformer character that runs and jumps right, made from your side-view sprite sheet
- Bitmap Font MakerA BMFont (.fnt + PNG) and a Godot 4 font made from a picture of your own letters
- Steam Capsule MakerEvery Steam store and library image at its exact size, from one key art picture and your logo
- Sound Effect GeneratorGame sound effects, from retro to sci-fi
- Dungeon & Map GeneratorDungeon, cave and overworld maps
- Particle FX BakerLooping pixel-art effects
- Autotile BuilderComplete autotile sets from a small template
- 3D Sprite Rotator4, 8 and 16 direction sprite sheets
- Chiptune ComposerChiptune music and loops for your game
- Pixel Tree & Plant GeneratorPixel-art trees and plants, with wind