Skip to content

lib.img.use.BlendWithMask

Thomas Mann edited this page Jan 17, 2024 · 2 revisions

BlendWithMask

in lib.img.use


Blends two images by the brightness of a 3rd mask image.

In the mask, fully black areas will only render that portion of image A, and fully white areas will only render that of image B. Values in between will interpolate between the two.


Input Parameters

Name (Relevancy & Type) Description
ImageA (Texture2DRequired) -
ColorA (Vector4) -
ImageB (Texture2DRequired) -
ColorB (Vector4) -
Mask (Texture2DRequired) -
Resolution (Int2) -

Outputs

Name Type
Output SharpDX.Direct3D11.Texture2D

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

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

Clone this wiki locally