Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
ImageCombineType
Enum for determining how two images are combined together.
In all combine operations, source refers to the new pixels being drawn and destination refers to the existing pixels in the image being drawn onto.
Items
| Name | Value | Description |
|---|---|---|
| BlendSourceOver | 1 | Blends pixels from the source with pixels from the destination using source over alpha blending. |
| Overwrite | 2 | Overwrites all pixels in the destination image with pixels from the source image. |
| Add | 3 | Adds pixels from the source and pixels from the destination together. Source RGB values are scaled by the source alpha, while source alpha is added directly to destination alpha. |
| Multiply | 4 | Multiplies pixels from the source and pixels from the destination together. RGBA values are multiplied as values between 0 and 1. Values lower than 1 have a darkening effect on the image. |
| AlphaBlend | 5 | Blends pixels from the source with pixels from the destination based on the alpha of the source pixels. Unlike BlendSourceOver, the destination color in AlphaBlend affects the resulting color of the image, regardless of the destination color's alpha. |
| NormalMapBlend | 6 | Blends pixels from the source with the destination using alpha blending, then renormalizes the resulting RGB values as a tangent-space normal vector. |
| Subtract | 7 | Subtracts pixels of the source from pixels of the destination. Source RGB values are scaled by the source alpha, while source alpha is subtracted directly from destination alpha. |
BlendSourceOver
Blends pixels from the source with pixels from the destination using source over alpha blending.
| Field | Value |
|---|---|
| value | 1 |
Overwrite
Overwrites all pixels in the destination image with pixels from the source image.
| Field | Value |
|---|---|
| value | 2 |
Add
Adds pixels from the source and pixels from the destination together. Source RGB values are scaled by the source alpha, while source alpha is added directly to destination alpha.
| Field | Value |
|---|---|
| value | 3 |
Multiply
Multiplies pixels from the source and pixels from the destination together. RGBA values are multiplied as values between 0 and 1. Values lower than 1 have a darkening effect on the image.
| Field | Value |
|---|---|
| value | 4 |
AlphaBlend
Blends pixels from the source with pixels from the destination based on the alpha of the source pixels. Unlike BlendSourceOver, the destination color in AlphaBlend affects the resulting color of the image, regardless of the destination color's alpha.
| Field | Value |
|---|---|
| value | 5 |
NormalMapBlend
Blends pixels from the source with the destination using alpha blending, then renormalizes the resulting RGB values as a tangent-space normal vector.
| Field | Value |
|---|---|
| value | 6 |
Subtract
Subtracts pixels of the source from pixels of the destination. Source RGB values are scaled by the source alpha, while source alpha is subtracted directly from destination alpha.
| Field | Value |
|---|---|
| value | 7 |