UnityGame/Library/PackageCache/com.unity.shadergraph/Samples~/NodeReference/Math/MatrixConstruction.shadergraph
2024-10-27 10:53:47 +03:00

2750 lines
62 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "f198cccbc467442abc0325a776617e34",
"m_Properties": [],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "92eff720e4574470a2f0ac22044160fe"
}
],
"m_Nodes": [
{
"m_Id": "826ec29b2d924198b116e8a5cef02caf"
},
{
"m_Id": "4fed3fa288d34314a273cbe0951184a7"
},
{
"m_Id": "57f11d49911f432eb0fc28f862fae050"
},
{
"m_Id": "9ec512ea33934b97a399dab03da682e9"
},
{
"m_Id": "3a989c589d03419c9a1213194b4ca957"
},
{
"m_Id": "9ce9624b2108410184dace8b36a06f7f"
},
{
"m_Id": "c04950bcab0e4b3dafb32297135f263f"
},
{
"m_Id": "0683466fd2094639967e5b3520e4ca50"
},
{
"m_Id": "d60d81bdfe364cda8e66e7ea2d6a1d15"
},
{
"m_Id": "8e47b8d3449c40f885b8e67d01e262e7"
},
{
"m_Id": "f8bff539435646daadd59598fb20cc21"
},
{
"m_Id": "b22c82b04c544ab888673c469318c4bd"
},
{
"m_Id": "c61001c1eac34ef686d2b7db42c1e7a3"
},
{
"m_Id": "e421c9d27bac444c865676599144ec3c"
},
{
"m_Id": "322306c469fa4b5d999dacf591cb8709"
},
{
"m_Id": "4948878e512046b2a89e5c39f3540eae"
},
{
"m_Id": "131577b169d6406f98cdd993990c914b"
}
],
"m_GroupDatas": [
{
"m_Id": "d5c455c2ed7c45b1b084743a2042ac51"
},
{
"m_Id": "780a6452d0174e86aa4a12fc152f75cb"
}
],
"m_StickyNoteDatas": [
{
"m_Id": "56d5f26088914a8daf3d4ab61c543a4c"
},
{
"m_Id": "715ed007605c42b685758174b96d98e1"
},
{
"m_Id": "243dcf6a121646f5bfb68c91f085fae1"
},
{
"m_Id": "6ae22c1493b844219a6e8a627e9f20a5"
},
{
"m_Id": "e1766cee5ea148bb8808562eb5bcab26"
}
],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0683466fd2094639967e5b3520e4ca50"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "d60d81bdfe364cda8e66e7ea2d6a1d15"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0683466fd2094639967e5b3520e4ca50"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "d60d81bdfe364cda8e66e7ea2d6a1d15"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0683466fd2094639967e5b3520e4ca50"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "d60d81bdfe364cda8e66e7ea2d6a1d15"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0683466fd2094639967e5b3520e4ca50"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "d60d81bdfe364cda8e66e7ea2d6a1d15"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4948878e512046b2a89e5c39f3540eae"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "131577b169d6406f98cdd993990c914b"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "4948878e512046b2a89e5c39f3540eae"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "322306c469fa4b5d999dacf591cb8709"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b22c82b04c544ab888673c469318c4bd"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e421c9d27bac444c865676599144ec3c"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c04950bcab0e4b3dafb32297135f263f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "0683466fd2094639967e5b3520e4ca50"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c61001c1eac34ef686d2b7db42c1e7a3"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e421c9d27bac444c865676599144ec3c"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e421c9d27bac444c865676599144ec3c"
},
"m_SlotId": 5
},
"m_InputSlot": {
"m_Node": {
"m_Id": "322306c469fa4b5d999dacf591cb8709"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f8bff539435646daadd59598fb20cc21"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e421c9d27bac444c865676599144ec3c"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "826ec29b2d924198b116e8a5cef02caf"
},
{
"m_Id": "4fed3fa288d34314a273cbe0951184a7"
},
{
"m_Id": "57f11d49911f432eb0fc28f862fae050"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "9ec512ea33934b97a399dab03da682e9"
},
{
"m_Id": "3a989c589d03419c9a1213194b4ca957"
},
{
"m_Id": "9ce9624b2108410184dace8b36a06f7f"
}
]
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Shader Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": ""
},
"m_SubDatas": [],
"m_ActiveTargets": [
{
"m_Id": "449035ec90c84b39aaef1c4fd91fd3fb"
},
{
"m_Id": "624a017b5ac34150861d5b3692e08e81"
},
{
"m_Id": "214fb73219f046e8b2092454b8665b2a"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MatrixSplitNode",
"m_ObjectId": "0683466fd2094639967e5b3520e4ca50",
"m_Group": {
"m_Id": "d5c455c2ed7c45b1b084743a2042ac51"
},
"m_Name": "Matrix Split",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -827.5001220703125,
"y": 206.00001525878907,
"width": 145.0,
"height": 183.50001525878907
}
},
"m_Slots": [
{
"m_Id": "c573322d353145938ecd75efcc90feba"
},
{
"m_Id": "70704be5eff84e5894196a81727f7e20"
},
{
"m_Id": "679a9863a3dd46a59136932ac0b429e2"
},
{
"m_Id": "907a5aa081cc443b9c9939a5120758b8"
},
{
"m_Id": "faa1d938e6104d598a34f496e14d57ce"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Axis": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "08380de3801b4fbd8cfa0554aff09379",
"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": 1.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "0911e5dd8bc54e1db4528a5ada99e216",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix2MaterialSlot",
"m_ObjectId": "114c12c5027147beb8e8fa585a79f18b",
"m_Id": 6,
"m_DisplayName": "2x2",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "2x2",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "11c98c2c86cb43d0bf899047aaefa37f",
"m_Id": 6,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.TransformNode",
"m_ObjectId": "131577b169d6406f98cdd993990c914b",
"m_Group": {
"m_Id": "780a6452d0174e86aa4a12fc152f75cb"
},
"m_Name": "Transform",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -509.9999694824219,
"y": 1081.0001220703125,
"width": 212.49993896484376,
"height": 340.0
}
},
"m_Slots": [
{
"m_Id": "5535ded02f814d7cba94dcce9fa86e8f"
},
{
"m_Id": "a35c80475a3a4ed0b35907ddfdf1ab9a"
}
],
"synonyms": [
"world",
"tangent",
"object",
"view",
"screen",
"convert"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Conversion": {
"from": 3,
"to": 2
},
"m_ConversionType": 2,
"m_Normalize": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix4MaterialSlot",
"m_ObjectId": "17b95c16578a4912b1da6908e2c827c9",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
"m_ObjectId": "1a571aa1046649f59dade41a8125710b"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "1bbb1c46ce3e420dbc4dc881d4559949",
"m_Id": 3,
"m_DisplayName": "M3",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M3",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "214fb73219f046e8b2092454b8665b2a",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "cbcf61aeeab04f4083b141d9388d4732"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZTestMode": 4,
"m_ZWriteControl": 0,
"m_AlphaMode": 0,
"m_RenderFace": 2,
"m_AlphaClip": false,
"m_CastShadows": true,
"m_ReceiveShadows": true,
"m_DisableTint": false,
"m_AdditionalMotionVectorMode": 0,
"m_AlembicMotionVectors": false,
"m_SupportsLODCrossFade": false,
"m_CustomEditorGUI": "",
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "237c54493a3c4b43ae158ddd5eeb3414",
"m_Id": 0,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Normal",
"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_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "243dcf6a121646f5bfb68c91f085fae1",
"m_Title": "",
"m_Content": "In this example, we use the Matrix Construction node to create a matrix for transforming a tangent space normal map from tangent space to world space.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -750.5000610351563,
"y": 617.5000610351563,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "780a6452d0174e86aa4a12fc152f75cb"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "2c4f5693ef6848f3befd31a3b0cc906b",
"m_Id": 0,
"m_DisplayName": "M0",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M0",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "322306c469fa4b5d999dacf591cb8709",
"m_Group": {
"m_Id": "780a6452d0174e86aa4a12fc152f75cb"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -509.9999694824219,
"y": 725.5000610351563,
"width": 207.99990844726563,
"height": 302.00006103515627
}
},
"m_Slots": [
{
"m_Id": "e181894a2fbd4faa85b5e0664336ceaa"
},
{
"m_Id": "aed0d816e65649e587a775f28dc10d97"
},
{
"m_Id": "0911e5dd8bc54e1db4528a5ada99e216"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
"m_ObjectId": "35802fd69bce452b8df80a8a1178a84a",
"m_Distortion": false,
"m_DistortionMode": 0,
"m_DistortionDepthTest": true,
"m_AddPrecomputedVelocity": false,
"m_TransparentWritesMotionVec": false,
"m_DepthOffset": false,
"m_ConservativeDepthOffset": false,
"m_TransparencyFog": true,
"m_AlphaTestShadow": false,
"m_BackThenFrontRendering": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_TransparentPerPixelSorting": false,
"m_SupportLodCrossFade": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix4MaterialSlot",
"m_ObjectId": "35e13a18f34547ecb572457593b802ec",
"m_Id": 4,
"m_DisplayName": "4x4",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "4x4",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "3a989c589d03419c9a1213194b4ca957",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.Emission",
"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": "7613196b6f0649589ca7cd8cda90468c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Emission"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "402af06bb97c444cad8d0b39ed2ce846",
"m_Id": 1,
"m_DisplayName": "M1",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M1",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "431e17ca77064dffa2de5c98cf74441a",
"m_Id": 0,
"m_DisplayName": "M0",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M0",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
"m_ObjectId": "43572d0b2aa7499eb2994e8f807bf297"
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
"m_ObjectId": "449035ec90c84b39aaef1c4fd91fd3fb",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "1a571aa1046649f59dade41a8125710b"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZWriteControl": 0,
"m_ZTestMode": 4,
"m_AlphaMode": 0,
"m_RenderFace": 2,
"m_AlphaClip": false,
"m_CustomEditorGUI": ""
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
"m_ObjectId": "4948878e512046b2a89e5c39f3540eae",
"m_Group": {
"m_Id": "780a6452d0174e86aa4a12fc152f75cb"
},
"m_Name": "Sample Texture 2D",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -1025.0,
"y": 1081.0001220703125,
"width": 208.00006103515626,
"height": 338.0
}
},
"m_Slots": [
{
"m_Id": "bdfe43ece37f40e2bf29fb5f657d0f7a"
},
{
"m_Id": "d8f4eb497b854877b83c2860e0ce6008"
},
{
"m_Id": "816cdd8718d6415bafb73752260278c8"
},
{
"m_Id": "11c98c2c86cb43d0bf899047aaefa37f"
},
{
"m_Id": "b3297e5fc75d43f6ac02b5197f9f579c"
},
{
"m_Id": "90c4d85af3a445f1ae771a3166ed4019"
},
{
"m_Id": "b6fb1263e3724b93ae7831a83f3a36b9"
},
{
"m_Id": "e8ce95ca1cea4966863d789633a5d999"
}
],
"synonyms": [
"tex2d"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 1,
"m_NormalMapSpace": 0,
"m_EnableGlobalMipBias": true,
"m_MipSamplingMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "4fed3fa288d34314a273cbe0951184a7",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Normal",
"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": "237c54493a3c4b43ae158ddd5eeb3414"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Normal"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "50c745006cb4440c9fb4ea4eda6b2e3a",
"m_Id": 0,
"m_DisplayName": "M0",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M0",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix2MaterialSlot",
"m_ObjectId": "5264ec6d7226409093419f866384c54b",
"m_Id": 6,
"m_DisplayName": "2x2",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "2x2",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "5535ded02f814d7cba94dcce9fa86e8f",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"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.StickyNoteData",
"m_ObjectId": "56d5f26088914a8daf3d4ab61c543a4c",
"m_Title": "Matrix Contruction Node",
"m_Content": "The Matrix Contruction node allows you to create a matrix from seperate values that represent rows or columns \n\nWhen the dropdown is set to Row, the input ports represent the rows of the matrix. When it's set to Column, the ports represent the columns of the matrix.\n\nYou can choose the data type of your resulting matrix by using the 4x4, 3x3, or 2x2 output ports.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -566.5000610351563,
"y": -83.00000762939453,
"width": 253.00003051757813,
"height": 208.85003662109376
},
"m_Group": {
"m_Id": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "57f11d49911f432eb0fc28f862fae050",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Tangent",
"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": "9585422b95c14fbaab64e691cc156d44"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Tangent"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
"m_ObjectId": "624a017b5ac34150861d5b3692e08e81",
"m_ActiveSubTarget": {
"m_Id": "43572d0b2aa7499eb2994e8f807bf297"
},
"m_Datas": [
{
"m_Id": "35802fd69bce452b8df80a8a1178a84a"
},
{
"m_Id": "75122a5835654e9db66377204c42f045"
},
{
"m_Id": "70d6cffc555a4e80acd042cfe85e2af2"
}
],
"m_CustomEditorGUI": "",
"m_SupportVFX": false,
"m_SupportLineRendering": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "679a9863a3dd46a59136932ac0b429e2",
"m_Id": 2,
"m_DisplayName": "M1",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "M1",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "6ae22c1493b844219a6e8a627e9f20a5",
"m_Title": "",
"m_Content": "Multiplying a vector by a matrix transforms the vector using the matrix's data.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -749.5000610351563,
"y": 894.5000610351563,
"width": 200.0,
"height": 100.00006103515625
},
"m_Group": {
"m_Id": "780a6452d0174e86aa4a12fc152f75cb"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "6d208953319a4edc910b077313eed05f",
"m_Id": 3,
"m_DisplayName": "M3",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M3",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "70704be5eff84e5894196a81727f7e20",
"m_Id": 1,
"m_DisplayName": "M0",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "M0",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
"m_ObjectId": "70d6cffc555a4e80acd042cfe85e2af2",
"m_EnableShadowMatte": false,
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "715ed007605c42b685758174b96d98e1",
"m_Title": "",
"m_Content": "In this example, we bring in a matrix using the Transformation Matrix node, split it into rows using the Matrix Split node, and then join the rows back together using the Matrix Construction node.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -672.0000610351563,
"y": 400.5000305175781,
"width": 200.00003051757813,
"height": 115.00003051757813
},
"m_Group": {
"m_Id": "d5c455c2ed7c45b1b084743a2042ac51"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
"m_ObjectId": "75122a5835654e9db66377204c42f045",
"m_MaterialNeedsUpdateHash": 0,
"m_SurfaceType": 0,
"m_RenderingPass": 1,
"m_BlendMode": 0,
"m_ZTest": 4,
"m_ZWrite": false,
"m_TransparentCullMode": 2,
"m_OpaqueCullMode": 2,
"m_SortPriority": 0,
"m_AlphaTest": false,
"m_TransparentDepthPrepass": false,
"m_TransparentDepthPostpass": false,
"m_SupportLodCrossFade": false,
"m_DoubleSidedMode": 0,
"m_DOTSInstancing": false,
"m_CustomVelocity": false,
"m_Tessellation": false,
"m_TessellationMode": 0,
"m_TessellationFactorMinDistance": 20.0,
"m_TessellationFactorMaxDistance": 50.0,
"m_TessellationFactorTriangleSize": 100.0,
"m_TessellationShapeFactor": 0.75,
"m_TessellationBackFaceCullEpsilon": -0.25,
"m_TessellationMaxDisplacement": 0.009999999776482582,
"m_DebugSymbols": false,
"m_Version": 2,
"inspectorFoldoutMask": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "7613196b6f0649589ca7cd8cda90468c",
"m_Id": 0,
"m_DisplayName": "Emission",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Emission",
"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_ColorMode": 1,
"m_DefaultColor": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "780a6452d0174e86aa4a12fc152f75cb",
"m_Title": "Tangent to World Space Transformation",
"m_Position": {
"x": -1050.0,
"y": 559.0000610351563
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "7b84445185e0473fb68af54035f6c6ec",
"m_Id": 2,
"m_DisplayName": "M2",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M2",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix3MaterialSlot",
"m_ObjectId": "80360696f0f24c71a3203b7f2213738a",
"m_Id": 5,
"m_DisplayName": "3x3",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "3x3",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "816cdd8718d6415bafb73752260278c8",
"m_Id": 5,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "81e5efddabef4bd99533342769aad486",
"m_Id": 2,
"m_DisplayName": "M2",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M2",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "826ec29b2d924198b116e8a5cef02caf",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Position",
"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": "c3f0b01775f149d4991841b951ecc723"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Position"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "8c16258e164e40e59c65875030d150fa",
"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": 1.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix2MaterialSlot",
"m_ObjectId": "8d4cfa01b0d745489db61492ae41dc70",
"m_Id": 6,
"m_DisplayName": "2x2",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "2x2",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MatrixConstructionNode",
"m_ObjectId": "8e47b8d3449c40f885b8e67d01e262e7",
"m_Group": {
"m_Id": ""
},
"m_Name": "Matrix Construction",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -754.0000610351563,
"y": -71.00001525878906,
"width": 158.5,
"height": 183.50003051757813
}
},
"m_Slots": [
{
"m_Id": "50c745006cb4440c9fb4ea4eda6b2e3a"
},
{
"m_Id": "b31df2626f4b4746aab9ba4016f994f1"
},
{
"m_Id": "ecabd898fa9e4f39b68b370d120a126b"
},
{
"m_Id": "1bbb1c46ce3e420dbc4dc881d4559949"
},
{
"m_Id": "e2cbac04cfdc4fe7a6e590fd52b79161"
},
{
"m_Id": "94541fe0343c4cde88a52e061270e04c"
},
{
"m_Id": "114c12c5027147beb8e8fa585a79f18b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Axis": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "8f5cabe8582f468e9c14e6d52839729e",
"m_Id": 1,
"m_DisplayName": "M1",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M1",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "907a5aa081cc443b9c9939a5120758b8",
"m_Id": 3,
"m_DisplayName": "M2",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "M2",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "90c4d85af3a445f1ae771a3166ed4019",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"d7aa8e05f3b6118478e7caf71b9232c2\",\"type\":3}}",
"m_Guid": ""
},
"m_DefaultType": 3
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "92eff720e4574470a2f0ac22044160fe",
"m_Name": "",
"m_ChildObjectList": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix3MaterialSlot",
"m_ObjectId": "94541fe0343c4cde88a52e061270e04c",
"m_Id": 5,
"m_DisplayName": "3x3",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "3x3",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "9585422b95c14fbaab64e691cc156d44",
"m_Id": 0,
"m_DisplayName": "Tangent",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Tangent",
"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_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "9ce9624b2108410184dace8b36a06f7f",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.Alpha",
"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": "fdf88a550a93454397091f08c2b7c3e3"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "9ec512ea33934b97a399dab03da682e9",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.BaseColor",
"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": "cc497e12261a440890306803bdf5b4db"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "a35c80475a3a4ed0b35907ddfdf1ab9a",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"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.DynamicValueMaterialSlot",
"m_ObjectId": "aed0d816e65649e587a775f28dc10d97",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 2.0,
"e01": 2.0,
"e02": 2.0,
"e03": 2.0,
"e10": 2.0,
"e11": 2.0,
"e12": 2.0,
"e13": 2.0,
"e20": 2.0,
"e21": 2.0,
"e22": 2.0,
"e23": 2.0,
"e30": 2.0,
"e31": 2.0,
"e32": 2.0,
"e33": 2.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix3MaterialSlot",
"m_ObjectId": "b003a0e2151c4f099ac780cb6f5c6e04",
"m_Id": 5,
"m_DisplayName": "3x3",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "3x3",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BitangentVectorNode",
"m_ObjectId": "b22c82b04c544ab888673c469318c4bd",
"m_Group": {
"m_Id": "780a6452d0174e86aa4a12fc152f75cb"
},
"m_Name": "Bitangent Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1025.0,
"y": 749.0000610351563,
"width": 206.00006103515626,
"height": 130.5
}
},
"m_Slots": [
{
"m_Id": "08380de3801b4fbd8cfa0554aff09379"
}
],
"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.Vector4MaterialSlot",
"m_ObjectId": "b31df2626f4b4746aab9ba4016f994f1",
"m_Id": 1,
"m_DisplayName": "M1",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M1",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "b3297e5fc75d43f6ac02b5197f9f579c",
"m_Id": 7,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "b6fb1263e3724b93ae7831a83f3a36b9",
"m_Id": 2,
"m_DisplayName": "UV",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UV",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [],
"m_Channel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "bdfe43ece37f40e2bf29fb5f657d0f7a",
"m_Id": 0,
"m_DisplayName": "RGBA",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "RGBA",
"m_StageCapability": 2,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TransformationMatrixNode",
"m_ObjectId": "c04950bcab0e4b3dafb32297135f263f",
"m_Group": {
"m_Id": "d5c455c2ed7c45b1b084743a2042ac51"
},
"m_Name": "Transformation Matrix",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1023.5001220703125,
"y": 206.50003051757813,
"width": 171.00006103515626,
"height": 111.5
}
},
"m_Slots": [
{
"m_Id": "17b95c16578a4912b1da6908e2c827c9"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_matrix": -1,
"m_MatrixType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "c3f0b01775f149d4991841b951ecc723",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Position",
"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_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicMatrixMaterialSlot",
"m_ObjectId": "c573322d353145938ecd75efcc90feba",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalVectorNode",
"m_ObjectId": "c61001c1eac34ef686d2b7db42c1e7a3",
"m_Group": {
"m_Id": "780a6452d0174e86aa4a12fc152f75cb"
},
"m_Name": "Normal Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1025.0,
"y": 879.5000610351563,
"width": 206.00006103515626,
"height": 130.50006103515626
}
},
"m_Slots": [
{
"m_Id": "d7f6b3ba8c2145efbe41e7fab576aeb2"
}
],
"synonyms": [
"surface direction"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 2
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "cbcf61aeeab04f4083b141d9388d4732"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "cc497e12261a440890306803bdf5b4db",
"m_Id": 0,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BaseColor",
"m_StageCapability": 2,
"m_Value": {
"x": 0.5,
"y": 0.5,
"z": 0.5
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_ColorMode": 0,
"m_DefaultColor": {
"r": 0.5,
"g": 0.5,
"b": 0.5,
"a": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "d321a7cf26ce42288bbee43657b39108",
"m_Id": 3,
"m_DisplayName": "M3",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M3",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
"m_ObjectId": "d5c455c2ed7c45b1b084743a2042ac51",
"m_Title": "The Basics",
"m_Position": {
"x": -1048.500244140625,
"y": 147.50003051757813
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MatrixConstructionNode",
"m_ObjectId": "d60d81bdfe364cda8e66e7ea2d6a1d15",
"m_Group": {
"m_Id": "d5c455c2ed7c45b1b084743a2042ac51"
},
"m_Name": "Matrix Construction",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -462.00006103515627,
"y": 206.50003051757813,
"width": 158.5,
"height": 183.50003051757813
}
},
"m_Slots": [
{
"m_Id": "431e17ca77064dffa2de5c98cf74441a"
},
{
"m_Id": "402af06bb97c444cad8d0b39ed2ce846"
},
{
"m_Id": "81e5efddabef4bd99533342769aad486"
},
{
"m_Id": "d321a7cf26ce42288bbee43657b39108"
},
{
"m_Id": "ddb7d0fdae03416fbe5ae1780d874cf9"
},
{
"m_Id": "80360696f0f24c71a3203b7f2213738a"
},
{
"m_Id": "5264ec6d7226409093419f866384c54b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Axis": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "d7f6b3ba8c2145efbe41e7fab576aeb2",
"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": 1.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d8f4eb497b854877b83c2860e0ce6008",
"m_Id": 4,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix4MaterialSlot",
"m_ObjectId": "ddb7d0fdae03416fbe5ae1780d874cf9",
"m_Id": 4,
"m_DisplayName": "4x4",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "4x4",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
"m_ObjectId": "e1766cee5ea148bb8808562eb5bcab26",
"m_Title": "",
"m_Content": "Notice that the result is the same as if we had used the Transform node to do the same task.",
"m_TextSize": 0,
"m_Theme": 0,
"m_Position": {
"serializedVersion": "2",
"x": -751.0000610351563,
"y": 1164.5001220703125,
"width": 200.0,
"height": 100.0
},
"m_Group": {
"m_Id": "780a6452d0174e86aa4a12fc152f75cb"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "e181894a2fbd4faa85b5e0664336ceaa",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix4MaterialSlot",
"m_ObjectId": "e2cbac04cfdc4fe7a6e590fd52b79161",
"m_Id": 4,
"m_DisplayName": "4x4",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "4x4",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MatrixConstructionNode",
"m_ObjectId": "e421c9d27bac444c865676599144ec3c",
"m_Group": {
"m_Id": "780a6452d0174e86aa4a12fc152f75cb"
},
"m_Name": "Matrix Construction",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -767.4999389648438,
"y": 725.5000610351563,
"width": 158.49993896484376,
"height": 159.5
}
},
"m_Slots": [
{
"m_Id": "2c4f5693ef6848f3befd31a3b0cc906b"
},
{
"m_Id": "8f5cabe8582f468e9c14e6d52839729e"
},
{
"m_Id": "7b84445185e0473fb68af54035f6c6ec"
},
{
"m_Id": "6d208953319a4edc910b077313eed05f"
},
{
"m_Id": "35e13a18f34547ecb572457593b802ec"
},
{
"m_Id": "b003a0e2151c4f099ac780cb6f5c6e04"
},
{
"m_Id": "8d4cfa01b0d745489db61492ae41dc70"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Axis": 1
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "e8ce95ca1cea4966863d789633a5d999",
"m_Id": 3,
"m_DisplayName": "Sampler",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Sampler",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "ecabd898fa9e4f39b68b370d120a126b",
"m_Id": 2,
"m_DisplayName": "M2",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "M2",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentVectorNode",
"m_ObjectId": "f8bff539435646daadd59598fb20cc21",
"m_Group": {
"m_Id": "780a6452d0174e86aa4a12fc152f75cb"
},
"m_Name": "Tangent Vector",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1025.0,
"y": 618.5000610351563,
"width": 206.00006103515626,
"height": 130.5
}
},
"m_Slots": [
{
"m_Id": "8c16258e164e40e59c65875030d150fa"
}
],
"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",
"m_ObjectId": "faa1d938e6104d598a34f496e14d57ce",
"m_Id": 4,
"m_DisplayName": "M3",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "M3",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "fdf88a550a93454397091f08c2b7c3e3",
"m_Id": 0,
"m_DisplayName": "Alpha",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Alpha",
"m_StageCapability": 2,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}