0 votes

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.

asked May 17 in Engine by Socrates (547 points)

1 Answer

+1 vote

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.

answered May 17 by Calinou (2,600 points)

thx a bunch!

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.