study/first_study/Library/PackageCache/com.unity.shadergraph@3686fafd4720/Samples~/CustomLighting/Components/Fog.shadersubgraph

523 lines
12 KiB
Plaintext
Raw Normal View History

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "de6916b9a7f040ab82640161054bdb00",
"m_Properties": [
{
"m_Id": "e6d22c143a234c53a79ccf66c2e64308"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "e6b8102988b249e195d59689b45e0f3a"
}
],
"m_Nodes": [
{
"m_Id": "958c18a5ad1d478aaed8958529b81985"
},
{
"m_Id": "626923dc627443639da97776de7dcc22"
},
{
"m_Id": "acabe3c84c9549f3880ce7d106150576"
},
{
"m_Id": "9cfca9aa08c7423bab62b39a01237d64"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "626923dc627443639da97776de7dcc22"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "9cfca9aa08c7423bab62b39a01237d64"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9cfca9aa08c7423bab62b39a01237d64"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "958c18a5ad1d478aaed8958529b81985"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "acabe3c84c9549f3880ce7d106150576"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "9cfca9aa08c7423bab62b39a01237d64"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "acabe3c84c9549f3880ce7d106150576"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "9cfca9aa08c7423bab62b39a01237d64"
},
"m_SlotId": 2
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Lighting/Components",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "958c18a5ad1d478aaed8958529b81985"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "1c0788cd50c2410d96cda544eb4e0ebd",
"m_Id": 0,
"m_DisplayName": "Color",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Color",
"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": "30f478f49d5e4c279040511b203572a6",
"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.PropertyNode",
"m_ObjectId": "626923dc627443639da97776de7dcc22",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -513.3333129882813,
"y": -62.0,
"width": 106.66665649414063,
"height": 36.0
}
},
"m_Slots": [
{
"m_Id": "68be2cb1e5c14fb78a24f3eab7885303"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "e6d22c143a234c53a79ccf66c2e64308"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "68be2cb1e5c14fb78a24f3eab7885303",
"m_Id": 0,
"m_DisplayName": "In",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "6f7c4f482f0b4a819bd456fd98a32fc4",
"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.Vector3MaterialSlot",
"m_ObjectId": "80dbd850f6d6442d9ed7c0c5fd58f0b6",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 0,
"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.PositionMaterialSlot",
"m_ObjectId": "83769bfa6ed1439f8e0709194bbfe70c",
"m_Id": 2,
"m_DisplayName": "Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Position",
"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_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "958c18a5ad1d478aaed8958529b81985",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -156.0,
"y": -78.66665649414063,
"width": 86.6666259765625,
"height": 78.66665649414063
}
},
"m_Slots": [
{
"m_Id": "80dbd850f6d6442d9ed7c0c5fd58f0b6"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "96d8ce5e94ac411b9d205ca8ff3f4a43",
"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.LerpNode",
"m_ObjectId": "9cfca9aa08c7423bab62b39a01237d64",
"m_Group": {
"m_Id": ""
},
"m_Name": "Lerp",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -317.3333740234375,
"y": -78.66665649414063,
"width": 131.3333740234375,
"height": 143.99996948242188
}
},
"m_Slots": [
{
"m_Id": "30f478f49d5e4c279040511b203572a6"
},
{
"m_Id": "ddca3c0fcb9f40db820cb67e5d413e6e"
},
{
"m_Id": "6f7c4f482f0b4a819bd456fd98a32fc4"
},
{
"m_Id": "96d8ce5e94ac411b9d205ca8ff3f4a43"
}
],
"synonyms": [
"mix",
"blend",
"linear interpolate"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.FogNode",
"m_ObjectId": "acabe3c84c9549f3880ce7d106150576",
"m_Group": {
"m_Id": ""
},
"m_Name": "Fog",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -590.6666259765625,
"y": -26.0,
"width": 183.99996948242188,
"height": 102.66668701171875
}
},
"m_Slots": [
{
"m_Id": "83769bfa6ed1439f8e0709194bbfe70c"
},
{
"m_Id": "1c0788cd50c2410d96cda544eb4e0ebd"
},
{
"m_Id": "e1da196f97bb4db8bab2d4326eaf8f2e"
}
],
"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": "ddca3c0fcb9f40db820cb67e5d413e6e",
"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": "e1da196f97bb4db8bab2d4326eaf8f2e",
"m_Id": 1,
"m_DisplayName": "Density",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Density",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "e6b8102988b249e195d59689b45e0f3a",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "e6d22c143a234c53a79ccf66c2e64308"
}
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "e6d22c143a234c53a79ccf66c2e64308",
"m_Guid": {
"m_GuidSerialized": "53e27626-7d94-4248-9941-a1ad5f4d78bf"
},
"m_Name": "In",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "In",
"m_DefaultReferenceName": "_In",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}