[{"data":1,"prerenderedAt":35},["ShallowReactive",2],{"tool-normal-map":3},{"id":4,"title":5,"accent":6,"body":7,"description":13,"extension":21,"image":22,"meta":23,"navigation":24,"order":25,"path":26,"seo":27,"source":28,"stem":29,"tagline":30,"tasks":31,"useWhen":33,"__hash__":34},"tools\u002Ftools\u002Fnormal-map.md","Normal Map Baker","#C9A24A",{"type":8,"value":9,"toc":17},"minimark",[10,14],[11,12,13],"p",{},"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).",[11,15,16],{},"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.",{"title":18,"searchDepth":19,"depth":19,"links":20},"",2,[],"md","\u002Ftools\u002Fnormal-map.png",{},true,18,"\u002Ftools\u002Fnormal-map",{"title":5,"description":13},null,"tools\u002Fnormal-map","Sprite in, normal map out, for Godot's 2D lights. Preview it under a light you can move.",[32],"lighting","You want a sprite to react to Godot's 2D lights and need a normal map for its CanvasTexture.","uU24ij694xchCTX7CVItm9GLJ0_konG107bD3oY4l5k",1790507181156]