Lib.image.use.Blend - tixl3d/tixl GitHub Wiki

Blend

in Lib.image.use


Blends two images.

If you want do cross fade (mix) images, consider using [BlendImages]

All blend ops and similar: [BlendImages] [Blend] [BlendWithMask] [Combine3Images]


Input Parameters

Name (Relevancy & Type) Description
ImageA (Texture2DRequired) The background image defining the resolution of the output.
ColorA (Vector4) A color multiplied onto the background image
ImageB (Texture2DRequired) The image blended on top of the background image.
ColorB (Vector4) A optional color multiplied. The alpha channel can be used to fade out the image.

Consider connecting this to a [SampleGradient].
BlendMode (Int32) Various blending modes for the colors.
AlphaMode (Int32) Various modes for how the alpha channels are combined.
NormalForUpperHalf (Boolean) If used with blend-modes other than normal, that blend mode will only be used for if the alpha channel is below 0.5.
Above that the image will be fully blended with normal mode.

As an example: If blended with Screen-mode...
- Alpha= 0.0: none of the image will be visible
- Alpha = 0.5: the image will be fully visible with screen mode
- Alpha = 1.0: the image will be fully visible with normal mode

ScaleMode (Int32) -
GenerateMips (Boolean) Generated MipMap levels. Please read the "Realtime Rendering for Artists" wiki page for mode details.
Resolution (Int2) The target resolution. Please make sure the check the documentation on how T3 handles resolutions.

Outputs

Name Type
Output T3.Core.DataTypes.Texture2D

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️