Unity Render – Algorithm (Bayer matrix dithering)

Опубликовано: 13 Июль 2026
на канале: Tangled Kai 2.0
147
5

Previous attempt at simulating Bayer Ordered Dithering in AE
I wanted to try recreating a similar effect in Unity
Replacing the original texture that simulated Bayer matrix dithering with a Bayer matrix algorithm
AE
Bayer matrix dithering 8x8 matrix → Threshold → Tint
Unity
Using Bayer 8x8 matrix algorithm

Control the weight of Bayer influence
Grayscale the image with range 0~1
Quantize color levels to divide continuous brightness or color into fixed levels
Determine dual-color tinting range to set the brightest and darkest tinting
Finally determine the coverage rate of Bayer 8x8 pixels

Unity render 2025
Unity shader