Package technology.sola.engine.graphics.renderer.blend


package technology.sola.engine.graphics.renderer.blend
This package contains various implementations of BlendFunction.
  • Class
    Description
    BlendFunction controls how the pixel being drawn (top) and the destination pixel (bottom) will be blended together to produce a final color that is drawn.
    Random chance of using color of top pixel based on alpha as the probability.
    Takes the max value of each channel for the destination pixel; alpha, red, green, blue.
    Adds the top and bottom pixels together ignoring alpha.
    Transparent if alpha < 255 (bottom pixel used).
    Takes the RGB channel values from 0 to 1 of each pixel in the top layer and multiples them with the values for the corresponding pixel from the bottom layer.
    No blending happens.
    Blends top onto bottom based on alpha of top pixel.