{"repo":"NullTale/LutLight2D","free":true,"listed":false,"github":"https://github.com/NullTale/LutLight2D","clone":"git clone https://github.com/NullTale/LutLight2D.git","description":"⚪ Stylized 🌈 Pixel Art Lighting","language":"C#","stars":386,"topics":["2d","color-replacement","light","lightning","lut","pixel-art","shader","unity2d","2d-lighting","shaders"],"license":"MIT","category":"game-templates","readme_excerpt":"LutLight2D Dev by NullTale Just a Unique lighting system via rolor replacement that has no analogies ¯\\\\(ツ)/¯ • Stylized pixel art lighting via color replacement. It keeps the original colors of the palette and can create unusual stylization effects. • Web Demo https://nulltale.itch.io/dungeon-tale • Tested with Unity 2021, 2022, uses Urp 2D Renderer and Shader Graph. • Examples Pattern shading Oil6 Sharp gradient shading Fantasy 24 In shadow visible objects Lospec500 In shadow outline FUZZYFOUR • How it works The general idea is to make each color have its own shading gradient defined manually like it is done in most pixel art palettes. The shader does this using a set of Lut tables generated from gradient ramps. The color for replacement is taken from the tables depending on the brightness from the lighting texture. Colors from the tables can be taken with interpolation blending, to make smooth transitions. By specify color ramps and using material options, effects as in the examples can be achieved. • Installation and use Install via Unity PackageManager Bu default the Shader uses the lighting texture from the Urp 2D Renderer so Urp Asset must be configured. First needed to create the LutLight2D Asset , it will generate a texture with a set of lut tables for the material. It will create a material and Grayscale Ramps for it, which should already be enough to apply the material. Next step is to set the gradient table for each color from the palette. After the gradients are ","default_branch":null,"files":null,"tree":[],"storefront":"/r/NullTale","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NullTale/LutLight2D/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}