godot-demo-projects icon indicating copy to clipboard operation
godot-demo-projects copied to clipboard

light2d_as_mask: illuminate benath mask without unmasking

Open urzbs opened this issue 9 months ago • 2 comments

Which demo project is affected: light2d_as_mask

Description: Allow Masking and other PointLight2D sources to illuminate the Sprite2D / Texture from behind (without removing the mask).

A Layer option for the CanvasItemMaterial, so you can decide which lightsource causes it to trigger.

cull_example

urzbs avatar May 28 '24 22:05 urzbs