1940 lines
45 KiB
Plaintext
1940 lines
45 KiB
Plaintext
{
|
|
"m_SGVersion": 3,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "a3d0d9dc98e1440c9be1af80ba3de353",
|
|
"m_Properties": [],
|
|
"m_Keywords": [],
|
|
"m_Dropdowns": [],
|
|
"m_CategoryData": [
|
|
{
|
|
"m_Id": "f8dc009cf2794cb9aca04cdbbec1ae34"
|
|
}
|
|
],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "c91813c6e7ad4d92b636e705778df3d9"
|
|
},
|
|
{
|
|
"m_Id": "b170936f2bfc4aca9e19433dcd65627a"
|
|
},
|
|
{
|
|
"m_Id": "63afd6cb81054ab6a571bd1230fcd847"
|
|
},
|
|
{
|
|
"m_Id": "247b73c71b254a0da1763fb5df2c123d"
|
|
},
|
|
{
|
|
"m_Id": "673abe0f2d38422482a62b57e45313be"
|
|
},
|
|
{
|
|
"m_Id": "cf359eeb149f425aa0c82af264e47068"
|
|
},
|
|
{
|
|
"m_Id": "4409f2383dd44e33a2ca6065194f7370"
|
|
},
|
|
{
|
|
"m_Id": "2332e4085c8941a8858f099ea7d5cead"
|
|
},
|
|
{
|
|
"m_Id": "f9171a6585474c8b9078ae0c7e64720b"
|
|
},
|
|
{
|
|
"m_Id": "9b2a6314cfaf4175a922d16aaf520320"
|
|
},
|
|
{
|
|
"m_Id": "2bb78a2a48764d79b1852210093f987c"
|
|
},
|
|
{
|
|
"m_Id": "3133848b875445fc88f37540842c4774"
|
|
},
|
|
{
|
|
"m_Id": "0f9489ef9e774343bc360d12b25596ac"
|
|
},
|
|
{
|
|
"m_Id": "6b94ea0a479b45a5b44f1eaf0a90c441"
|
|
}
|
|
],
|
|
"m_GroupDatas": [
|
|
{
|
|
"m_Id": "eba729cf403f4263b8f09e0582c6111f"
|
|
},
|
|
{
|
|
"m_Id": "5d8788aeddb74ef6b4975c5eafd736b8"
|
|
}
|
|
],
|
|
"m_StickyNoteDatas": [
|
|
{
|
|
"m_Id": "09b5e32282444d128f73c39f329bc243"
|
|
},
|
|
{
|
|
"m_Id": "f5dc90cf78d44d3a9f5dddd1c0a5122e"
|
|
},
|
|
{
|
|
"m_Id": "14db7911eb5545109a1d9f4d50f6f23d"
|
|
},
|
|
{
|
|
"m_Id": "5893ceee041c4c5cb727e4fa612abed1"
|
|
},
|
|
{
|
|
"m_Id": "927e335b24494d16bedec6f24ad776b3"
|
|
},
|
|
{
|
|
"m_Id": "52262e5336504d36b1d8e0537cb4e6ec"
|
|
},
|
|
{
|
|
"m_Id": "672f4fe471494927b24077b193ca8e06"
|
|
}
|
|
],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2332e4085c8941a8858f099ea7d5cead"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "9b2a6314cfaf4175a922d16aaf520320"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "3133848b875445fc88f37540842c4774"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2bb78a2a48764d79b1852210093f987c"
|
|
},
|
|
"m_SlotId": 2
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "4409f2383dd44e33a2ca6065194f7370"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "cf359eeb149f425aa0c82af264e47068"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "9b2a6314cfaf4175a922d16aaf520320"
|
|
},
|
|
"m_SlotId": 2
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2bb78a2a48764d79b1852210093f987c"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "f9171a6585474c8b9078ae0c7e64720b"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "2bb78a2a48764d79b1852210093f987c"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "f9171a6585474c8b9078ae0c7e64720b"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "9b2a6314cfaf4175a922d16aaf520320"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
}
|
|
],
|
|
"m_VertexContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Blocks": [
|
|
{
|
|
"m_Id": "c91813c6e7ad4d92b636e705778df3d9"
|
|
},
|
|
{
|
|
"m_Id": "b170936f2bfc4aca9e19433dcd65627a"
|
|
},
|
|
{
|
|
"m_Id": "63afd6cb81054ab6a571bd1230fcd847"
|
|
}
|
|
]
|
|
},
|
|
"m_FragmentContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 200.0
|
|
},
|
|
"m_Blocks": [
|
|
{
|
|
"m_Id": "247b73c71b254a0da1763fb5df2c123d"
|
|
},
|
|
{
|
|
"m_Id": "0f9489ef9e774343bc360d12b25596ac"
|
|
},
|
|
{
|
|
"m_Id": "6b94ea0a479b45a5b44f1eaf0a90c441"
|
|
}
|
|
]
|
|
},
|
|
"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": "179cc2ab147c43848701d024af983122"
|
|
},
|
|
{
|
|
"m_Id": "3e14598030704f659726ecfd32339b47"
|
|
},
|
|
{
|
|
"m_Id": "cdc2199717ab4a52ad38f60eb452e24f"
|
|
}
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "0069545ed1f04c09aa0be914649efd98",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Saturation",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Saturation",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.5,
|
|
"m_DefaultValue": 1.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "00b91dd79d3f40d484895dd0539c81e0",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "A",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "A",
|
|
"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": "09b5e32282444d128f73c39f329bc243",
|
|
"m_Title": "Saturation Node",
|
|
"m_Content": "The Saturation Node adjusts the intensity of the In color. When the Saturation input is greater than one, the intensity of the In color is increased. When it's less than one, it's descreased.\n\nWith a Saturation value of 0, the image becomes black and white.",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -762.5000610351563,
|
|
"y": -100.00000762939453,
|
|
"width": 252.00003051757813,
|
|
"height": 147.93789672851563
|
|
},
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "0d5067ffdd5d4326bca785721ee8f4af",
|
|
"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": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "0d640792cd384a7ab9162c26d5960691",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "X",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "X",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.5,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "0f9489ef9e774343bc360d12b25596ac",
|
|
"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": "5e43740d943f4244a621fa27f80822b7"
|
|
}
|
|
],
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "1083fef99b6548b4ac615a4b83c6f92e",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
|
|
"m_ObjectId": "14db7911eb5545109a1d9f4d50f6f23d",
|
|
"m_Title": "",
|
|
"m_Content": "Saturation",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -526.5000610351563,
|
|
"y": 768.5000610351563,
|
|
"width": 80.00003051757813,
|
|
"height": 100.0
|
|
},
|
|
"m_Group": {
|
|
"m_Id": "5d8788aeddb74ef6b4975c5eafd736b8"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 2,
|
|
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
|
|
"m_ObjectId": "179cc2ab147c43848701d024af983122",
|
|
"m_Datas": [],
|
|
"m_ActiveSubTarget": {
|
|
"m_Id": "a8ab80d4e0bd4daabd25bdad61cf51ee"
|
|
},
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "21e07125e6b8446584ade04a76831c63",
|
|
"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.Vector3Node",
|
|
"m_ObjectId": "2332e4085c8941a8858f099ea7d5cead",
|
|
"m_Group": {
|
|
"m_Id": "5d8788aeddb74ef6b4975c5eafd736b8"
|
|
},
|
|
"m_Name": "Vector 3",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -754.0000610351563,
|
|
"y": 280.0000305175781,
|
|
"width": 127.49993896484375,
|
|
"height": 124.99996948242188
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "9281fa8a213d48f7998fd2dd1d43095f"
|
|
},
|
|
{
|
|
"m_Id": "356321123b3d42c8acaa0f68bbd90417"
|
|
},
|
|
{
|
|
"m_Id": "3ea800d8aadf44498df1e80dd55fd885"
|
|
},
|
|
{
|
|
"m_Id": "7fa87035fef04ac7b8ca8d2c55437488"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"3",
|
|
"v3",
|
|
"vec3",
|
|
"float3"
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "233b27c44eb343068604e321ba031c83",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "T",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "T",
|
|
"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.BlockNode",
|
|
"m_ObjectId": "247b73c71b254a0da1763fb5df2c123d",
|
|
"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": "f8c374bf3be6477cbe1861eab92b22ab"
|
|
}
|
|
],
|
|
"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.Rendering.HighDefinition.ShaderGraph.BuiltinData",
|
|
"m_ObjectId": "2b003851667d44ffbc0d45e212bf3f7d",
|
|
"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.LerpNode",
|
|
"m_ObjectId": "2bb78a2a48764d79b1852210093f987c",
|
|
"m_Group": {
|
|
"m_Id": "5d8788aeddb74ef6b4975c5eafd736b8"
|
|
},
|
|
"m_Name": "Lerp",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -361.0,
|
|
"y": 377.4999694824219,
|
|
"width": 208.00001525878907,
|
|
"height": 326.0000915527344
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "00b91dd79d3f40d484895dd0539c81e0"
|
|
},
|
|
{
|
|
"m_Id": "e868bbf56e414d13aa0f047497bc62ff"
|
|
},
|
|
{
|
|
"m_Id": "233b27c44eb343068604e321ba031c83"
|
|
},
|
|
{
|
|
"m_Id": "2d8318895173458c92217fa2c4450e9d"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"mix",
|
|
"blend",
|
|
"linear interpolate"
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "2d8318895173458c92217fa2c4450e9d",
|
|
"m_Id": 3,
|
|
"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,
|
|
"w": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
|
|
"m_ObjectId": "300ef3d854a64f1db9081389fd5cae4d",
|
|
"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.Vector1Node",
|
|
"m_ObjectId": "3133848b875445fc88f37540842c4774",
|
|
"m_Group": {
|
|
"m_Id": "5d8788aeddb74ef6b4975c5eafd736b8"
|
|
},
|
|
"m_Name": "Float",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -541.0000610351563,
|
|
"y": 690.5000610351563,
|
|
"width": 125.5,
|
|
"height": 76.99993896484375
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "0d640792cd384a7ab9162c26d5960691"
|
|
},
|
|
{
|
|
"m_Id": "1083fef99b6548b4ac615a4b83c6f92e"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"Vector 1",
|
|
"1",
|
|
"v1",
|
|
"vec1",
|
|
"scalar"
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Value": 0.0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "356321123b3d42c8acaa0f68bbd90417",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "Y",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Y",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.7151522040367127,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": [
|
|
"Y"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
|
|
"m_ObjectId": "36f84256733946508e90fe5bc73f7731",
|
|
"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.Texture2DInputMaterialSlot",
|
|
"m_ObjectId": "37b547da8285470aaf8fb2d1feb802bf",
|
|
"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\":\"ade6c320c9b59a94d9bb43c5a437e2ef\",\"type\":3}}",
|
|
"m_Guid": ""
|
|
},
|
|
"m_DefaultType": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
|
|
"m_ObjectId": "3e14598030704f659726ecfd32339b47",
|
|
"m_ActiveSubTarget": {
|
|
"m_Id": "9b7fbec981de41f1affb6304973253f8"
|
|
},
|
|
"m_Datas": [
|
|
{
|
|
"m_Id": "2b003851667d44ffbc0d45e212bf3f7d"
|
|
},
|
|
{
|
|
"m_Id": "71d07956380f436aacb8d8385ae6dda9"
|
|
},
|
|
{
|
|
"m_Id": "87f0fd815ed84985b02abd0a8a4006f6"
|
|
}
|
|
],
|
|
"m_CustomEditorGUI": "",
|
|
"m_SupportVFX": false,
|
|
"m_SupportLineRendering": false
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "3ea800d8aadf44498df1e80dd55fd885",
|
|
"m_Id": 3,
|
|
"m_DisplayName": "Z",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Z",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.07217500358819962,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": [
|
|
"Z"
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
|
|
"m_ObjectId": "4409f2383dd44e33a2ca6065194f7370",
|
|
"m_Group": {
|
|
"m_Id": "eba729cf403f4263b8f09e0582c6111f"
|
|
},
|
|
"m_Name": "Sample Texture 2D",
|
|
"m_DrawState": {
|
|
"m_Expanded": false,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -1390.5001220703125,
|
|
"y": 122.50001525878906,
|
|
"width": 208.0,
|
|
"height": 337.99993896484377
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "36f84256733946508e90fe5bc73f7731"
|
|
},
|
|
{
|
|
"m_Id": "5084a273458941dbade90fc1b5998529"
|
|
},
|
|
{
|
|
"m_Id": "a869bb7a61654846825ed8d5ec649bd3"
|
|
},
|
|
{
|
|
"m_Id": "0d5067ffdd5d4326bca785721ee8f4af"
|
|
},
|
|
{
|
|
"m_Id": "44a8731fd34a45f4a5cf27458c26f7c2"
|
|
},
|
|
{
|
|
"m_Id": "37b547da8285470aaf8fb2d1feb802bf"
|
|
},
|
|
{
|
|
"m_Id": "6c9f6f6971774d84ba62d5d458a088ab"
|
|
},
|
|
{
|
|
"m_Id": "b8fa65554f884d5880b7c65a6f1764e7"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"tex2d"
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_TextureType": 0,
|
|
"m_NormalMapSpace": 0,
|
|
"m_EnableGlobalMipBias": true,
|
|
"m_MipSamplingMode": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "44a8731fd34a45f4a5cf27458c26f7c2",
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "4c8f90dee4bf418183ac6e91f505c431",
|
|
"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.PositionMaterialSlot",
|
|
"m_ObjectId": "4e9450fcee9c42f4b976a04af8b04ac8",
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "5084a273458941dbade90fc1b5998529",
|
|
"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.Vector4MaterialSlot",
|
|
"m_ObjectId": "51da2e5f7eb44aecab476c5b9c217e3e",
|
|
"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.StickyNoteData",
|
|
"m_ObjectId": "52262e5336504d36b1d8e0537cb4e6ec",
|
|
"m_Title": "",
|
|
"m_Content": "Here we blend between the grayscale version and the original version using the Saturation as the T value.",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -357.5000305175781,
|
|
"y": 268.0000305175781,
|
|
"width": 200.00001525878907,
|
|
"height": 100.0
|
|
},
|
|
"m_Group": {
|
|
"m_Id": "5d8788aeddb74ef6b4975c5eafd736b8"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
|
|
"m_ObjectId": "5893ceee041c4c5cb727e4fa612abed1",
|
|
"m_Title": "",
|
|
"m_Content": "This value represents the RGB perceptual weights of the REC709 color space",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -762.0000610351563,
|
|
"y": 183.00001525878907,
|
|
"width": 129.0,
|
|
"height": 100.00001525878906
|
|
},
|
|
"m_Group": {
|
|
"m_Id": "5d8788aeddb74ef6b4975c5eafd736b8"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "59b0471b157e470480151f3de3d4ab08",
|
|
"m_Id": 2,
|
|
"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.GroupData",
|
|
"m_ObjectId": "5d8788aeddb74ef6b4975c5eafd736b8",
|
|
"m_Title": "Under The Hood",
|
|
"m_Position": {
|
|
"x": -859.5000610351563,
|
|
"y": 65.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
|
|
"m_ObjectId": "5e43740d943f4244a621fa27f80822b7",
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "60dc158390d248be98cd50c4901faea5",
|
|
"m_Id": 2,
|
|
"m_DisplayName": "Out",
|
|
"m_SlotType": 1,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Out",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.0,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "6288d00692b84d59a8767e3b2af155b6",
|
|
"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": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "63afd6cb81054ab6a571bd1230fcd847",
|
|
"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": "fb3757d15883492ab4fb6ea174efc679"
|
|
}
|
|
],
|
|
"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.ShaderGraph.UVMaterialSlot",
|
|
"m_ObjectId": "64413608274e47b98e2c3f74afc50a1c",
|
|
"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.StickyNoteData",
|
|
"m_ObjectId": "672f4fe471494927b24077b193ca8e06",
|
|
"m_Title": "",
|
|
"m_Content": "This is the math that the Saturation node performs.",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -361.0000305175781,
|
|
"y": 123.50001525878906,
|
|
"width": 200.00001525878907,
|
|
"height": 58.60002136230469
|
|
},
|
|
"m_Group": {
|
|
"m_Id": "5d8788aeddb74ef6b4975c5eafd736b8"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SaturationNode",
|
|
"m_ObjectId": "673abe0f2d38422482a62b57e45313be",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Saturation",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -939.0000610351563,
|
|
"y": -103.5,
|
|
"width": 174.0,
|
|
"height": 118.0000228881836
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "99247a97c897402fb285778f5650ad28"
|
|
},
|
|
{
|
|
"m_Id": "a2d5355659734f8ba2c39b87679361bd"
|
|
},
|
|
{
|
|
"m_Id": "6bce34bffdbb4d82b1862ad757ce0e19"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "6b94ea0a479b45a5b44f1eaf0a90c441",
|
|
"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": "6288d00692b84d59a8767e3b2af155b6"
|
|
}
|
|
],
|
|
"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.Vector3MaterialSlot",
|
|
"m_ObjectId": "6bce34bffdbb4d82b1862ad757ce0e19",
|
|
"m_Id": 2,
|
|
"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.UVMaterialSlot",
|
|
"m_ObjectId": "6c9f6f6971774d84ba62d5d458a088ab",
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "6e8bbce76a714570b94ade80d5f67489",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "A",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "A",
|
|
"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.SystemData",
|
|
"m_ObjectId": "71d07956380f436aacb8d8385ae6dda9",
|
|
"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.Vector3MaterialSlot",
|
|
"m_ObjectId": "7fa87035fef04ac7b8ca8d2c55437488",
|
|
"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": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0
|
|
},
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
|
|
"m_ObjectId": "87f0fd815ed84985b02abd0a8a4006f6",
|
|
"m_EnableShadowMatte": false,
|
|
"m_DistortionOnly": false
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "8e24204e5afe400a9fc415399e401e22",
|
|
"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.Texture2DInputMaterialSlot",
|
|
"m_ObjectId": "92533c4e28a741b899987c6e0c2eb792",
|
|
"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\":\"ade6c320c9b59a94d9bb43c5a437e2ef\",\"type\":3}}",
|
|
"m_Guid": ""
|
|
},
|
|
"m_DefaultType": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
|
|
"m_ObjectId": "927e335b24494d16bedec6f24ad776b3",
|
|
"m_Title": "",
|
|
"m_Content": "We've converted color to grayscale using a dot product with the perceptual weights.",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -603.0000610351563,
|
|
"y": 228.00003051757813,
|
|
"width": 200.00003051757813,
|
|
"height": 100.0
|
|
},
|
|
"m_Group": {
|
|
"m_Id": "5d8788aeddb74ef6b4975c5eafd736b8"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "9281fa8a213d48f7998fd2dd1d43095f",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "X",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "X",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.2126729041337967,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "9365903a837e4fe6b427ad7e8761c57c",
|
|
"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": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
"m_ObjectId": "99247a97c897402fb285778f5650ad28",
|
|
"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.DotProductNode",
|
|
"m_ObjectId": "9b2a6314cfaf4175a922d16aaf520320",
|
|
"m_Group": {
|
|
"m_Id": "5d8788aeddb74ef6b4975c5eafd736b8"
|
|
},
|
|
"m_Name": "Dot Product",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -600.5000610351563,
|
|
"y": 331.50006103515627,
|
|
"width": 208.0,
|
|
"height": 302.00006103515627
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "6e8bbce76a714570b94ade80d5f67489"
|
|
},
|
|
{
|
|
"m_Id": "d46f19dd747d43749819f3a2e849ab0c"
|
|
},
|
|
{
|
|
"m_Id": "60dc158390d248be98cd50c4901faea5"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"scalar product"
|
|
],
|
|
"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.HDUnlitSubTarget",
|
|
"m_ObjectId": "9b7fbec981de41f1affb6304973253f8"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "a2d5355659734f8ba2c39b87679361bd",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "Saturation",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Saturation",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 300.0,
|
|
"m_DefaultValue": 1.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "a869bb7a61654846825ed8d5ec649bd3",
|
|
"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.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
|
|
"m_ObjectId": "a8ab80d4e0bd4daabd25bdad61cf51ee"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "b170936f2bfc4aca9e19433dcd65627a",
|
|
"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": "300ef3d854a64f1db9081389fd5cae4d"
|
|
}
|
|
],
|
|
"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.SamplerStateMaterialSlot",
|
|
"m_ObjectId": "b8fa65554f884d5880b7c65a6f1764e7",
|
|
"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.BlockNode",
|
|
"m_ObjectId": "c91813c6e7ad4d92b636e705778df3d9",
|
|
"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": "4e9450fcee9c42f4b976a04af8b04ac8"
|
|
}
|
|
],
|
|
"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.SamplerStateMaterialSlot",
|
|
"m_ObjectId": "cc520ee8bc1048dfb55ec43ab594dec7",
|
|
"m_Id": 3,
|
|
"m_DisplayName": "Sampler",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "Sampler",
|
|
"m_StageCapability": 3,
|
|
"m_BareResource": false
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
|
|
"m_ObjectId": "cdc2199717ab4a52ad38f60eb452e24f",
|
|
"m_Datas": [],
|
|
"m_ActiveSubTarget": {
|
|
"m_Id": "f2a5041a5f32437c93cbd7a77ac01deb"
|
|
},
|
|
"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.SaturationNode",
|
|
"m_ObjectId": "cf359eeb149f425aa0c82af264e47068",
|
|
"m_Group": {
|
|
"m_Id": "eba729cf403f4263b8f09e0582c6111f"
|
|
},
|
|
"m_Name": "Saturation",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -1101.5001220703125,
|
|
"y": 122.50001525878906,
|
|
"width": 208.00006103515626,
|
|
"height": 301.99993896484377
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "d4a13ab812494b349533b488544825b8"
|
|
},
|
|
{
|
|
"m_Id": "0069545ed1f04c09aa0be914649efd98"
|
|
},
|
|
{
|
|
"m_Id": "59b0471b157e470480151f3de3d4ab08"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "d46f19dd747d43749819f3a2e849ab0c",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "B",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "B",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 0.0,
|
|
"y": 1.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.Vector3MaterialSlot",
|
|
"m_ObjectId": "d4a13ab812494b349533b488544825b8",
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "e868bbf56e414d13aa0f047497bc62ff",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "B",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "B",
|
|
"m_StageCapability": 3,
|
|
"m_Value": {
|
|
"x": 1.0,
|
|
"y": 1.0,
|
|
"z": 1.0,
|
|
"w": 1.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.GroupData",
|
|
"m_ObjectId": "eba729cf403f4263b8f09e0582c6111f",
|
|
"m_Title": "The Basics",
|
|
"m_Position": {
|
|
"x": -1415.5001220703125,
|
|
"y": 63.99997329711914
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 2,
|
|
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
|
|
"m_ObjectId": "f2a5041a5f32437c93cbd7a77ac01deb"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.StickyNoteData",
|
|
"m_ObjectId": "f5dc90cf78d44d3a9f5dddd1c0a5122e",
|
|
"m_Title": "",
|
|
"m_Content": "Here we've entered a value of 0.5 for the Saturation, so the intensity of the input color is reduced by half.",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -1102.0001220703125,
|
|
"y": 432.5000305175781,
|
|
"width": 200.00006103515626,
|
|
"height": 100.00003051757813
|
|
},
|
|
"m_Group": {
|
|
"m_Id": "eba729cf403f4263b8f09e0582c6111f"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
|
|
"m_ObjectId": "f8c374bf3be6477cbe1861eab92b22ab",
|
|
"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.CategoryData",
|
|
"m_ObjectId": "f8dc009cf2794cb9aca04cdbbec1ae34",
|
|
"m_Name": "",
|
|
"m_ChildObjectList": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
|
|
"m_ObjectId": "f9171a6585474c8b9078ae0c7e64720b",
|
|
"m_Group": {
|
|
"m_Id": "5d8788aeddb74ef6b4975c5eafd736b8"
|
|
},
|
|
"m_Name": "Sample Texture 2D",
|
|
"m_DrawState": {
|
|
"m_Expanded": false,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -834.5000610351563,
|
|
"y": 405.0,
|
|
"width": 207.99993896484376,
|
|
"height": 338.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "51da2e5f7eb44aecab476c5b9c217e3e"
|
|
},
|
|
{
|
|
"m_Id": "8e24204e5afe400a9fc415399e401e22"
|
|
},
|
|
{
|
|
"m_Id": "4c8f90dee4bf418183ac6e91f505c431"
|
|
},
|
|
{
|
|
"m_Id": "9365903a837e4fe6b427ad7e8761c57c"
|
|
},
|
|
{
|
|
"m_Id": "21e07125e6b8446584ade04a76831c63"
|
|
},
|
|
{
|
|
"m_Id": "92533c4e28a741b899987c6e0c2eb792"
|
|
},
|
|
{
|
|
"m_Id": "64413608274e47b98e2c3f74afc50a1c"
|
|
},
|
|
{
|
|
"m_Id": "cc520ee8bc1048dfb55ec43ab594dec7"
|
|
}
|
|
],
|
|
"synonyms": [
|
|
"tex2d"
|
|
],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_TextureType": 0,
|
|
"m_NormalMapSpace": 0,
|
|
"m_EnableGlobalMipBias": true,
|
|
"m_MipSamplingMode": 0
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
|
|
"m_ObjectId": "fb3757d15883492ab4fb6ea174efc679",
|
|
"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
|
|
}
|
|
|