Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement better dithering #1

Open
Rodrigodd opened this issue Feb 3, 2024 · 0 comments
Open

Implement better dithering #1

Rodrigodd opened this issue Feb 3, 2024 · 0 comments

Comments

@Rodrigodd
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant