Skip to content

Instantly share code, notes, and snippets.

View couleurm's full-sized avatar

Couleur couleurm

View GitHub Profile
@couleurm
couleurm / frame_blending.lua
Last active October 7, 2024 19:36 — forked from upgradeQ/test_frame_blending.lua
frame_blend
S = obslua
samples = 360 / 60
local function skip_tick_render(ctx)
local target = S.obs_filter_get_target(ctx.source)
local width, height;
if target == nil then width = 0; height = 0; else
width = S.obs_source_get_base_width(target)
height = S.obs_source_get_base_height(target)