How do I set a sprite or texture mode to addition?

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

How do I set a sprite’s or texture’s mode to addition? I’ve done it before, so i know it’s possible, but I don’t remember how or where the setting is located.

:bust_in_silhouette: Reply From: Calinou

Any node inheriting from CanvasItem (such as Sprite, Control, …) has a Material property which can be set to a ShaderMaterial (in case you want to use your own shader) or a CanvasItemMaterial. Here, you want to create a new CanvasItemMaterial then edit it to set its blend mode to Add. Other modes like Sub (substractive), Mul (multiplicative) and Premult Alpha (premultiplied alpha) are also available.

thx a bunch!

Socrates | 2018-05-17 21:25