#include "alphaover.h" #include "render/rendertexture.h" AlphaOverBlend::AlphaOverBlend() { } QString AlphaOverBlend::Name() { return tr("Alpha Over"); } QString AlphaOverBlend::id() { return "org.olivevideoeditor.Olive.alphaoverblend"; } QString AlphaOverBlend::Description() { return tr("A blending node that composites one texture over another using its alpha channel."); } void AlphaOverBlend::Process() { // FIXME: Write Alpha Over Formula // Note that alpha will always be premultiplied by this point //GLuint base_tex = base_input_->get_value(time).value(); // FIXME: Does nothing texture_output()->set_value(QVariant::fromValue(blend_input()->get_value().value())); }