Is there a way to make emission maps for Sprite2D using shaders?

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

They should give off actual light like Light2Ds and this light’s emission point should be restricted based on a separate image. This light also needs to change color dynamically. Would a fragment shader + godot’s void light() shader section be able to do this? I am terrible with shaders so starting points and tips would be very helpful.

EX: This 2D lighting example