I wrote a simple 2D shader that turns an image grayscale and then limits how many shades of gray can be outputted to 6.
https://imgur.com/bFxJoOL
However, when I add a normal map to the sprite with the shader, and then add a 2D light to the scene, the shader no longer locks the image down to six different shades of gray.
https://imgur.com/a/MuC84FZ
I want godot to solve for the lighting effects on the normal map, and then pass those results to my shader. How do I do this?