Table of Contents

Gamelogic Fx Dithering

Version 6.1.0

Gamelogic Fx Dithering provides a collection of shaders for producing dithering effects in Unity. Dithering is useful for simulating smooth gradients, transparent transitions, or stylized rendering with a limited number of colors.

In the past dithering was a way to get more color depth out of limited displays, but in modern games it is often used as a stylistic choice.

Dithering works by applying a bias to the image before quantizing it. The way the bias is supplied differentiates the three techniques shipping with this package:

  • Matrix bias: A fixed pattern given as a matrix is applied to the image. The matrix is normalized, and repeated as necessary to cover the entire image. This is the most common form of dithering, and is used in many classic games. It includes Bayer dithering.

  • Texture bias: A texture is used to supply the bias. This allows for more complex patterns, and can be used to create effects such as noise dithering and halftone dithering. Any dithering scheme can be encoded in a texture; however, sampling and anti-aliasing, can make differences in how the technique looks.

  • Grid bias: This advanced dithering technique extends matrix bias. It too uses a matrix, but the tiling can be more complex. It also supports hex grid patterns, which are unusual but very pleasant. For square pixels the technique allows more efficient representation of some patterns.

Samples

The package includes a sample scene demonstrating the various dithering effects and their settings. See How to import samples for instructions on how to import the sample scene into your project.

Important

Make sure you open the scene in the folder that corresponds to the rendering pipeline you are using.

For Built-in: Assets/Samples/[Package]/[Version]/[Package Samples Root]/[Sample]/BuiltIn/

For URP: Assets/Samples/[Package]/[Version]/[Package Samples Root]/[Sample]/URP/

Quick Start

Built-in Render Pipeline

  1. Select your camera in the Hierarchy.
  2. Click Add Component and search for the effect (e.g. Dither Matrix Bias).
  3. The effect is active immediately — adjust properties in the Inspector.
  4. For Dither Matrix Bias and Dither Grid Bias, click Open Designer in the Inspector to design the pattern interactively with a live preview.

See How to use post effects for a full walkthrough.

Universal Render Pipeline (URP)

  1. Open your URP Renderer asset.
  2. In the Renderer Features list, click Add Renderer Feature and search for the effect.
  3. Expand the feature to adjust its properties.
  4. For Dither Matrix Bias and Dither Grid Bias, click Open Designer to design the pattern interactively with a live preview.

See How to use post effects for a full walkthrough.

Included Shaders

Post-effect shaders

Create full-screen dithering using the Built-in Render Pipeline or URP.

Object shaders

Apply dithering directly to materials for alpha dithering.

Editor Tools

Interactive tools for designing dithering patterns and generating textures.

Pipeline Support

This package supports both:

  • Built-in Render Pipeline
  • Universal Render Pipeline (URP)

Most settings are identical in both pipelines. Differences are documented in the 📘 How-to guides.

Additional Tools Included (Gamelogic Fx)

The package also ships with Gamelogic Fx, which provides reusable utilities for effect development: