Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : SOLVED - Blend video cam with background image

$
0
0
  1. <filter name="Difference">
  2.     <description>Difference Blend Mode</description>
  3.     <fragment>BlendDifference.glsl</fragment>
  4.     <textures input="2" output="1">
  5.         <intexture type="sampler2d" name="bottomSampler" label="source">0</intexture>
  6.         <intexture type="sampler2d" name="topSampler" label="painted">1</intexture>
  7.     </textures>
  8.     <parameter type="float" name="Opacity" label="Opacity">1.0</parameter>
  9. </filter>

Viewing all articles
Browse latest Browse all 1768

Trending Articles