Hi,
thanks for the resources, I’ll have a look.
The problem is I would say is the behavior I’m looking for and I believe people using graphic tools should be the same as GIMP, Photoshop, Blender etc…
Also when using blend mode like this you need to switch between them quickly. Now if Multiply works with a Black background with Alpha 0 then other like Normal won’t. It is in my opinion better if the alpha works the same for all of them.
If not then, people will be confuse that in VL things works (again) differently from other software. And some blendmode needs to be manage differently.
I found the Alpha compositing formula on StackOverflow and here is what I have done so far :
BlendShader.zip (9.9 KB)
For some reason here I don’t understand the Divide blendmode make the background slightly brighter and I had to use Saturate
function where vvvv Beta didn’t need it.
Note that the Type is control by a switch case with Integer32 as I haven’t manage to get the enum working yet.