DEVLOG 3 - TOON LIGHTING


It is exactly what it sounds like! I wanted to get a nice balance between having 2d lights to enhance the visuals of the game and have a better control of the color scheme. The floor here uses a shader I made, which takes colors as parameters. It works by figuring out whether the color should be shifted up or down depending on lighting info, taking a color of the pixel, comparing it to every color amongst the set color palette, and swap it for either brighter or darker color in the palette. In order to get this sharp transition, I used a custom texture for my PointLight2D (although I'm pretty sure you can get something similar with more general-purpose ones, too).

Get SystemIntrusion

Leave a comment

Log in with itch.io to leave a comment.