enum
EMaterialBlendMode
MaterialBlendMode specifies which type of blend function to use to blend materials. The blend mode function will be used while blending layers during material casting.
Values
Key | Value | Comment |
---|---|---|
Opaque | 0 | Treat the material as fully opaque. Any opacity channel will be ignored. |
Mask | 1 | Use the opacity channel as a mask. Opacity values equal or greater than the opacity cutoff will yield opaque pixels, and opacity values less than the opacity cutoff will yield fully transparent pixels. |
Blend | 2 | Opacity values will be used to perform an alpha blend, final_color = (source_color * alpha) + (destination_color * (1 - alpha)). |
Key | Value | Comment |
---|---|---|
Opaque | 0 | Treat the material as fully opaque. Any opacity channel will be ignored. |
Mask | 1 | Use the opacity channel as a mask. Opacity values equal or greater than the opacity cutoff will yield opaque pixels, and opacity values less than the opacity cutoff will yield fully transparent pixels. |
Blend | 2 | Opacity values will be used to perform an alpha blend, final_color = (source_color * alpha) + (destination_color * (1 - alpha)). |
Key | Value | Comment |
---|---|---|
EMaterialBlendMode_Opaque | 0 | Treat the material as fully opaque. Any opacity channel will be ignored. |
EMaterialBlendMode_Mask | 1 | Use the opacity channel as a mask. Opacity values equal or greater than the opacity cutoff will yield opaque pixels, and opacity values less than the opacity cutoff will yield fully transparent pixels. |
EMaterialBlendMode_Blend | 2 | Opacity values will be used to perform an alpha blend, final_color = (source_color * alpha) + (destination_color * (1 - alpha)). |