[{"data":1,"prerenderedAt":39},["ShallowReactive",2],{"tool-dither-patterns":3},{"id":4,"title":5,"accent":6,"body":7,"description":13,"extension":24,"image":25,"meta":26,"navigation":27,"order":28,"path":29,"seo":30,"source":31,"stem":32,"tagline":33,"tasks":34,"useWhen":37,"__hash__":38},"tools\u002Ftools\u002Fdither-patterns.md","Dither Patterns","#C9A24A",{"type":8,"value":9,"toc":20},"minimark",[10,14,17],[11,12,13],"p",{},"Threshold textures for ordered dithering. Pick a pattern and a size, download a square grey PNG with one texel per cell. It tiles.",[11,15,16],{},"Bayer is the classic crosshatch, computed exactly for any power of two. Blue noise is made with the void-and-cluster method on the CPU, so it is capped at 64 by 64; it takes about a tenth of a second. White noise, checker and hatching are there for comparison and for effects that want them.",[11,18,19],{},"Load the result into the light sprite or particle tools as a custom dither, or sample it in your own shader.",{"title":21,"searchDepth":22,"depth":22,"links":23},"",2,[],"md","\u002Ftools\u002Fdither-patterns.png",{},true,4,"\u002Ftools\u002Fdither-patterns",{"title":5,"description":13},null,"tools\u002Fdither-patterns","Bayer, blue noise, white noise, checker and hatching as small grey PNGs, ready for shaders.",[35,36],"fx","palette","You need a Bayer or blue-noise threshold texture for ordered dithering in your own shader.","sIJMHhu6VKbr-PsOO5l-qAusrQw3dDG3rp0QcbmrT7c",1790065742514]