Partial shadows, ist there a way?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ohmi
:warning: Old Version Published before Godot 3 was released.

Hi,
I am currently working on a game about growing a plant. So far the lighting was done with hundeds of “sunray” GOs with a transparent white sprite, that would have a chance of disappearing when they came in contact with a part of the plant.

As you can see it creates a smooth gradient of light towards the bottom of the plant, where no direct light gets to. But for performance, this option is no longer viable. Therefore i tried to switch to a Light2D.

enter image description here

Thats the result. So is there a way to change the “opacity” of light occluders in some way? So it only blocks part of the light?

I know i could stack different light sources, but this would require logic i am unshure i can write. And it would probably not help performance either.

Thanks for taking the time!