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!