The camera now updates a shader with the positions, strengths and colors of nodes in the light group. The sources cast light around them on the z layer they are on. They do not work for Tilemaps yet and can't be occluded. The light of different sources does not get stronger if they overlap.
3 lines
16 B
GDScript
3 lines
16 B
GDScript
extends Node2D
|
|
|