-
Notifications
You must be signed in to change notification settings - Fork 858
Shadow Performance Improvements #3830
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
Merged
Changes from 23 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
94e008a
In progress shadow refactor
unity-cchu 553f400
Fixed code to support single channel shadows
unity-cchu 9f87928
Fixed shadows on the alpha channel
unity-cchu 81e6084
Remaining issue with single color channel, and removed added vertex
unity-cchu 36459ce
Initial Checkin
unity-cchu 91f7f80
Fixed a number of issues with shadow rendering
unity-cchu b439562
Added versioning code for ShadowCaster2D
unity-cchu f19d02f
in progress work..
unity-cchu a0e1aff
Merge branch 'master' into 2d/shadow-refactor-jan
unity-cchu 81a6e83
Revert "Added versioning code for ShadowCaster2D"
unity-cchu 9341272
Revert "Revert "Added versioning code for ShadowCaster2D""
unity-cchu e2b0d06
Fixed orthographic shadow projection for arbitrary rotation
unity-cchu 9429cf4
Fixed perspective issue for shadow
unity-cchu e391623
Fixed another perspective issue with shadows
unity-cchu 9590864
Updated a comment
unity-cchu d76f961
Fixed a few more issues. Seems to be working pretty well again
unity-cchu 3738fc2
Fixed some issues with culling
unity-cchu a403ab6
Removed debug pragma
unity-cchu 00aec05
Can now use channels when prerendering shadow casting lights
unity-cchu 4528b71
Fixed problem with not creating shadow texture
unity-cchu 86af676
Fixed versioning
unity-cchu 93099e4
Fixed formatting
unity-cchu 52e58f0
Merge branch 'master' into 2d/shadow-refactor-jan
unity-cchu dde29cf
Added profiling sampling per channel to Shadow Rendering
unity-cchu 42d565e
Fixed a bug in ShadowProjectVertex.hlsl
unity-cchu 77af365
In progress Shadow Prerendering Test.
unity-cchu 7482e8c
Update prererendering test
unity-cchu a3477b1
Merge branch 'master' into 2d/shadow-refactor-jan
unity-cchu 74e5e31
Merge branch 'master' into 2d/shadow-refactor-jan
unity-cchu 4d0710a
Compilation Fix
unity-cchu 8313550
Reverted back to the old shadow casting mesh
unity-cchu 88d1997
Fixed up bounding sphere
unity-cchu 9eb22e8
Fixes to creation of shadow materials
unity-cchu 8077c81
Fixed small math issue
unity-cchu 66edeb0
Merge branch 'master' into 2d/shadow-refactor-jan
unity-cchu 57def38
Fixed formatting, Added changelog
unity-cchu b153ff2
Merge branch 'master' into 2d/shadow-refactor-jan
unity-cchu 553eacb
Updated shadow prerendering test
unity-cchu 26dd035
Merge branch 'master' into 2d/shadow-refactor-jan
unity-cchu f7d2d91
Merge branch 'master' into 2d/shadow-refactor-jan
unity-cchu 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
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.
Is this correct? I guess
a^2 <= b^2 + c^2is not the same asa <= b+cThere 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.
Good catch