-
Notifications
You must be signed in to change notification settings - Fork 792
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fogbugz 1375978, 1413534] Fixed pb dof artifacts
Fix DoF artifacts when the physically based mode is used. https://fogbugz.unity3d.com/f/cases/1375978/ https://fogbugz.unity3d.com/f/cases/1413534/ Some previous tiling optimizations left the pb dof mode in a bad state. This PR fixes many small issues in the shaders: - Fixed "sticky" CoC reprojection when TAA and pb DoF is enabled - Fixed tiling artifacts from early exit in low res dof pass - Fixed (more) tiling artifacts by disabling the per-tile layer classification (the difference in sampling was visible in neightboring tiles) - Fixed a corner case with background blending Before: ![image](https://media.github.cds.internal.unity3d.com/user/1822/files/deabc55a-83ad-4237-9fc5-f99bda9a7c35) After: ![image](https://media.github.cds.internal.unity3d.com/user/1822/files/b93dd569-39bd-4b46-9eb3-63006d533a2c)
- Loading branch information
Showing
4 changed files
with
73 additions
and
46 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
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