How do i enable and disable a filter from a source, like for example disable the existing LUT filter from a source?
function enable_indicator(num)
local group = get_group_as_scene("Instance " .. num)
if group == nil then
return
end
local si = obs.obs_scene_find_source(group, "Instance " .. num .. " Indicator")
local si2 = obs.obs_scene_find_source(group, "Game Capture 1")
if si ~= nil then
obs.obs_sceneitem_set_visible(si, true)
end
set_position(si, 5, 0)
end
Like for example i want to enable the LUT filter of the si2, but cant find any reference on how to manage filters
function enable_indicator(num)
local group = get_group_as_scene("Instance " .. num)
if group == nil then
return
end
local si = obs.obs_scene_find_source(group, "Instance " .. num .. " Indicator")
local si2 = obs.obs_scene_find_source(group, "Game Capture 1")
if si ~= nil then
obs.obs_sceneitem_set_visible(si, true)
end
set_position(si, 5, 0)
end
Like for example i want to enable the LUT filter of the si2, but cant find any reference on how to manage filters