Make sprite2D ignore directional light?

Godot Version



I am using a directional light to light an entire scene but I have one sprite that should ignore that light; is there a way to do that?

change the light_mask property on the sprite

I tried that but it doesn’t work :confused:

whoops should have checked the docs, it says that directionallight2d doesn’t support light masks :melting_face:

uh… put it on a different canvaslayer?