alphablending in subtitles


    Apr 03 2014 | 2:50 pm
    hi folks!
    i'm trying to mix a live video with subtitles. this works fine. now i want to have a smooth fade_in and fade_out for the subtitles. i thought i'd just control the alpha-channel of the font color. but this somehow only works for black, not for white and all the other colors.
    has anyone an idea how to solve this? what am i doing wrong? thank you very much in advance! maxi

    • Apr 03 2014 | 3:14 pm
      yeah, that looks strange. but your patch seems tp work fine with jit.gl.text3d, maybe you can use that
    • Apr 03 2014 | 3:29 pm
      yes, it works with jit.gl.text3d strange, but thank you very much!
    • Apr 03 2014 | 4:00 pm
      Interesting. Seems @blend alphablend for [jit.gl.text2d] is broken. But you can still use @blend_mode 6 7. Works fine on my computer - check attached patch (is based on yours, a bit ordered).