{"uid":"cap_QYJGH178ZiKRDQFHHITa8","slug":"rengi-forge-texture-atlas-packer-ffa46317","name":"Rengi Forge: Texture Atlas Packer","description":"Texture tools: Pack textures into one atlas with edge-filled gutters so mipmaps do not bleed; UV rects for bottom-left (Unity, OpenGL) and top-left (DirectX, Unreal) origins. Full schema: https://rengi.dev/v1/texture-tools/schema","url":"https://rengi.dev/v1/texture-tools/atlas?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"maxSize":{"type":"integer","default":4096,"maximum":8192,"minimum":64},"padding":{"type":"integer","default":8,"maximum":64,"minimum":0,"description":"Gutter around each texture, filled with its edge pixels so mipmaps do not bleed."},"textures":{"type":"array","items":{"type":"object","required":["name"],"properties":{"name":{"type":"string","maxLength":120,"minLength":1},"image":{"type":"string"},"imageUrl":{"type":"string","format":"uri"}},"additionalProperties":false},"maxItems":256,"minItems":1},"powerOfTwo":{"type":"boolean","default":true}}},"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_7neY_-P7P8WOyCD_rAndi","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":"Packs multiple textures into a single atlas image with edge-filled gutters to prevent mipmap bleeding, returning UV rects for both bottom-left and top-left coordinate origins.","exampleAgentPrompt":"Pack these 12 texture PNG files into a single atlas with 8 pixels of edge-filled gutter so mipmaps don't bleed, max atlas size 4096, power-of-two on — I need UV rects for both Unity (bottom-left) and Unreal (top-left) origins.","exampleUseCases":[{"title":"Unity mobile game texture batching","prompt":"I have 24 individual material textures I want to pack into one atlas for my Unity mobile game — use a max size of 2048, 8px gutters to avoid mipmap bleed, and give me the UV rects in bottom-left origin format."},{"title":"Unreal Engine asset pipeline automation","prompt":"Pack these texture images into a single atlas up to 4096px, power-of-two, with 16px edge-filled padding — I specifically need the UV coordinates in top-left origin format for Unreal Engine."},{"title":"Web GL draw-call reduction","prompt":"Can you combine all these texture files into one atlas to cut down draw calls in my WebGL app? Keep it power-of-two, max 2048px, minimal 4px gutters, and return UV rects for OpenGL's bottom-left coordinate system."}],"resultDescription":"Returns a packed atlas image along with UV rectangle mappings for each named input texture, provided in both bottom-left coordinate origin (Unity, OpenGL) and top-left coordinate origin (DirectX, Unreal Engine) formats. Gutters are edge-filled (not blank) to prevent mipmap color bleed at texture boundaries.","failureModes":["Textures exceeding the specified maxSize when packed — atlas overflow error","Individual image URLs that are unreachable or return non-image content","Input array exceeding 256 textures — rejected with validation error","maxSize or padding values outside allowed ranges (64–8192 and 0–64 respectively)","Malformed base64 image data in the image field","Total pixel area of textures too large to fit even at maxSize"],"whenToPreferThis":"Choose this endpoint when you need a production-ready texture atlas with mipmap-safe edge-filled gutters and dual UV coordinate outputs (bottom-left and top-left origins). It is particularly valuable in game development pipelines targeting Unity, Unreal, OpenGL, or DirectX where correct UV origin conventions matter. Prefer it over generic sprite packers when mipmap bleed prevention via edge-filled padding is a requirement rather than just blank padding.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:40:37.912Z","isFirstParty":false,"canonicalSlug":"rengi-forge-texture-atlas-packer-ffa46317"}