function make_sbs_input(scene, has_overlay)
local input = scene:add_input()
- local overlay = has_overlay and make_overlay(scene, input) or nil
+ local wb_effect = scene:add_auto_white_balance()
+ local overlay = has_overlay and make_overlay(scene, wb_effect) or nil
local resample_effect = scene:add_effect({ResampleEffect.new(), ResizeEffect.new()})
- local wb_effect = scene:add_auto_white_balance(resample_effect, input)
local padding_effect = scene:add_effect(IntegralPaddingEffect.new())
return {
input = input,