Node2D ignores CanvasItemMaterial's Unshaded light mode property

Godot Version

v4.2.2.stable.mono.official [15073afe3]

Question

I’m having some trouble getting my 2d node to completely ignore lights and always appear full bright. Here’s my current node structure:
image

And on the root node (TutorialItem), I have a Material set (CanvasItemMaterial) with the Light Mode property set to unshaded.

image

However, when I add this node to my scene, it still reacts to all the light as normal and will be too dark in certain places. Any idea why this might happen?

I don’t think the children inherit the material, you might be able to get this effect by adding the material to all it’s children, and/or set a different light mask or visibility layer

Apparently it does not! That’s really interesting considering how most things do inherit, but thank you for letting me know!

1 Like