I am trying to create a node which makes whatever is standing within it invisible.
The structure is:
The texture of my
Light2D node is a simple transparent square, 64x64 pixels, and
mode is set to mask.
I notice that when I only have one of these nodes in my scene, everything works fine. My player becomes transparent when he crosses it.
If I have two of these nodes side by side, however, they act strangely. If the player is in the left node, he is only transparent if his center is within the left half of that node. If the player is in the right node, he only transparent if his center is within the right half of that node. If I move the nodes 64 pixels apart from each other, they begin to work as intended.
What could cause this?