Get Light2D resulting texture to generate Fog of War

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By bloqm

I want to give my player a Light2D, and use the resulting texture (the occluded/masked/shadowed texture) to use in a Field of View / Fog of War shader.

Is this even possible? How to get started? I haven’t found references on how to access such information.

Thanks!