Glossary Sections
Additive Blending
Overview
Additive blending is a type of blending in computer graphics where the colors of two or more pixels are added together to create a new color. This type of blending is often used to create effects such as fire, explosions, and light trails.
The formula for additive blending is as follows:
Where:
-
new_color
-
source_color
-
destination_color
For example, if the source pixel is red and the destination pixel is green, the resulting color will be yellow. This is because red + green = yellow.
Additive blending can be used to create a variety of effects in computer graphics. Here are a few examples:
-
Fire: Additive blending can be used to create the effect of fire by adding together different colors of light. For example, red and yellow light can be added together to create the orange glow of fire.
-
Explosions: Additive blending can be used to create the effect of explosions by adding together different colors of light and then animating the colors over time. This can create the illusion of a growing explosion.
-
Light trails: Additive blending can be used to create the effect of light trails by adding together the colors of the light source and the colors of the objects that the light is passing through. This can create the illusion of a light beam moving through a scene.
Additive blending is a powerful tool that can be used to create a variety of effects in computer graphics. It is often used to create effects that involve light and color.
Feedback
Please be sure to submit issues or feature requests through the embedded feedback form. In the event it is a major issue please contact us directly through Discord.