Skip to content
Thomas Mann edited this page Jan 17, 2024 · 1 revision

Dither

in lib.img.fx


Applies Floyd-Steinberg dithering to an image to convert it to black and white colors.


Input Parameters

Name (Relevancy & Type) Description
Image (Texture2DRequired) -
Black (Vector4) -
White (Vector4) -
GrayScaleWeights (Vector4) -
Bias (Single) -
Method (Int32) -
Scale (Single) -

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