Layer Blending Modes - Bug?

vdmx
#1

Last night during a set I started having an issue with my blending modes - anytime I changed the mode for one layer, it seemingly changed all my other layers to that same mode. Anyone experienced this before?
For more details, I had about ~5-6 layers, with inputs varying from Chrome windows to loaded files. I had some using ‘Over’, some with ‘Add’, some with ‘Difference’. I was also using a layer mask for one layer, though I would check to make sure both the mask layer & the content layer had the same blending mode.
For whatever reason, my Preset didn’t save (side issue) so I’m having trouble going back to inspect the project. Any insights greatly appreciated! xx Loaf

1 Like

#2

Oh, I have actually experienced something like that, wasn’t sure if it was a bug or a limitation:

For example in a new project, add a second layer (both should have blending mode “OpenGL- Add” by default) then change the blending of the 2nd layer to anything under CoreImage or GLSL, it will also change the 1st layer to the same blending group (CoreImage or GLSL).

Is this a limitation that layers must use the same kind of blending whether OpenGL, CoreImage or GLSL? Or possibly a bug?

I also noticed that if you group these layers, they won’t affect the group’s blending, but then the group and any additional layers at that level will also affect each other.

1 Like

#3

Oooh, interesting thought. Definitely seems likely that it’s a limitation and not a bug.
Thanks for the input, Marc. Will report back if I discover anything else.

0 Likes

#4

Yea I have been wondering the same. Layers “touching “ always seem to need the same blend.

So does this mean to get seperate blending types layers must be in separate layer groups?

0 Likes

#5

To clarify this point…

Within a ‘group’ of layers, the OpenGL Add / Over modes are mutually exclusive with the more advanced composition modes (CoreImage, GLSL, Quartz Composer). VDMX will automatically switch the comp modes for layers within a group to handle this.

A few notes:

  • You will get the best performance when using OpenGL Add & Over modes. Use these whenever possible, especially for very high resolution situations!
  • If using the more advanced options for composition, we recommend using the GLSL modes whenever possible (here is a tutorial on making your own GLSL comp modes, https://vdmx.vidvox.net/tutorials/making-glsl-composition-modes-for-vdmx)
  • The VVSourceAtop.fs is the closest match to OpenGL Over mode.
  • This is a subtle detail in advanced cases – when you are doing compositing with multiple sub-groups of layers and you are using both alpha channels and opacity for blending, and you need the alpha channels to be preserved when that sub-group gets composited with other layers or groups, within your sub-groups you may need to use the GLSL modes instead of the OpenGL Add / Over modes. I can post an example of this to demonstrate if it’d be useful.
4 Likes

#6

Thanks for the clarification David! That helps understand it well. Also good to know what to stick with for high resolution stuff!

0 Likes