Constant gl_utils::render::params::BLEND_FUNC_NORMAL[][src]

pub const BLEND_FUNC_NORMAL: Blend = glium::Blend{color:
                 glium::BlendingFunction::Addition{source:
                                                       glium::LinearBlendingFactor::SourceAlpha,
                                                   destination:
                                                       glium::LinearBlendingFactor::OneMinusSourceAlpha,},
             alpha:
                 glium::BlendingFunction::Addition{source:
                                                       glium::LinearBlendingFactor::One,
                                                   destination:
                                                       glium::LinearBlendingFactor::One,},
             constant_value: (0.0, 0.0, 0.0, 0.0),}

The usual blending function to ensure that magnified texels are blended properly with transparency.