{"uid":"cap_z-yttIvaJGCtp8PbU_O0I","slug":"rengi-forge-sprite-normal-map-generator-bb9f8e98","name":"Rengi Forge: Sprite Normal Map Generator","description":"Sprite tools: Normal map for a sprite or sprite sheet, for 2D lights in Unity URP 2D and Godot: a rounded bevel from the silhouette plus surface detail, alpha kept, OpenGL or DirectX; a height map and a preview lit by a moving light. Full schema: https://rengi.dev/v1/sprite-tools/schema","url":"https://rengi.dev/v1/sprite-tools/normal-map?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"bevel":{"type":"number","maximum":256,"minimum":1,"description":"Rim width in pixels; from the sprite size when omitted."},"image":{"type":"string","description":"Base64 PNG sprite or sheet with transparency."},"detail":{"type":"number","default":0.5,"maximum":2,"minimum":0,"description":"How much surface detail from the colors goes into the bumps."},"imageUrl":{"type":"string","format":"uri"},"strength":{"type":"number","default":1,"maximum":8,"minimum":0.1},"convention":{"enum":["opengl","directx"],"type":"string","default":"opengl","description":"opengl (green up) for Unity and Godot."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NMlD_ckL-WUT6O9Tt9WF5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a normal map from a sprite or sprite sheet PNG, using bevel and surface detail for 2D lighting in Unity URP 2D and Godot","exampleAgentPrompt":"Generate a normal map for this sprite PNG — use a 12-pixel bevel, surface detail of 0.8, and OpenGL convention so it works with Unity URP 2D lighting.","exampleUseCases":[{"title":"Unity URP 2D sprite lighting setup","prompt":"I have a PNG character sprite with transparency — can you make a normal map for it with a 16-pixel bevel and OpenGL convention so I can use Unity URP 2D lights? Keep surface detail at 0.5."},{"title":"Godot 2D normal map for tileset","prompt":"Take this sprite sheet PNG and generate a normal map using a 24-pixel bevel and 1.2 surface detail, OpenGL convention — I need it for 2D lighting in Godot."},{"title":"DirectX normal map for pixel art enemy","prompt":"Generate a DirectX-convention normal map for my pixel art enemy sprite PNG, bevel of 8 pixels and low surface detail around 0.3, I'm using a DirectX renderer."}],"resultDescription":"Returns a normal map image (PNG) generated from the sprite's silhouette bevel and color-derived surface detail, with the original alpha channel preserved, in either OpenGL (green-up) or DirectX convention. Also includes a height map and a preview image lit by a moving light to evaluate the result.","failureModes":["Invalid or malformed base64 PNG input returns an error","Image missing alpha/transparency channel may produce incorrect silhouette bevel","Bevel value exceeding 256 or below 1 is rejected by schema validation","Both image and imageUrl omitted causes a validation error","Very large sprite sheets may time out or exceed payload limits","Unsupported image format (non-PNG) may be rejected"],"whenToPreferThis":"Choose this endpoint when you need programmatically generated normal maps for 2D sprites or sprite sheets destined for Unity URP 2D or Godot lighting pipelines. It is purpose-built for game development workflows where preserving alpha transparency and choosing between OpenGL and DirectX conventions matters. Prefer it over generic image processing APIs because it combines silhouette-based bevel rounding with color-derived surface detail in a single call, and returns both a height map and a lit preview.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:41:09.109Z","isFirstParty":false,"canonicalSlug":"rengi-forge-sprite-normal-map-generator-bb9f8e98"}