|Topic was automatically imported from the old Question2Answer platform.
I have a TextureRect which applies over half of the screen. I have various objects set to ignore the effects of a Light2D using the lightmask. When the texturerect is visible this is ignored and the light2d affects objects which should be excluded because of their lightmask. Both the objects and the texture rect are set to 0, as in, should not be affected by light at all.
The texture rect has a shader material with a simple shader that inverts the colours in its space, and that is the source of the issue.