I am working on a small game where most of the world is unshaded to create a simple Untitled Goose Game-like art style. I am wondering if it is possible to make the player, seen in the pictures below, darken in the spots that are blocked from the directional light source.
I have tried some toon shaders and have experimented with writing my own shaders, but as you can see in the next image this results in ugly self-shadowing.
Any and all help on the matter would be greatly appreciated!
( I found THIS POST from a person a while back that seems to have solved this problem, but he never explained how )