How do I apply normal map lighting effects before my shader? [2D]
I wrote a simple 2D shader that turns an image grayscale and then limits how many shades of gray can be outputted to 6.
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.
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?