Hello!
I’m trying to create this type of art style where dark areas gets its color swapped to a different one preserving only the edge/silhouette color.
In this example you can see the brick being lit has a greenish color and the unlit area has a dark tone:
I’ve tried to apply the concepts from these articles but couldn’t get it to work
Shaders Case Study - Pixel Art Palette Swapping -Shaders Case Study - Pixel Art Palette Swapping - YouTube
Prime31 - SpriteLightKit - GitHub - prime31/SpriteLightKit: Blended lighting system for Unity that works with standard Sprites
Stencil Buffer Using the Stencil Buffer for Sprite Occlusion - prime31 blog - Game dev tips, tricks and random thoughts