]> git.sesse.net Git - ultimatescore/commitdiff
In SBS, do not apply white balance to the overlay.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 12 Feb 2020 17:03:08 +0000 (18:03 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 12 Feb 2020 17:03:08 +0000 (18:03 +0100)
nageru/ultimate.lua

index 5722a969ebaf99c52a2b04fe0a275f035f8362e7..198ac6457f8a51559a13ea148e44cd7856b199c5 100644 (file)
@@ -128,9 +128,9 @@ fade_scene = make_fade_scene()
 
 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,