1220 lines
28 KiB
Plaintext
1220 lines
28 KiB
Plaintext
{
|
|
"m_SGVersion": 3,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "c5969c66d6c64a958ea7e599cc26b6af",
|
|
"m_Properties": [],
|
|
"m_Keywords": [],
|
|
"m_Dropdowns": [],
|
|
"m_CategoryData": [
|
|
{
|
|
"m_Id": "22dcb362bfe14f13be7b16ed3c7984b2"
|
|
}
|
|
],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "07ef85c4d7e24136ab25dbd31e828d8c"
|
|
},
|
|
{
|
|
"m_Id": "191cdc1f1bae42029dcef35bd5cda7ed"
|
|
},
|
|
{
|
|
"m_Id": "f57eaed991d5463888df4d9e139c0f2f"
|
|
},
|
|
{
|
|
"m_Id": "1391cc97c4404b1f9fb6445c6341ae8e"
|
|
},
|
|
{
|
|
"m_Id": "dbc0dfdc9be24720ab6bda374e9854d4"
|
|
},
|
|
{
|
|
"m_Id": "3f63c3857c044a88b81df796b7812257"
|
|
},
|
|
{
|
|
"m_Id": "27d050d014ea417ba31263a53dc03b2a"
|
|
},
|
|
{
|
|
"m_Id": "d993afb02ec3408185a4f60ef692c399"
|
|
},
|
|
{
|
|
"m_Id": "c2f33904f83e4bbca9c222121f659576"
|
|
},
|
|
{
|
|
"m_Id": "36396da48bf34d4f8531376db8e96019"
|
|
}
|
|
],
|
|
"m_GroupDatas": [
|
|
{
|
|
"m_Id": "932ce144d11e44a7ad6bc10983cc4921"
|
|
}
|
|
],
|
|
"m_StickyNoteDatas": [
|
|
{
|
|
"m_Id": "640aca218cb84bd5837ad8bd984f9b93"
|
|
},
|
|
{
|
|
"m_Id": "bd577ad7cd864c46b05bc36b4e4d2cb1"
|
|
},
|
|
{
|
|
"m_Id": "c7f3b9552eb0464ea7308d1d6d4e5c58"
|
|
}
|
|
],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "27d050d014ea417ba31263a53dc03b2a"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "3f63c3857c044a88b81df796b7812257"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
},
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "d993afb02ec3408185a4f60ef692c399"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "3f63c3857c044a88b81df796b7812257"
|
|
},
|
|
"m_SlotId": 1
|
|
}
|
|
}
|
|
],
|
|
"m_VertexContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Blocks": [
|
|
{
|
|
"m_Id": "07ef85c4d7e24136ab25dbd31e828d8c"
|
|
},
|
|
{
|
|
"m_Id": "191cdc1f1bae42029dcef35bd5cda7ed"
|
|
},
|
|
{
|
|
"m_Id": "f57eaed991d5463888df4d9e139c0f2f"
|
|
}
|
|
]
|
|
},
|
|
"m_FragmentContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 200.0
|
|
},
|
|
"m_Blocks": [
|
|
{
|
|
"m_Id": "1391cc97c4404b1f9fb6445c6341ae8e"
|
|
},
|
|
{
|
|
"m_Id": "c2f33904f83e4bbca9c222121f659576"
|
|
},
|
|
{
|
|
"m_Id": "36396da48bf34d4f8531376db8e96019"
|
|
}
|
|
]
|
|
},
|
|
"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": "dfc61364ea9c4bab8c14c6b072aa09ac"
|
|
},
|
|
{
|
|
"m_Id": "8db1e0129634420992ec8424a0943836"
|
|
},
|
|
{
|
|
"m_Id": "489da2f4e4ff4397ae8ab22553afcf16"
|
|
}
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
|
|
"m_ObjectId": "00a55b58b41e49adbaf23ce982ace6a2",
|
|
"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.BlockNode",
|
|
"m_ObjectId": "07ef85c4d7e24136ab25dbd31e828d8c",
|
|
"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": "242c07067acb40e390cf1ffe288e736b"
|
|
}
|
|
],
|
|
"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.BlockNode",
|
|
"m_ObjectId": "1391cc97c4404b1f9fb6445c6341ae8e",
|
|
"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": "00a55b58b41e49adbaf23ce982ace6a2"
|
|
}
|
|
],
|
|
"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.BlockNode",
|
|
"m_ObjectId": "191cdc1f1bae42029dcef35bd5cda7ed",
|
|
"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": "9db960c9740d48818468e6713cf7902f"
|
|
}
|
|
],
|
|
"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.CategoryData",
|
|
"m_ObjectId": "22dcb362bfe14f13be7b16ed3c7984b2",
|
|
"m_Name": "",
|
|
"m_ChildObjectList": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
|
|
"m_ObjectId": "242c07067acb40e390cf1ffe288e736b",
|
|
"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.SampleTexture2DNode",
|
|
"m_ObjectId": "27d050d014ea417ba31263a53dc03b2a",
|
|
"m_Group": {
|
|
"m_Id": "932ce144d11e44a7ad6bc10983cc4921"
|
|
},
|
|
"m_Name": "Sample Texture 2D",
|
|
"m_DrawState": {
|
|
"m_Expanded": false,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -651.5000610351563,
|
|
"y": 154.0000457763672,
|
|
"width": 208.00009155273438,
|
|
"height": 337.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "57823a0142704411a0dbe1b5fcb9b558"
|
|
},
|
|
{
|
|
"m_Id": "c054a5fa3de9489fa545aebc48e3b7b8"
|
|
},
|
|
{
|
|
"m_Id": "72a573007d994382aa27bc9bb4d17f95"
|
|
},
|
|
{
|
|
"m_Id": "5d4240429aaa4fd5bbc8438b14a89789"
|
|
},
|
|
{
|
|
"m_Id": "83787f7e28c64532ad402e167901f59c"
|
|
},
|
|
{
|
|
"m_Id": "f1c42bbf70e04f6e82c1ca395dc98d12"
|
|
},
|
|
{
|
|
"m_Id": "40711d70202543129ec50dc34b984447"
|
|
},
|
|
{
|
|
"m_Id": "5f474f7796ed43dd8ed7a70f72e1235f"
|
|
}
|
|
],
|
|
"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.BlockNode",
|
|
"m_ObjectId": "36396da48bf34d4f8531376db8e96019",
|
|
"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": "752deef9521145e9a0b0830278604c43"
|
|
}
|
|
],
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "3e0d58b254e84f6581f63ac172f37c9a",
|
|
"m_Id": 1,
|
|
"m_DisplayName": "X",
|
|
"m_SlotType": 0,
|
|
"m_Hidden": false,
|
|
"m_ShaderOutputName": "X",
|
|
"m_StageCapability": 3,
|
|
"m_Value": 0.10000000149011612,
|
|
"m_DefaultValue": 0.0,
|
|
"m_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.MinimumNode",
|
|
"m_ObjectId": "3f63c3857c044a88b81df796b7812257",
|
|
"m_Group": {
|
|
"m_Id": "932ce144d11e44a7ad6bc10983cc4921"
|
|
},
|
|
"m_Name": "Minimum",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -377.5,
|
|
"y": 154.0000457763672,
|
|
"width": 208.00001525878907,
|
|
"height": 302.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "c5c94f740e9343f79404f3fdafe9ca54"
|
|
},
|
|
{
|
|
"m_Id": "a0b33177f9a6455fac9eb85abdf53d1a"
|
|
},
|
|
{
|
|
"m_Id": "8df839202ce746868aad77cfc916a08a"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
|
|
"m_ObjectId": "40711d70202543129ec50dc34b984447",
|
|
"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.Rendering.BuiltIn.ShaderGraph.BuiltInUnlitSubTarget",
|
|
"m_ObjectId": "40f287d8c1ce4b6bb9e86e638f67836e"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
|
|
"m_ObjectId": "489da2f4e4ff4397ae8ab22553afcf16",
|
|
"m_Datas": [],
|
|
"m_ActiveSubTarget": {
|
|
"m_Id": "6a180a1c171842b5a0cfec70885ee515"
|
|
},
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "52d0db513e884925b258836b19f665b4",
|
|
"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.Vector4MaterialSlot",
|
|
"m_ObjectId": "57823a0142704411a0dbe1b5fcb9b558",
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "5d4240429aaa4fd5bbc8438b14a89789",
|
|
"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.SamplerStateMaterialSlot",
|
|
"m_ObjectId": "5f474f7796ed43dd8ed7a70f72e1235f",
|
|
"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.StickyNoteData",
|
|
"m_ObjectId": "640aca218cb84bd5837ad8bd984f9b93",
|
|
"m_Title": "Minimum Node",
|
|
"m_Content": "The Minimum Node either gives you input A or input B - which ever is smaller.",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -439.0000305175781,
|
|
"y": -40.000003814697269,
|
|
"width": 200.00001525878907,
|
|
"height": 100.00000762939453
|
|
},
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 2,
|
|
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
|
|
"m_ObjectId": "6a180a1c171842b5a0cfec70885ee515"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
|
|
"m_ObjectId": "714b02fa713b45e2a301c1231ed4bc03",
|
|
"m_EnableShadowMatte": false,
|
|
"m_DistortionOnly": false
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "72a573007d994382aa27bc9bb4d17f95",
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "752deef9521145e9a0b0830278604c43",
|
|
"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.Rendering.HighDefinition.ShaderGraph.HDUnlitSubTarget",
|
|
"m_ObjectId": "792096b707494d49bbe233ff59b1b0e2"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
"m_ObjectId": "83787f7e28c64532ad402e167901f59c",
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "8c95a3103f0f4bcbbcd0e32337148d82",
|
|
"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.Rendering.HighDefinition.ShaderGraph.HDTarget",
|
|
"m_ObjectId": "8db1e0129634420992ec8424a0943836",
|
|
"m_ActiveSubTarget": {
|
|
"m_Id": "792096b707494d49bbe233ff59b1b0e2"
|
|
},
|
|
"m_Datas": [
|
|
{
|
|
"m_Id": "df616d293b8e4fe5ab5fb3b018c0ae9c"
|
|
},
|
|
{
|
|
"m_Id": "be1d16b831b3454d873f0834232f49bc"
|
|
},
|
|
{
|
|
"m_Id": "714b02fa713b45e2a301c1231ed4bc03"
|
|
}
|
|
],
|
|
"m_CustomEditorGUI": "",
|
|
"m_SupportVFX": false,
|
|
"m_SupportLineRendering": false
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "8df839202ce746868aad77cfc916a08a",
|
|
"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,
|
|
"w": 0.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": "932ce144d11e44a7ad6bc10983cc4921",
|
|
"m_Title": "Limit the Maximum Brightness",
|
|
"m_Position": {
|
|
"x": -676.5,
|
|
"y": 95.50006103515625
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
|
|
"m_ObjectId": "9db960c9740d48818468e6713cf7902f",
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "a0b33177f9a6455fac9eb85abdf53d1a",
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "a2be76c32d3148a49fe2aa73348620d1",
|
|
"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": "bd577ad7cd864c46b05bc36b4e4d2cb1",
|
|
"m_Title": "",
|
|
"m_Content": "In this example the maximum brightness of the texture is limited because if pixels in the texture are brighter than 0.1, the result is 0.1 instead.",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -378.5000305175781,
|
|
"y": 470.5000305175781,
|
|
"width": 200.00001525878907,
|
|
"height": 100.00003051757813
|
|
},
|
|
"m_Group": {
|
|
"m_Id": "932ce144d11e44a7ad6bc10983cc4921"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.SystemData",
|
|
"m_ObjectId": "be1d16b831b3454d873f0834232f49bc",
|
|
"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.Vector1MaterialSlot",
|
|
"m_ObjectId": "c054a5fa3de9489fa545aebc48e3b7b8",
|
|
"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.BlockNode",
|
|
"m_ObjectId": "c2f33904f83e4bbca9c222121f659576",
|
|
"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": "cdfe1462d03d4c118425ca22c628a269"
|
|
}
|
|
],
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "c5c94f740e9343f79404f3fdafe9ca54",
|
|
"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": "c7f3b9552eb0464ea7308d1d6d4e5c58",
|
|
"m_Title": "",
|
|
"m_Content": "This is a bit like placing an upper limit or a roof on how high the values are allowed to go.",
|
|
"m_TextSize": 0,
|
|
"m_Theme": 0,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -378.5000305175781,
|
|
"y": 577.0000610351563,
|
|
"width": 200.00001525878907,
|
|
"height": 100.0
|
|
},
|
|
"m_Group": {
|
|
"m_Id": "932ce144d11e44a7ad6bc10983cc4921"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
|
|
"m_ObjectId": "cdfe1462d03d4c118425ca22c628a269",
|
|
"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.DynamicVectorMaterialSlot",
|
|
"m_ObjectId": "d26f8970a25242439295fc2058664c25",
|
|
"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,
|
|
"w": 0.0
|
|
},
|
|
"m_DefaultValue": {
|
|
"x": 0.0,
|
|
"y": 0.0,
|
|
"z": 0.0,
|
|
"w": 0.0
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector1Node",
|
|
"m_ObjectId": "d993afb02ec3408185a4f60ef692c399",
|
|
"m_Group": {
|
|
"m_Id": "932ce144d11e44a7ad6bc10983cc4921"
|
|
},
|
|
"m_Name": "Float",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -569.0,
|
|
"y": 501.50006103515627,
|
|
"width": 125.50003051757813,
|
|
"height": 77.00006103515625
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "3e0d58b254e84f6581f63ac172f37c9a"
|
|
},
|
|
{
|
|
"m_Id": "a2be76c32d3148a49fe2aa73348620d1"
|
|
}
|
|
],
|
|
"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.MinimumNode",
|
|
"m_ObjectId": "dbc0dfdc9be24720ab6bda374e9854d4",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Minimum",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -589.0,
|
|
"y": -48.999996185302737,
|
|
"width": 126.00003051757813,
|
|
"height": 118.00001525878906
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "52d0db513e884925b258836b19f665b4"
|
|
},
|
|
{
|
|
"m_Id": "8c95a3103f0f4bcbbcd0e32337148d82"
|
|
},
|
|
{
|
|
"m_Id": "d26f8970a25242439295fc2058664c25"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": false,
|
|
"m_DismissedVersion": 0,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.BuiltinData",
|
|
"m_ObjectId": "df616d293b8e4fe5ab5fb3b018c0ae9c",
|
|
"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": 2,
|
|
"m_Type": "UnityEditor.Rendering.BuiltIn.ShaderGraph.BuiltInTarget",
|
|
"m_ObjectId": "dfc61364ea9c4bab8c14c6b072aa09ac",
|
|
"m_Datas": [],
|
|
"m_ActiveSubTarget": {
|
|
"m_Id": "40f287d8c1ce4b6bb9e86e638f67836e"
|
|
},
|
|
"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.Texture2DInputMaterialSlot",
|
|
"m_ObjectId": "f1c42bbf70e04f6e82c1ca395dc98d12",
|
|
"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.BlockNode",
|
|
"m_ObjectId": "f57eaed991d5463888df4d9e139c0f2f",
|
|
"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": "fe20203345254afbbf649ad824a86891"
|
|
}
|
|
],
|
|
"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.TangentMaterialSlot",
|
|
"m_ObjectId": "fe20203345254afbbf649ad824a86891",
|
|
"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
|
|
}
|
|
|