vvvv / VL.StandardLibs

A collection of standard libraries for vvvv including VL.Stride, VL.Skia, VL.ImGui, msgpack.org[VL]
https://visualprogramming.net
GNU Lesser General Public License v3.0
36 stars 14 forks source link

Blend / BlendMixer [Textures.Mixer] add boolean pin to control if Alpha is affected #99

Open antongit opened 2 years ago

antongit commented 2 years ago

Blending two textures affects their Alpha Channel, which can be counterintuitive and undesirable in some situations. Photoshop is not doing anything with alpha when blending layers (for example). Please add a boolean pin something like "Blend Alpha" (?) to the Blend node.

antongit commented 2 years ago

Related to: vvvv/VL.StandardLibs#110

cloneproduction commented 2 years ago

This is indeed a major issue for this node and because of the Alpha then Normal blendmode doesn't exist anymore.

Also worth noting that some blend formula are giving wrong result such as SoftLight and Overlay.

If a input pin for blend alpha should be added it would be best not to have to click everytime we want the node to behave like in Photoshop.

But is there a reason why alpha behave like it does now anyway ?

tebjan commented 2 years ago

Yes, this should definitely be implemented, see also forums here: https://discourse.vvvv.org/t/texturefx-3-0-preview/19429/12 and here: https://discourse.vvvv.org/t/blend-mixer-problems/20236/4