I am writing a custom shader and want to make it work in unlit scene view. I notice that whenever I switch scene view to unlit, I notice that Unity compiles shaders. This leads me to believe that a shader keyword gets enabled and a new shader variant is used.
But the problem is I can not seem to find this magic keyword / pragma in Shader Graph compiled shaders nor default HDRP shaders.
Does anyone have information about what happens when scene view switches to unlit?