In the Screen Space Shaders example, TextureRect nodes are used to apply shaders to the scene. If the TextureRect doesn't have a texture the shader won't work.
I'm new to shaders. I'd like to know why do I need to put a texture in TextureRect and what it does if it adds something to the result. Apart from the fact that the shader doesn't work if the texture doesn't exist.
I'm starting to use shaders applied to 2D scenes and I forget to put the texture and the shader doesn't work until I realize.
Thanks.