Godot pixel-art shaders #2 — toon lighting, dithering, and the gray-shadow trap
one dot product, then floor() — and I even dithered the shading itself
Sep 1, 20265 min read33
Search for a command to run...
one dot product, then floor() — and I even dithered the shading itself
floor() is basically the whole trick
No error, no failed run — just silence