-
Notifications
You must be signed in to change notification settings - Fork 840
[Draft] Lighting/probevolumes cleanup #756
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
Merged
sebastienlagarde
merged 26 commits into
HDRP/staging
from
lighting/probevolumes-cleanup
Jun 10, 2020
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
2f64702
Simplify EvaluateProbeVolumes interface and builtin SampleBakedGI code
ca0cbbc
Fix clearing of uninitialized GI
a1f06f6
Added ProbeVolumesEncodingMode to ShaderOptions in ShaderConfig to al…
pastasfuture ade9534
Probe Volumes: SH0, SH1, and SH2 evaluation based on ShaderConfig ful…
pastasfuture a9264b7
Probe Volumes: Instead of specifying AtlasWidth, AtlasHeight and Atla…
pastasfuture 6393f55
Probe Volumes: HDRenderPipelineAsset: Add memory usage information to…
pastasfuture 204a94d
Probe Volumes: Bugfix for Probe Volume UI: Only display Additive blen…
pastasfuture abdc3c9
Probe Volumes: Bugfix: DataIsAssigned function needed in build as well.
pastasfuture a8b14d4
Probe Volumes: Accumulate SH coefficients, and evaluate SH at normal …
pastasfuture 58c13fa
Probe Volumes: Rename EvaluateProbeVolumes() to AccumulateProbeVolume…
pastasfuture 10b36c8
Probe Volumes: Major cleanup to AccumulateProbeVolumes(), pulling out…
pastasfuture a83f4b3
Probe Volumes: Add ShaderConfig.s_ProbeVolumesBilaterialFilteringMode…
pastasfuture 2b83000
Probe Volumes: Do not allocate or bake octahedral depth data in Probe…
pastasfuture 357fdf1
Probe Volumes: Always allocate and pass octahedralDepth array into Ge…
pastasfuture c886f89
Probe Volumes: Explicit ProbeVolumeAccumulateSphericalHarmonicsL0, L1…
pastasfuture c82b63f
Probe Volumes: Add simple method for configuring what order of SH Pro…
pastasfuture 3693943
Probe Volumes: Fix to ProbeVolumeUI string names
pastasfuture ea4c88d
Probe Volumes: Move LightLoop::CreateBoxVolumeDataAndBound out parame…
pastasfuture f84dedd
Probe Volumes: Remove redundant include from DebugDisplayProbeVolume.…
pastasfuture b962581
Probe Volumes: Only support SH1 and SH2 atlas (SH0 was not needed). C…
pastasfuture 03e1ea6
Probe Volumes: Wrap supporting accumulation, evaluation, and fallback…
pastasfuture cda5537
Probe Volumes: Update SampleBakedGI() API (#759)
sebastienlagarde c685c00
Probe Volumes: Fix DebugViewTiles shader after updates to ProbeVolume…
pastasfuture dd36bbf
Probe Volumes: Set ShaderConfig evaluation mode to be disabled by def…
pastasfuture afb0e93
Probe Volumes: Update EvaluateOctahedralDepth function name to match …
pastasfuture 6b510b7
Probe Volumes: Fix up ShaderVariablesGlobal after naming conflict fro…
pastasfuture File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just something to have in mind: the more you have option in shader config, the less they are tested (as it required a dedicated project to test it).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's a good point. I've been leaning in to using ShaderConfig here to avoid creating more shader variants, as I know the variant explosion has been a big problem. But yeah, good point to at least be aware that that means less test coverage.