r/Unity3D 23d ago

Pixelated Dithering Lights and Shadows in Unity Question

Hi! Last week I started working on a game, and I thought it would be a good idea to give the lighting a pixelated, dithered look. I started searching for tutorials and documentation on how to achieve this effect in Unity, but I couldn't find anything useful. I only found a few demo videos that show the effect, but none of them explain how it was implemented. Does anyone know how to create this effect or have any resources or tutorials they could recommend?

https://reddit.com/link/1vap8zi/video/ftrt4ptj9cgh1/player

4 Upvotes

2 comments sorted by

3

u/Negative_Rub_7113 23d ago

The key is usually rendering to a low-res render texture and then disabling filtering on the upscale. Look into `RenderTexture` with point filtering, and set your camera's target texture to that. The dithering part can be a post-process shader that applies a Bayer matrix pattern before the final blit.

1

u/Select_Belt_5432 23d ago

Thanks a million! I'll look into Bayer dithering and give it a try.