-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- only triangular noise needs to be scaled between +/-1, other noises have a uniform distribution and need to be scaled between +/-0.5 - all dither routines work in RGBA - fixed FXAA in opaque mode when dithering modified the alpha channel (which is used by FXAA). This fixes flickering when FXAA and dithering was enabled. - use triangular noise dithering on mobile and desktop. The cost in not measurable on a pixel 4 / 1080p, and the quality is better. - refactor dithering code a bit such that: - noise methods are not temporal - all dither functions have the same structure
- Loading branch information
1 parent
b4f0932
commit e31ebb7
Showing
2 changed files
with
47 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters