[{"data":1,"prerenderedAt":51},["ShallowReactive",2],{"tool-light-sprite":3},{"id":4,"title":5,"accent":6,"body":7,"description":36,"extension":37,"image":38,"meta":39,"navigation":40,"order":41,"path":42,"seo":43,"source":44,"stem":45,"tagline":46,"tasks":47,"useWhen":49,"__hash__":50},"tools\u002Ftools\u002Flight-sprite.md","Light Sprite Renderer","#C9A24A",{"type":8,"value":9,"toc":32},"minimark",[10,19,22,29],[11,12,13,14,18],"p",{},"A port of Mantimestwo's Godot light sprite tool to plain WebGL. Same shader, same output: a white PNG with the light in the alpha channel, ready for a ",[15,16,17],"code",{},"PointLight2D"," texture with blend mode set to mix.",[11,20,21],{},"Set a resolution, a radius, a falloff power, a cone angle. Pick how many grey levels to keep and how much dither. Load your own dither pattern if the built-in one is wrong for your palette. Up to eight frames export side by side as one sheet, so a flicker or a pulse is a few slider moves.",[11,23,24,25,28],{},"Presets save in the browser. Export them as JSON, or import ",[15,26,27],{},".preset"," files from the Godot version.",[11,30,31],{},"One HTML file, 23 KB. The Godot web build of the same tool was 35 MB.",{"title":33,"searchDepth":34,"depth":34,"links":35},"",2,[],"A port of Mantimestwo's Godot light sprite tool to plain WebGL. Same shader, same output: a white PNG with the light in the alpha channel, ready for a PointLight2D texture with blend mode set to mix.","md","\u002Ftools\u002Flight-sprite.png",{},true,1,"\u002Ftools\u002Flight-sprite",{"title":5,"description":36},"https:\u002F\u002Fgithub.com\u002FMantimestwo\u002FLight-sprite-renderer","tools\u002Flight-sprite","Makes dithered light textures for 2D light nodes. Sliders in, PNG out.",[48],"lighting","You need a dithered light texture for a Godot PointLight2D and want to tune it with sliders.","SRT3Ehg3d9iSGfqWLvLZ8wL4vBjOpi7JamooXQcAU1k",1790065742477]