Simple Invert color code
//Invert Color
src=0;
input_info(src,w,h) ? ( project_w=w; project_h=h; ); // preserve input dimensions
gfx_blit(src);
gfx_set(1,1,1,-1,0x80003);
gfx_mode=19;
colorspace == 'RGBA' ? colorspace='YV12';
gfx_fillrect(0,0,project_w,project_h);
-----
used on a track it will invert all layers below
used on a video item it will invert only that item
used on an empty MIDI item above other items it will invert all layers for length of item.
You can use built-in "Item fades affect video" after to transition, bit ugly though.
|