Godot Version
4.2.1
Question
So, for instance the first image has a radial gradient that goes from white to black. while the second one goes from white to transparent.
is there any difference in how the lights work with them?
4.2.1
So, for instance the first image has a radial gradient that goes from white to black. while the second one goes from white to transparent.
is there any difference in how the lights work with them?
Yes. If a light’s blend_mode
property is set to “Mix”, you’ll see the black parts, while the transparent parts are invisible. Similarly, if you use a CanvasMaterial with its light_mode
property set to “Light Only”, the parts of that material covered by the transparent areas of the light mask won’t show, while those covered by black areas will. So unless you have good reasons not to, go with black to transparent!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.