Skip to content

lib.img.adjust.RemapColor

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

RemapColor

in lib.img.adjust


Replaces the colors of an image with a gradient based on its brightness. This can be used to emulate gradient curves or level adjustments.

Note: The gradient's alpha channel can control the intensity of the effect.

Also consider using [Tint].


Input Parameters

Name (Relevancy & Type) Description
Image (Texture2D) -
Resolution (Int2) -
Gradient (Gradient) -
DontColorAlpha (Boolean) -
Mode (Int32) -
Bias (Single) -
Cycle (Single) -
WrapMode (TextureAddressMode) -

Outputs

Name Type
TextureOutput 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