diff --git a/com.unity.render-pipelines.high-definition/CHANGELOG.md b/com.unity.render-pipelines.high-definition/CHANGELOG.md index 650f7611b3c..952f77ec2f5 100644 --- a/com.unity.render-pipelines.high-definition/CHANGELOG.md +++ b/com.unity.render-pipelines.high-definition/CHANGELOG.md @@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Fixed broken debug views when dynamic resolution was enabled (case 1365368). - Fixed shader graph errors when disabling the bias on texture samplers. - Fixed flickering / edge aliasing issue when DoF and TAAU or DLSS are enabled (case 1381858). +- Fixed SpeedTree graph compatibility by adding raytracing quality keyword to provide a safe path. ### Changed - Optimizations for the physically based depth of field. diff --git a/com.unity.render-pipelines.high-definition/Runtime/Material/Nature/SpeedTree8.shadergraph b/com.unity.render-pipelines.high-definition/Runtime/Material/Nature/SpeedTree8.shadergraph index 93016f95bd6..da31026b84b 100644 --- a/com.unity.render-pipelines.high-definition/Runtime/Material/Nature/SpeedTree8.shadergraph +++ b/com.unity.render-pipelines.high-definition/Runtime/Material/Nature/SpeedTree8.shadergraph @@ -61,6 +61,9 @@ }, { "m_Id": "634c255335cd4db09ac805304e2bc617" + }, + { + "m_Id": "4f5bf1165624464d8eae221b723a729c" } ], "m_Dropdowns": [], @@ -208,33 +211,6 @@ { "m_Id": "d2424291c0f7420f9a0660b7051f84dc" }, - { - "m_Id": "fa323d4bae5143cc9fe1800551d7a848" - }, - { - "m_Id": "f467da04bb444463b72f53b3f66c0abb" - }, - { - "m_Id": "b69999c2c95d45b0b83f148e520eb8fb" - }, - { - "m_Id": "8d32abe58e6e40b0a4fc031a38667c4c" - }, - { - "m_Id": "db6cf405b16549c09ffd857c4038ed05" - }, - { - "m_Id": "5e1872b31dae4c5babc052603013756c" - }, - { - "m_Id": "3c0ce6bb9d7b4b0ca739d80d08d01ec2" - }, - { - "m_Id": "7f05288565444593974a63457ca1488c" - }, - { - "m_Id": "23a893b4f0f14c3081a0e3d8d8af329d" - }, { "m_Id": "397ebd2291d549ae81cd390ada59d916" }, @@ -270,6 +246,15 @@ }, { "m_Id": "2aee7981909e441b83ee82aeac14e4bc" + }, + { + "m_Id": "13ee85feb3594d2f838f80dad5390a66" + }, + { + "m_Id": "d5058d799ca9462891a928a773ccdc85" + }, + { + "m_Id": "f34eb7a308ae46759390c781d42bb778" } ], "m_GroupDatas": [ @@ -375,29 +360,29 @@ { "m_OutputSlot": { "m_Node": { - "m_Id": "16e6acdde48c4bbb97864d02eaaaa27c" + "m_Id": "13ee85feb3594d2f838f80dad5390a66" }, - "m_SlotId": 3 + "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { - "m_Id": "4fcc11cb34d2413b9282f84bd1143d08" + "m_Id": "4412f1dc4aa7492f86114fbffca3cf80" }, - "m_SlotId": 0 + "m_SlotId": 2074262670 } }, { "m_OutputSlot": { "m_Node": { - "m_Id": "23a893b4f0f14c3081a0e3d8d8af329d" + "m_Id": "16e6acdde48c4bbb97864d02eaaaa27c" }, - "m_SlotId": 0 + "m_SlotId": 3 }, "m_InputSlot": { "m_Node": { - "m_Id": "4412f1dc4aa7492f86114fbffca3cf80" + "m_Id": "4fcc11cb34d2413b9282f84bd1143d08" }, - "m_SlotId": 2064554629 + "m_SlotId": 0 } }, { @@ -484,20 +469,6 @@ "m_SlotId": 1313628562 } }, - { - "m_OutputSlot": { - "m_Node": { - "m_Id": "3c0ce6bb9d7b4b0ca739d80d08d01ec2" - }, - "m_SlotId": 0 - }, - "m_InputSlot": { - "m_Node": { - "m_Id": "4412f1dc4aa7492f86114fbffca3cf80" - }, - "m_SlotId": 2074262670 - } - }, { "m_OutputSlot": { "m_Node": { @@ -610,20 +581,6 @@ "m_SlotId": 0 } }, - { - "m_OutputSlot": { - "m_Node": { - "m_Id": "5e1872b31dae4c5babc052603013756c" - }, - "m_SlotId": 0 - }, - "m_InputSlot": { - "m_Node": { - "m_Id": "b69999c2c95d45b0b83f148e520eb8fb" - }, - "m_SlotId": 0 - } - }, { "m_OutputSlot": { "m_Node": { @@ -722,20 +679,6 @@ "m_SlotId": 1 } }, - { - "m_OutputSlot": { - "m_Node": { - "m_Id": "7f05288565444593974a63457ca1488c" - }, - "m_SlotId": 0 - }, - "m_InputSlot": { - "m_Node": { - "m_Id": "4412f1dc4aa7492f86114fbffca3cf80" - }, - "m_SlotId": -1960380622 - } - }, { "m_OutputSlot": { "m_Node": { @@ -750,20 +693,6 @@ "m_SlotId": 1 } }, - { - "m_OutputSlot": { - "m_Node": { - "m_Id": "8d32abe58e6e40b0a4fc031a38667c4c" - }, - "m_SlotId": 0 - }, - "m_InputSlot": { - "m_Node": { - "m_Id": "fa323d4bae5143cc9fe1800551d7a848" - }, - "m_SlotId": 0 - } - }, { "m_OutputSlot": { "m_Node": { @@ -1016,6 +945,20 @@ "m_SlotId": 0 } }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "d5058d799ca9462891a928a773ccdc85" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "4412f1dc4aa7492f86114fbffca3cf80" + }, + "m_SlotId": -1960380622 + } + }, { "m_OutputSlot": { "m_Node": { @@ -1047,15 +990,15 @@ { "m_OutputSlot": { "m_Node": { - "m_Id": "db6cf405b16549c09ffd857c4038ed05" + "m_Id": "f34eb7a308ae46759390c781d42bb778" }, "m_SlotId": 0 }, "m_InputSlot": { "m_Node": { - "m_Id": "f467da04bb444463b72f53b3f66c0abb" + "m_Id": "4412f1dc4aa7492f86114fbffca3cf80" }, - "m_SlotId": 0 + "m_SlotId": 2064554629 } }, { @@ -1115,15 +1058,6 @@ }, { "m_Id": "c5bd883ee36b4a0eb5a4824a41fc7849" - }, - { - "m_Id": "fa323d4bae5143cc9fe1800551d7a848" - }, - { - "m_Id": "f467da04bb444463b72f53b3f66c0abb" - }, - { - "m_Id": "b69999c2c95d45b0b83f148e520eb8fb" } ] }, @@ -1191,8 +1125,8 @@ "m_ObjectId": "003b4ef77bba4db8a2543888cf83d33c", "m_Title": "Normals", "m_Position": { - "x": -1671.0, - "y": 423.0 + "x": -1863.0, + "y": 325.0 } } @@ -1523,29 +1457,6 @@ ] } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", - "m_ObjectId": "0bddee461ecf4ba88db97f6f213782fc", - "m_Id": 0, - "m_DisplayName": "Out", - "m_SlotType": 1, - "m_Hidden": false, - "m_ShaderOutputName": "Out", - "m_StageCapability": 3, - "m_Value": { - "x": 0.0, - "y": 0.0, - "z": 1.0 - }, - "m_DefaultValue": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_Labels": [] -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", @@ -1689,6 +1600,42 @@ "m_EnableGlobalMipBias": true } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.NormalVectorNode", + "m_ObjectId": "13ee85feb3594d2f838f80dad5390a66", + "m_Group": { + "m_Id": "003b4ef77bba4db8a2543888cf83d33c" + }, + "m_Name": "Normal Vector", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1632.0, + "y": 775.0, + "width": 206.0, + "height": 130.5 + } + }, + "m_Slots": [ + { + "m_Id": "20331f46ae624b7f9a767cbd62433cc7" + } + ], + "synonyms": [ + "surface direction" + ], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_DismissedVersion": 0, + "m_PreviewMode": 2, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Space": 2 +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot", @@ -1967,6 +1914,29 @@ "m_DefaultValue": false } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "20331f46ae624b7f9a767cbd62433cc7", + "m_Id": 0, + "m_DisplayName": "Out", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": { + "x": 0.0, + "y": 0.0, + "z": 1.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [] +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty", @@ -2021,41 +1991,6 @@ } } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.CustomInterpolatorNode", - "m_ObjectId": "23a893b4f0f14c3081a0e3d8d8af329d", - "m_Group": { - "m_Id": "003b4ef77bba4db8a2543888cf83d33c" - }, - "m_Name": "BitangentWS (Custom Interpolator)", - "m_DrawState": { - "m_Expanded": true, - "m_Position": { - "serializedVersion": "2", - "x": -1582.0001220703125, - "y": 625.3333129882813, - "width": 247.3333740234375, - "height": 94.00000762939453 - } - }, - "m_Slots": [ - { - "m_Id": "90ddfdf80526456a883f8c39cea7a4bb" - } - ], - "synonyms": [], - "m_Precision": 0, - "m_PreviewExpanded": false, - "m_DismissedVersion": 0, - "m_PreviewMode": 0, - "m_CustomColors": { - "m_SerializableColors": [] - }, - "customBlockNodeName": "BitangentWS", - "serializedType": 3 -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", @@ -2453,29 +2388,6 @@ "m_Labels": [] } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", - "m_ObjectId": "2f68a42c62aa4c978744b485cd563652", - "m_Id": 0, - "m_DisplayName": "NormalWS", - "m_SlotType": 0, - "m_Hidden": false, - "m_ShaderOutputName": "NormalWS", - "m_StageCapability": 1, - "m_Value": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_DefaultValue": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_Labels": [] -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", @@ -2689,41 +2601,6 @@ ] } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.CustomInterpolatorNode", - "m_ObjectId": "3c0ce6bb9d7b4b0ca739d80d08d01ec2", - "m_Group": { - "m_Id": "003b4ef77bba4db8a2543888cf83d33c" - }, - "m_Name": "NormalWS (Custom Interpolator)", - "m_DrawState": { - "m_Expanded": true, - "m_Position": { - "serializedVersion": "2", - "x": -1567.33349609375, - "y": 719.3333740234375, - "width": 232.666748046875, - "height": 94.00000762939453 - } - }, - "m_Slots": [ - { - "m_Id": "dc114caec7614bb7bc00309d195c197a" - } - ], - "synonyms": [], - "m_Precision": 0, - "m_PreviewExpanded": false, - "m_DismissedVersion": 0, - "m_PreviewMode": 0, - "m_CustomColors": { - "m_SerializableColors": [] - }, - "customBlockNodeName": "NormalWS", - "serializedType": 3 -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.BranchNode", @@ -3038,6 +2915,9 @@ }, { "m_Id": "634c255335cd4db09ac805304e2bc617" + }, + { + "m_Id": "4f5bf1165624464d8eae221b723a729c" } ] } @@ -3239,29 +3119,6 @@ "m_SerializedDescriptor": "SurfaceDescription.Emission" } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", - "m_ObjectId": "4bc6b5a827cd40b5b41e366607c31f37", - "m_Id": 0, - "m_DisplayName": "TangentWS", - "m_SlotType": 0, - "m_Hidden": false, - "m_ShaderOutputName": "TangentWS", - "m_StageCapability": 1, - "m_Value": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_DefaultValue": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_Labels": [] -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", @@ -3285,6 +3142,42 @@ "m_Labels": [] } +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.ShaderKeyword", + "m_ObjectId": "4f5bf1165624464d8eae221b723a729c", + "m_Guid": { + "m_GuidSerialized": "458874a2-ee16-4eaf-b856-83d6ec3235b0" + }, + "m_Name": "Raytracing Quality", + "m_DefaultRefNameVersion": 1, + "m_RefNameGeneratedByDisplayName": "Raytracing Quality", + "m_DefaultReferenceName": "RAYTRACING_QUALITY", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": false, + "m_UseCustomSlotLabel": false, + "m_CustomSlotLabel": "", + "m_DismissedVersion": 0, + "m_KeywordType": 1, + "m_KeywordDefinition": 2, + "m_KeywordScope": 1, + "m_KeywordStages": 63, + "m_Entries": [ + { + "id": 1, + "displayName": "Default", + "referenceName": "DEFAULT" + }, + { + "id": 2, + "displayName": "Raytraced", + "referenceName": "RAYTRACED" + } + ], + "m_Value": 0, + "m_IsEditable": false +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", @@ -3343,29 +3236,6 @@ "m_SerializedDescriptor": "SurfaceDescription.Smoothness" } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", - "m_ObjectId": "4fdb6984495047e1abf9f95ae8a957af", - "m_Id": 0, - "m_DisplayName": "Out", - "m_SlotType": 1, - "m_Hidden": false, - "m_ShaderOutputName": "Out", - "m_StageCapability": 3, - "m_Value": { - "x": 0.0, - "y": 0.0, - "z": 1.0 - }, - "m_DefaultValue": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_Labels": [] -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.KeywordNode", @@ -3561,29 +3431,6 @@ "m_Value": true } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", - "m_ObjectId": "5ae0a9e6792347b2973921ff54a74f90", - "m_Id": 0, - "m_DisplayName": "Out", - "m_SlotType": 1, - "m_Hidden": false, - "m_ShaderOutputName": "Out", - "m_StageCapability": 3, - "m_Value": { - "x": 0.0, - "y": 0.0, - "z": 1.0 - }, - "m_DefaultValue": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_Labels": [] -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", @@ -3713,40 +3560,6 @@ } } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.BitangentVectorNode", - "m_ObjectId": "5e1872b31dae4c5babc052603013756c", - "m_Group": { - "m_Id": "" - }, - "m_Name": "Bitangent Vector", - "m_DrawState": { - "m_Expanded": true, - "m_Position": { - "serializedVersion": "2", - "x": 198.6667022705078, - "y": -110.0000228881836, - "width": 206.0, - "height": 131.33334350585938 - } - }, - "m_Slots": [ - { - "m_Id": "0bddee461ecf4ba88db97f6f213782fc" - } - ], - "synonyms": [], - "m_Precision": 0, - "m_PreviewExpanded": false, - "m_DismissedVersion": 0, - "m_PreviewMode": 2, - "m_CustomColors": { - "m_SerializableColors": [] - }, - "m_Space": 2 -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", @@ -4639,41 +4452,6 @@ } } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.CustomInterpolatorNode", - "m_ObjectId": "7f05288565444593974a63457ca1488c", - "m_Group": { - "m_Id": "003b4ef77bba4db8a2543888cf83d33c" - }, - "m_Name": "TangentWS (Custom Interpolator)", - "m_DrawState": { - "m_Expanded": true, - "m_Position": { - "serializedVersion": "2", - "x": -1574.666748046875, - "y": 531.3333740234375, - "width": 240.0, - "height": 94.00000762939453 - } - }, - "m_Slots": [ - { - "m_Id": "ecbd9c270eb347d5ba9d0b180defce80" - } - ], - "synonyms": [], - "m_Precision": 0, - "m_PreviewExpanded": false, - "m_DismissedVersion": 0, - "m_PreviewMode": 0, - "m_CustomColors": { - "m_SerializableColors": [] - }, - "customBlockNodeName": "TangentWS", - "serializedType": 3 -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.ComparisonNode", @@ -5045,77 +4823,20 @@ "m_Id": "628ec2e74dc0484b9444bc16985acfda" }, { - "m_Id": "64c3f212b96340aa82f273f428b35f35" - }, - { - "m_Id": "516da32a5cda43219aa085526fce499e" - }, - { - "m_Id": "f7fe81f9a01a46f4b1d2400106d5e670" - }, - { - "m_Id": "edead4231d3b49d39360ca6e292b9394" - } - ], - "m_CustomEditorGUI": "", - "m_SupportVFX": false -} - -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.NormalVectorNode", - "m_ObjectId": "8d32abe58e6e40b0a4fc031a38667c4c", - "m_Group": { - "m_Id": "" - }, - "m_Name": "Normal Vector", - "m_DrawState": { - "m_Expanded": true, - "m_Position": { - "serializedVersion": "2", - "x": 198.6667022705078, - "y": -373.9999694824219, - "width": 206.0, - "height": 130.6666717529297 - } - }, - "m_Slots": [ - { - "m_Id": "4fdb6984495047e1abf9f95ae8a957af" - } - ], - "synonyms": [], - "m_Precision": 0, - "m_PreviewExpanded": false, - "m_DismissedVersion": 0, - "m_PreviewMode": 2, - "m_CustomColors": { - "m_SerializableColors": [] - }, - "m_Space": 2 -} - -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", - "m_ObjectId": "90ddfdf80526456a883f8c39cea7a4bb", - "m_Id": 0, - "m_DisplayName": "Out", - "m_SlotType": 1, - "m_Hidden": false, - "m_ShaderOutputName": "Out", - "m_StageCapability": 2, - "m_Value": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_DefaultValue": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_Labels": [] + "m_Id": "64c3f212b96340aa82f273f428b35f35" + }, + { + "m_Id": "516da32a5cda43219aa085526fce499e" + }, + { + "m_Id": "f7fe81f9a01a46f4b1d2400106d5e670" + }, + { + "m_Id": "edead4231d3b49d39360ca6e292b9394" + } + ], + "m_CustomEditorGUI": "", + "m_SupportVFX": false } { @@ -6050,40 +5771,6 @@ } } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.BlockNode", - "m_ObjectId": "b69999c2c95d45b0b83f148e520eb8fb", - "m_Group": { - "m_Id": "" - }, - "m_Name": "VertexDescription.CustomInterpolator", - "m_DrawState": { - "m_Expanded": true, - "m_Position": { - "serializedVersion": "2", - "x": 0.0, - "y": 0.0, - "width": 0.0, - "height": 0.0 - } - }, - "m_Slots": [ - { - "m_Id": "c86b27c5aa114d4398b98b21c90a1c96" - } - ], - "synonyms": [], - "m_Precision": 0, - "m_PreviewExpanded": true, - "m_DismissedVersion": 0, - "m_PreviewMode": 0, - "m_CustomColors": { - "m_SerializableColors": [] - }, - "m_SerializedDescriptor": "VertexDescription.BitangentWS#3" -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.GroupData", @@ -6807,17 +6494,17 @@ { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", - "m_ObjectId": "c86b27c5aa114d4398b98b21c90a1c96", + "m_ObjectId": "c8ea522f7391425d9063b78b59cca217", "m_Id": 0, - "m_DisplayName": "BitangentWS", - "m_SlotType": 0, + "m_DisplayName": "Out", + "m_SlotType": 1, "m_Hidden": false, - "m_ShaderOutputName": "BitangentWS", - "m_StageCapability": 1, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, - "z": 0.0 + "z": 1.0 }, "m_DefaultValue": { "x": 0.0, @@ -7163,6 +6850,40 @@ } } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.TangentVectorNode", + "m_ObjectId": "d5058d799ca9462891a928a773ccdc85", + "m_Group": { + "m_Id": "003b4ef77bba4db8a2543888cf83d33c" + }, + "m_Name": "Tangent Vector", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1632.0, + "y": 514.0, + "width": 206.0, + "height": 130.5 + } + }, + "m_Slots": [ + { + "m_Id": "c8ea522f7391425d9063b78b59cca217" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_DismissedVersion": 0, + "m_PreviewMode": 2, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Space": 2 +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", @@ -7290,63 +7011,6 @@ } } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.TangentVectorNode", - "m_ObjectId": "db6cf405b16549c09ffd857c4038ed05", - "m_Group": { - "m_Id": "" - }, - "m_Name": "Tangent Vector", - "m_DrawState": { - "m_Expanded": true, - "m_Position": { - "serializedVersion": "2", - "x": 198.6667022705078, - "y": -240.66665649414063, - "width": 206.0, - "height": 130.66665649414063 - } - }, - "m_Slots": [ - { - "m_Id": "5ae0a9e6792347b2973921ff54a74f90" - } - ], - "synonyms": [], - "m_Precision": 0, - "m_PreviewExpanded": false, - "m_DismissedVersion": 0, - "m_PreviewMode": 2, - "m_CustomColors": { - "m_SerializableColors": [] - }, - "m_Space": 2 -} - -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", - "m_ObjectId": "dc114caec7614bb7bc00309d195c197a", - "m_Id": 0, - "m_DisplayName": "Out", - "m_SlotType": 1, - "m_Hidden": false, - "m_ShaderOutputName": "Out", - "m_StageCapability": 2, - "m_Value": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_DefaultValue": { - "x": 0.0, - "y": 0.0, - "z": 0.0 - }, - "m_Labels": [] -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", @@ -7582,35 +7246,20 @@ } } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", - "m_ObjectId": "eaf6f948e92f445e879302a84ef653c0", - "m_Id": 1, - "m_DisplayName": "R", - "m_SlotType": 1, - "m_Hidden": false, - "m_ShaderOutputName": "R", - "m_StageCapability": 3, - "m_Value": 0.0, - "m_DefaultValue": 0.0, - "m_Labels": [] -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", - "m_ObjectId": "ecbd9c270eb347d5ba9d0b180defce80", + "m_ObjectId": "e98e4bf9d70a4b8ead8ba8b33a81ba3f", "m_Id": 0, "m_DisplayName": "Out", "m_SlotType": 1, "m_Hidden": false, "m_ShaderOutputName": "Out", - "m_StageCapability": 2, + "m_StageCapability": 3, "m_Value": { "x": 0.0, "y": 0.0, - "z": 0.0 + "z": 1.0 }, "m_DefaultValue": { "x": 0.0, @@ -7620,6 +7269,21 @@ "m_Labels": [] } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "eaf6f948e92f445e879302a84ef653c0", + "m_Id": 1, + "m_DisplayName": "R", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "R", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [] +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData", @@ -7765,6 +7429,42 @@ "m_DefaultValue": false } +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.BitangentVectorNode", + "m_ObjectId": "f34eb7a308ae46759390c781d42bb778", + "m_Group": { + "m_Id": "003b4ef77bba4db8a2543888cf83d33c" + }, + "m_Name": "Bitangent Vector", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -1632.0, + "y": 644.5, + "width": 206.0, + "height": 130.5 + } + }, + "m_Slots": [ + { + "m_Id": "e98e4bf9d70a4b8ead8ba8b33a81ba3f" + } + ], + "synonyms": [ + "binormal" + ], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_DismissedVersion": 0, + "m_PreviewMode": 2, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Space": 2 +} + { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.SubGraphNode", @@ -7837,40 +7537,6 @@ "m_DropdownSelectedEntries": [] } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.BlockNode", - "m_ObjectId": "f467da04bb444463b72f53b3f66c0abb", - "m_Group": { - "m_Id": "" - }, - "m_Name": "VertexDescription.CustomInterpolator", - "m_DrawState": { - "m_Expanded": true, - "m_Position": { - "serializedVersion": "2", - "x": 0.0, - "y": 0.0, - "width": 0.0, - "height": 0.0 - } - }, - "m_Slots": [ - { - "m_Id": "4bc6b5a827cd40b5b41e366607c31f37" - } - ], - "synonyms": [], - "m_Precision": 0, - "m_PreviewExpanded": true, - "m_DismissedVersion": 0, - "m_PreviewMode": 0, - "m_CustomColors": { - "m_SerializableColors": [] - }, - "m_SerializedDescriptor": "VertexDescription.TangentWS#3" -} - { "m_SGVersion": 0, "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", @@ -8017,40 +7683,6 @@ "m_DefaultType": 0 } -{ - "m_SGVersion": 0, - "m_Type": "UnityEditor.ShaderGraph.BlockNode", - "m_ObjectId": "fa323d4bae5143cc9fe1800551d7a848", - "m_Group": { - "m_Id": "" - }, - "m_Name": "VertexDescription.CustomInterpolator", - "m_DrawState": { - "m_Expanded": true, - "m_Position": { - "serializedVersion": "2", - "x": 0.0, - "y": 0.0, - "width": 0.0, - "height": 0.0 - } - }, - "m_Slots": [ - { - "m_Id": "2f68a42c62aa4c978744b485cd563652" - } - ], - "synonyms": [], - "m_Precision": 0, - "m_PreviewExpanded": true, - "m_DismissedVersion": 0, - "m_PreviewMode": 0, - "m_CustomColors": { - "m_SerializableColors": [] - }, - "m_SerializedDescriptor": "VertexDescription.NormalWS#3" -} - { "m_SGVersion": 3, "m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",