You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
460 lines
10 KiB
460 lines
10 KiB
{
|
|
"m_SGVersion": 3,
|
|
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
"m_ObjectId": "69d480863a4a44659e99741d43dd8afe",
|
|
"m_Properties": [
|
|
{
|
|
"m_Id": "de0dcfa63ada45d1875b4d89cf281262"
|
|
}
|
|
],
|
|
"m_Keywords": [],
|
|
"m_Dropdowns": [],
|
|
"m_CategoryData": [
|
|
{
|
|
"m_Id": "88869719e92d4e44b5229c7978388bbb"
|
|
}
|
|
],
|
|
"m_Nodes": [
|
|
{
|
|
"m_Id": "cf3a66c455c54484aa79abbba2c26fb8"
|
|
},
|
|
{
|
|
"m_Id": "8d5eb751faee4eeeb082cc6b5b4faa4e"
|
|
},
|
|
{
|
|
"m_Id": "31278e1a4b0b44c18a8daa2e31f82182"
|
|
},
|
|
{
|
|
"m_Id": "e099e7a2d97747e8b55d4b3ad17c887f"
|
|
},
|
|
{
|
|
"m_Id": "ba64d52ca05f4895bd2e725fe3113ace"
|
|
}
|
|
],
|
|
"m_GroupDatas": [],
|
|
"m_StickyNoteDatas": [],
|
|
"m_Edges": [
|
|
{
|
|
"m_OutputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "ba64d52ca05f4895bd2e725fe3113ace"
|
|
},
|
|
"m_SlotId": 0
|
|
},
|
|
"m_InputSlot": {
|
|
"m_Node": {
|
|
"m_Id": "e099e7a2d97747e8b55d4b3ad17c887f"
|
|
},
|
|
"m_SlotId": 0
|
|
}
|
|
}
|
|
],
|
|
"m_VertexContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 0.0
|
|
},
|
|
"m_Blocks": [
|
|
{
|
|
"m_Id": "cf3a66c455c54484aa79abbba2c26fb8"
|
|
},
|
|
{
|
|
"m_Id": "8d5eb751faee4eeeb082cc6b5b4faa4e"
|
|
},
|
|
{
|
|
"m_Id": "31278e1a4b0b44c18a8daa2e31f82182"
|
|
}
|
|
]
|
|
},
|
|
"m_FragmentContext": {
|
|
"m_Position": {
|
|
"x": 0.0,
|
|
"y": 200.0
|
|
},
|
|
"m_Blocks": [
|
|
{
|
|
"m_Id": "e099e7a2d97747e8b55d4b3ad17c887f"
|
|
}
|
|
]
|
|
},
|
|
"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_ActiveTargets": [
|
|
{
|
|
"m_Id": "9793f7a2af24492ea0c742db3fb22caa"
|
|
}
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "31278e1a4b0b44c18a8daa2e31f82182",
|
|
"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": "e64087ac79ce4bf2806e41bd5e12f841"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "VertexDescription.Tangent"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
|
|
"m_ObjectId": "372cd17da2e14489884b7cf12f417db0"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
|
|
"m_ObjectId": "4f3af40ecfca4d40a68afc0303818954",
|
|
"m_Id": 0,
|
|
"m_DisplayName": "Color",
|
|
"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_Labels": []
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
|
|
"m_ObjectId": "88869719e92d4e44b5229c7978388bbb",
|
|
"m_Name": "",
|
|
"m_ChildObjectList": [
|
|
{
|
|
"m_Id": "de0dcfa63ada45d1875b4d89cf281262"
|
|
}
|
|
]
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "8d5eb751faee4eeeb082cc6b5b4faa4e",
|
|
"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": "b398333cf71342e7996f5a5b1d644bb5"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "VertexDescription.Normal"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 1,
|
|
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
|
|
"m_ObjectId": "9793f7a2af24492ea0c742db3fb22caa",
|
|
"m_ActiveSubTarget": {
|
|
"m_Id": "372cd17da2e14489884b7cf12f417db0"
|
|
},
|
|
"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_CustomEditorGUI": "",
|
|
"m_SupportVFX": false
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
|
|
"m_ObjectId": "b398333cf71342e7996f5a5b1d644bb5",
|
|
"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.PropertyNode",
|
|
"m_ObjectId": "ba64d52ca05f4895bd2e725fe3113ace",
|
|
"m_Group": {
|
|
"m_Id": ""
|
|
},
|
|
"m_Name": "Property",
|
|
"m_DrawState": {
|
|
"m_Expanded": true,
|
|
"m_Position": {
|
|
"serializedVersion": "2",
|
|
"x": -276.0,
|
|
"y": 237.0,
|
|
"width": 105.0,
|
|
"height": 34.0
|
|
}
|
|
},
|
|
"m_Slots": [
|
|
{
|
|
"m_Id": "4f3af40ecfca4d40a68afc0303818954"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_Property": {
|
|
"m_Id": "de0dcfa63ada45d1875b4d89cf281262"
|
|
}
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "cf3a66c455c54484aa79abbba2c26fb8",
|
|
"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": "ef20101c418a447f912e9b972a50d9d7"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "VertexDescription.Position"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 3,
|
|
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
|
|
"m_ObjectId": "de0dcfa63ada45d1875b4d89cf281262",
|
|
"m_Guid": {
|
|
"m_GuidSerialized": "5bc64a60-86a2-4023-a5c9-5eb514994b63"
|
|
},
|
|
"m_Name": "Color",
|
|
"m_DefaultRefNameVersion": 1,
|
|
"m_RefNameGeneratedByDisplayName": "Color",
|
|
"m_DefaultReferenceName": "_Color",
|
|
"m_OverrideReferenceName": "",
|
|
"m_GeneratePropertyBlock": true,
|
|
"m_UseCustomSlotLabel": false,
|
|
"m_CustomSlotLabel": "",
|
|
"m_Precision": 0,
|
|
"overrideHLSLDeclaration": false,
|
|
"hlslDeclarationOverride": 0,
|
|
"m_Hidden": false,
|
|
"m_Value": {
|
|
"r": 0.0,
|
|
"g": 0.0,
|
|
"b": 0.0,
|
|
"a": 0.0
|
|
},
|
|
"isMainColor": false,
|
|
"m_ColorMode": 1
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
"m_ObjectId": "e099e7a2d97747e8b55d4b3ad17c887f",
|
|
"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": "f6a56eb0ffd64879b0672350d421e4cf"
|
|
}
|
|
],
|
|
"synonyms": [],
|
|
"m_Precision": 0,
|
|
"m_PreviewExpanded": true,
|
|
"m_PreviewMode": 0,
|
|
"m_CustomColors": {
|
|
"m_SerializableColors": []
|
|
},
|
|
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
|
|
}
|
|
|
|
{
|
|
"m_SGVersion": 0,
|
|
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
|
|
"m_ObjectId": "e64087ac79ce4bf2806e41bd5e12f841",
|
|
"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.PositionMaterialSlot",
|
|
"m_ObjectId": "ef20101c418a447f912e9b972a50d9d7",
|
|
"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.ColorRGBMaterialSlot",
|
|
"m_ObjectId": "f6a56eb0ffd64879b0672350d421e4cf",
|
|
"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
|
|
}
|
|
}
|
|
|
|
|