I reccently saw a video of this guy who created a shader for a horror game that makes the parts of the enemy transparent when in a lesser lit area. I thought the idea of the shader was cool and thought it would be a great idea for visibility in a multiplayer game where the players are slightly brighter in darker areas but, im not exactly sure how to make it. The easiest solution would to just get the light level in the area and change the brightness of the whole material, but thats not what im exactly looking for. What I am looking for is a shader where only the parts of the player that are hit by shadows or is out of light range gets slightly brighter and leaving the already lit parts normal.