• J
    libobs: libobs-d3d11: obs-filters: No excess alpha · d91bd327
    James Park 提交于
    Currently SrcBlendAlpha and DestBlendAlpha are both ONE, and can
    combine together to form two. This is not a noticeable problem for
    UNORM targets because the channels are clamped, but it will likely
    become a problem if FLOAT targets are more widely used.
    
    This change switches DestBlendAlpha to INVSRCALPHA, and starts
    backgrounds as opaque black instead of transparent black. The blending
    behavior of stacked transparents is preserved without overflowing the
    alpha channel.
    d91bd327
obs-source.c 111.5 KB