Skip to content

Commit 09e6797

Browse files
alex-vazquez-unity3dEvergreen
authored andcommitted
[URP] [2D] ShaderGraph Pass name is not generated when the pass is "LightMode" = "Universal2D"
Fix missing pass name https://jira.unity3d.com/browse/UUM-36358
1 parent 65f5f75 commit 09e6797

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Packages/com.unity.render-pipelines.universal/Editor/ShaderGraph/Targets/UniversalLitSubTarget.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,7 @@ public static PassDescriptor _2D(UniversalTarget target)
585585
var result = new PassDescriptor()
586586
{
587587
// Definition
588+
displayName = "Universal 2D",
588589
referenceName = "SHADERPASS_2D",
589590
lightMode = "Universal2D",
590591

0 commit comments

Comments
 (0)