attractor-wallpaper icon indicating copy to clipboard operation
attractor-wallpaper copied to clipboard

Implement better dithering

Open Rodrigodd opened this issue 1 year ago • 0 comments

Dithering is used to avoid banding artifacts in the smooth color gradient of the background. The current implementation of dithering were copied from Bevy's implementation. Not sure if I implemented it wrong, but it causes stripes for some color shadings.

It may be better change the dithering implementation. I have some done some tests in notebooks/dither.html.

The current implementation is in the shader script, more specifically here.

Rodrigodd avatar Feb 03 '24 20:02 Rodrigodd