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

[HDRP] Physically-based DoF speed and robustness improvements + bugfixes #2353

Merged
merged 25 commits into from
Oct 25, 2020
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8aea89c
Fix near edges - remove old alpha normalization code
pmavridis Oct 21, 2020
33094ad
Fix alpha output
pmavridis Oct 21, 2020
c6d9d9f
Dof alpha output: preserve pixels with zero alpha
pmavridis Oct 21, 2020
1a24588
Physical DoF: generate color pyramid
pmavridis Oct 22, 2020
72cd729
Physical DoF: mip map selection based on radius
pmavridis Oct 22, 2020
d71fe33
Remove the preview indicator from the UI
pmavridis Oct 22, 2020
ecc26e7
Old (not rendergraph) pipeline implementation
pmavridis Oct 22, 2020
0c923d6
fix mem leak
pmavridis Oct 22, 2020
397a346
Support for much larger CoC radii
pmavridis Oct 22, 2020
88f90d7
Shader cleanup
pmavridis Oct 22, 2020
ed2d3c0
Tweak lod selection
pmavridis Oct 22, 2020
8fbea7d
Improve sampling noise
pmavridis Oct 22, 2020
82c6842
Fix post-dof TAA in rendergraph
pmavridis Oct 22, 2020
d755047
Shader cleanup
pmavridis Oct 23, 2020
31f309d
Bugfix for taa in DoF
pmavridis Oct 23, 2020
ccd8011
Bugfix for RTHandles: scale and clamp the UVs properly
pmavridis Oct 23, 2020
eaf9e1b
Temporary fix for Rendergraph post-dof TAA
pmavridis Oct 23, 2020
8aaf50f
Commit minor fixes before rebase
pmavridis Oct 23, 2020
4bbfc77
Revert "Remove the preview indicator from the UI"
pmavridis Oct 23, 2020
c29249b
Tweak parameter range to a more safe range
pmavridis Oct 23, 2020
a58f1c7
Remove unused code
pmavridis Oct 25, 2020
95f3b03
Remove unused code 2
pmavridis Oct 25, 2020
5a5bdbe
Dof shader: tweak sampling
pmavridis Oct 25, 2020
a98db85
Dof shader: tweak sampling
pmavridis Oct 25, 2020
0eeada8
Update changelog
pmavridis Oct 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove unused code 2
  • Loading branch information
pmavridis committed Oct 25, 2020
commit 95f3b03168e121e5bcae5f8626288cf7af0aca31
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ void KMain(uint3 dispatchThreadId : SV_DispatchThreadID)
float maxRadius = GetCoCMaxRadius(posInputs.positionSS);

float dR = maxRadius * rcp(NumRings);
float stratum = fmod(posInputs.positionSS.x + posInputs.positionSS.y, 2.0f);

int sampleOffset = _TaaFrameInfo.w != 0.0 ? _TaaFrameInfo.z : 0;
// Note: adjusting pseudo-randomly the sampleOffset for each pixel seems to considerably improve the sampling
Expand Down