-
Notifications
You must be signed in to change notification settings - Fork 849
[2021.2] [ShaderGraph] URP Uber Shader #3705
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 54 commits
Commits
Show all changes
74 commits
Select commit
Hold shift + click to select a range
613a536
Working transparent/opaque switch
5d4ffac
Working surface type, cull mode, and alpha clip
aa88cf4
Fix for Unlit alpha test shadows
c11b947
Workflow Mode switch working on Lit
9a9f688
Lit AlphaTest working
ff00c31
Fix for Lit ReceiveShadows checkbox
10b540b
Draw shadergraph properties in material inspector
ca653cb
Cleanup, Setting up Target defaults correctly
d131202
Fix for error spew from inspector on blank graphs
4afe766
Cast Shadows Toggle
954ab83
Adding LinearGrey and Red default texture options
24ea748
Adding stage options to Keywords, fixing Keyword control in BaseShade…
39ea696
Fix for collision with HDRP property names, fix keyworddescriptor wit…
4190ef4
Fix Previews, Convert target "Two Sided" checkbox to "Render Face" en…
1a47133
Fix for transparent blending with alpha
2c94bc6
Missing setup for transparent blending with alpha
6589a2d
Fix for material alpha clip when shader alpha clip disabled
31637a2
Make SubTarget UI the same as Material UI, and add cast/receive shado…
6a5c9e6
Remove debug log spew
7772681
Add workflow mode material control checkbox, fix default preview prop…
e126fca
Fixing cull mode in shadow and depth-only passes, removing unused fie…
8859752
Removing unused PBRMasterGUI, cleaning up code and comments, fixing e…
aea47f5
Fixing predefined keyword -- should not define anything
6b7f6bd
Merge branch 'master' into sg/urp-uber
c489b0c
Keyword test fix
7a56f74
Add "ShaderGraphShader" tag to all SubTargets. Fix for errors when c…
1ab31e2
Add versioning to shadergraph materials
8115bf5
Use UniversalMetadata approach
0056a1e
Cleanup warning spew
2aa23b7
Fix for toggles in UI
9fe609d
Renaming conflicting properties in test shader
2910fb8
Fixing a warning/error in a test shader in OpenGL (doesn't allow "__"…
340d10c
Fix for coat mask support when using GL
e77c2c7
Uniquely named URP surface properties
53b1b0d
Moving keyword strings to central location
9578886
Adding Depth Test control, fixing error when selecting Lit.shader
fb46581
Texture2D properties using Bump default will now be marked with [Norm…
50114d8
Adding zwrite controls
17a7867
Unify common target UI
3f45746
Removing unnecessarily added render pipeline assets
0a17c4f
Fixing shadergraph material versioning so it only applies to shadergr…
ae32e7c
Reverting unnecessary changes to test project
38d5c57
Cleaned up GUI code
7438249
Removing unused files, cleanup SubTargets
9fc1398
More target code cleanup
7103f4c
Adding "Allow Material Override" checkbox. Fixing a few issues with …
3268688
Switching to Option 3 (and cleanup)
5ae7a71
Adding auto-update to Materials (temp solution until AssetDB dependen…
8a5e821
Adding changelogs
80309ff
Fix for warning
5be1912
Removing Material v5 Versioning -- not necessary anymore with "Allow …
bf075b4
Code cleanup pass
c5869be
More code cleanup, consolidating string declarations and moving code …
5ef9cbe
Renaming URPLitGui to ShaderGraphLitGUI (and the same for unlit)
19958f1
Fixup emission properties for ShaderGraph -- don't use hard-coded Lit…
731d4c9
Cleaning up GI material code, introducing MaterialUpdateType, so we c…
41581e1
ShaderGraph Materials should always allow direct user control for dou…
c09117c
Merge branch 'master' into sg/urp-uber
8ce3904
Fix incorrect conflict merge
a830886
Adding 050_Shader_Graphs_Override test
6b6a97f
Hooking up the new test scene
61e1f44
Removing ZTestMode.Disabled as an option
4010912
Disabling DepthOnly pass when zwrite is off, removing it from shader …
2684ca8
Fix syntax error, moving global illumination settings to advanced sec…
c187236
Moving "Allow Material Override" checkbox above the "workflow mode" s…
828cfae
Merge branch 'sg/urp-uber-tests' into sg/urp-uber
5c5f64c
Addressing feedback
e748dc8
Getting rid of error spew by matching property type to HDRP
e0d8306
Fixing unreachable code warnings, and fixing colliding keyword (_SURF…
877125c
Merge branch 'master' into sg/urp-uber
bcbb7f9
Fixing merge issues
ce87a2f
Removing automatic RenderQueue calculation behavior from ShaderGraph …
f4e57f3
Ensuring the GI controls on URP ShaderGraph Materials are identical t…
ebe155c
Merge branch 'master' into sg/urp-uber
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1124,7 +1124,7 @@ | |
}, | ||
"m_Name": "A", | ||
"m_DefaultReferenceName": "Vector1_e29cd19dafd54a1dbd31dcf1d75c21b2", | ||
"m_OverrideReferenceName": "a_3_4_d__", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixing an issue with this test on GL devices -- not allowed to use double underscore in identifiers. |
||
"m_OverrideReferenceName": "a_3_4_d_", | ||
"m_GeneratePropertyBlock": true, | ||
"m_Precision": 0, | ||
"m_GPUInstanced": false, | ||
|
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
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.
This more optimal form just appends the keyword declaration string directly into the builder... no temp string GC allocs