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

Apply dither after combining when conversion is made to uint8 to avoid banding #4

Open
FransBouma opened this issue Mar 14, 2020 · 0 comments

Comments

@FransBouma
Copy link
Owner

FransBouma commented Mar 14, 2020

Prod80:

you could do something similar in your DoF shader... just use 16F textures until you go for output and after combining the blurred textures apply a dither to it... then when it goes for output and is transformed back to uint8 it is rounded and the dither is applied there automatically due to the minor variations applied by the gaussian noise texture. It's very cheap, easy to implement, and results are great.

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