Skip to content

Lib.image.fx.stylize.Dither

Thomas Mann edited this page May 28, 2025 · 3 revisions

Dither

in Lib.image.fx.stylize


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

For similar effects or interesting combinations see: [MosaicTiling] [VoronoiCells] [SubdivisionStretch] [HoneyCombTiles] [TriangleGridTransition] [Dither] [AsciiRender]


Input Parameters

Name (Relevancy & Type) Description
Image (Texture2DRequired) -
ShadowColor (Vector4) Color selection for all dark pixels.
HighlightColor (Vector4) Color selection for all bright pixels.
Method (Int32) Setting is currently ignored.
GrayScaleWeights (Vector4) Defines which color channels are used to determine the light-dark distinction.
GainAndBias (Vector2) -
Scale (Single) Uniformly scales the size of the effect.
Offset (Vector2) -
BlendMethod (Int32) -

Outputs

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

Clone this wiki locally