obs-studio/plugins/obs-transitions
jp9000 e1e21c01d5 obs-transitions: Convert premultiplied alpha to straight
In transitions, because the 'to' and 'from' are always rendered to
textures, the end result will always have premultiplied alpha.  This
would cause alpha to have blackish edges during transition, and cause
semi-transparent images to appear darker than they were supposed to.

To replicate, simply set the transparency of a source to 50%, then
transition between that scene and another scene.  The source will appear
to "pop" in and out unnaturally due to the premultiplied alpha effect of
the render targets.

To fix this, the solution is to simply convert premultiplied alpha to
straight alpha in the transition pixel shaders.
2017-02-06 13:22:51 -08:00
..
data obs-transitions: Convert premultiplied alpha to straight 2017-02-06 13:22:51 -08:00
CMakeLists.txt obs-transitions: Add 'Luma Wipe' transition 2016-07-20 07:05:27 -07:00
easings.h obs-transitions: Add 'slide' transition 2016-03-24 02:19:16 -07:00
obs-transitions.c obs-transitions: Add 'Luma Wipe' transition 2016-07-20 07:05:27 -07:00
transition-cut.c obs-transitions: Mark functions as static 2016-02-21 12:11:09 -08:00
transition-fade-to-color.c obs-transitions: Add 'Fade to Color' transition 2016-03-24 16:23:29 -07:00
transition-fade.c obs-transitions: Mark functions as static 2016-02-21 12:11:09 -08:00
transition-luma-wipe.c obs-transitions: Add 'Luma Wipe' transition 2016-07-20 07:05:27 -07:00
transition-slide.c obs-transitions: Add 'slide' transition 2016-03-24 02:19:16 -07:00
transition-swipe.c obs-transitions: Add 'slide' transition 2016-03-24 02:19:16 -07:00