2d light ( hole in the image ) withOut subViewport?

Godot Version

4.6

Question

hello;

Is there a way to do this thing but outside a subviewport ? and without using a shader…

I just wanted to use a colorRect Node and not add a subviewport on top. Godot only allows 16 lights per view, so adding more than 16 “PointLight2D“ and doing this, some lights will start to disapear.

Do you really need a see-through hole or just blackening? Is there something behind the rect that needs to be visible?

its supposed to work has a normal light. The colorRect is black with an alpha, you can see the background

it works the same way on “canvas group“ i dont need use viewport after all, i knew there was something just couldnt rebember