CapersProject/Assets/09.Shaders/GradientSlider.shadergraph
2024-09-03 21:04:25 +09:00

946 lines
21 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "125e252b280d4043a3e232ad66365ff2",
"m_Properties": [
{
"m_Id": "a128696d045141149cfb3bf816b54d80"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "b24d1c02f74d48e5a6cb3e41a064f0fa"
}
],
"m_Nodes": [
{
"m_Id": "40a37cf1d98f49d2a7766d6a9c7a304b"
},
{
"m_Id": "0211643180e94c54bcd79ec77dc452ea"
},
{
"m_Id": "482587c66b08454d8c0cf94bb2a533ec"
},
{
"m_Id": "a5d899d55d4c42c2bee93c46b469c0a0"
},
{
"m_Id": "1fe4e18012224bd086abad48cef570a5"
},
{
"m_Id": "aae61fd383a145759ae1fa10631fabba"
},
{
"m_Id": "5e0d5368f6144fa3a05f2b5e989e25ba"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "1fe4e18012224bd086abad48cef570a5"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "40a37cf1d98f49d2a7766d6a9c7a304b"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5e0d5368f6144fa3a05f2b5e989e25ba"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1fe4e18012224bd086abad48cef570a5"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a5d899d55d4c42c2bee93c46b469c0a0"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1fe4e18012224bd086abad48cef570a5"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "aae61fd383a145759ae1fa10631fabba"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5e0d5368f6144fa3a05f2b5e989e25ba"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "40a37cf1d98f49d2a7766d6a9c7a304b"
},
{
"m_Id": "0211643180e94c54bcd79ec77dc452ea"
},
{
"m_Id": "482587c66b08454d8c0cf94bb2a533ec"
}
]
},
"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": "72dd91f1183d498f819167fdf65ada12"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "0211643180e94c54bcd79ec77dc452ea",
"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": "38602216b85349ffa57dfa5856f2bf92"
}
],
"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.ColorRGBMaterialSlot",
"m_ObjectId": "15ca3e2a6ecd4dc78b089a004c8dd832",
"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.5,
"y": 0.5,
"z": 0.5
},
"m_Labels": [],
"m_ColorMode": 0,
"m_DefaultColor": {
"r": 0.5,
"g": 0.5,
"b": 0.5,
"a": 1.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.SampleGradient",
"m_ObjectId": "1fe4e18012224bd086abad48cef570a5",
"m_Group": {
"m_Id": ""
},
"m_Name": "Sample Gradient",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -642.9998168945313,
"y": 199.99996948242188,
"width": 207.99993896484376,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "6fbe934ec4cb457d95fa2916f5121f30"
},
{
"m_Id": "9b5d385653b04fa7bd2b3810f55e8013"
},
{
"m_Id": "2e071c1ec2c647f997309f104913f763"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "254af246b3ae42258ec1d4d0e0049d97",
"m_Id": 2,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "2e071c1ec2c647f997309f104913f763",
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "38602216b85349ffa57dfa5856f2bf92",
"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.BlockNode",
"m_ObjectId": "40a37cf1d98f49d2a7766d6a9c7a304b",
"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": "15ca3e2a6ecd4dc78b089a004c8dd832"
}
],
"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": "482587c66b08454d8c0cf94bb2a533ec",
"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": "71bcf66d2c7a4dee9f08bc89a9774672"
}
],
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "5679351844564412ae5af9334f89321f",
"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,
"w": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SplitNode",
"m_ObjectId": "5e0d5368f6144fa3a05f2b5e989e25ba",
"m_Group": {
"m_Id": ""
},
"m_Name": "Split",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1009.9998779296875,
"y": 302.9999694824219,
"width": 120.00006103515625,
"height": 148.99996948242188
}
},
"m_Slots": [
{
"m_Id": "5679351844564412ae5af9334f89321f"
},
{
"m_Id": "e037e7d258e34400b685169a0a598aa7"
},
{
"m_Id": "254af246b3ae42258ec1d4d0e0049d97"
},
{
"m_Id": "8c75f434bf6e4081990d03377c07f669"
},
{
"m_Id": "70120b5270a3424b91d2fc6dac508a2b"
}
],
"synonyms": [
"separate"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GradientInputMaterialSlot",
"m_ObjectId": "6fbe934ec4cb457d95fa2916f5121f30",
"m_Id": 0,
"m_DisplayName": "Gradient",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Gradient",
"m_StageCapability": 3,
"m_Value": {
"serializedVersion": "2",
"key0": {
"r": 1.0,
"g": 1.0,
"b": 1.0,
"a": 1.0
},
"key1": {
"r": 1.0,
"g": 1.0,
"b": 1.0,
"a": 1.0
},
"key2": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key3": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key4": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key5": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key6": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key7": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"ctime0": 0,
"ctime1": 65535,
"ctime2": 0,
"ctime3": 0,
"ctime4": 0,
"ctime5": 0,
"ctime6": 0,
"ctime7": 0,
"atime0": 0,
"atime1": 65535,
"atime2": 0,
"atime3": 0,
"atime4": 0,
"atime5": 0,
"atime6": 0,
"atime7": 0,
"m_Mode": 0,
"m_ColorSpace": -1,
"m_NumColorKeys": 2,
"m_NumAlphaKeys": 2
},
"m_DefaultValue": {
"serializedVersion": "2",
"key0": {
"r": 1.0,
"g": 1.0,
"b": 1.0,
"a": 1.0
},
"key1": {
"r": 1.0,
"g": 1.0,
"b": 1.0,
"a": 1.0
},
"key2": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key3": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key4": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key5": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key6": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key7": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"ctime0": 0,
"ctime1": 65535,
"ctime2": 0,
"ctime3": 0,
"ctime4": 0,
"ctime5": 0,
"ctime6": 0,
"ctime7": 0,
"atime0": 0,
"atime1": 65535,
"atime2": 0,
"atime3": 0,
"atime4": 0,
"atime5": 0,
"atime6": 0,
"atime7": 0,
"m_Mode": 0,
"m_ColorSpace": -1,
"m_NumColorKeys": 2,
"m_NumAlphaKeys": 2
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "70120b5270a3424b91d2fc6dac508a2b",
"m_Id": 4,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "71bcf66d2c7a4dee9f08bc89a9774672",
"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": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "72dd91f1183d498f819167fdf65ada12",
"m_Datas": [
{
"m_Id": "e43fc642d054436484b7fc14464630de"
}
],
"m_ActiveSubTarget": {
"m_Id": "c0126ad9f7e344cd93a205ece9acb55b"
},
"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.Vector1MaterialSlot",
"m_ObjectId": "8c75f434bf6e4081990d03377c07f669",
"m_Id": 3,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9b5d385653b04fa7bd2b3810f55e8013",
"m_Id": 1,
"m_DisplayName": "Time",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GradientShaderProperty",
"m_ObjectId": "a128696d045141149cfb3bf816b54d80",
"m_Guid": {
"m_GuidSerialized": "c67d0ed6-ff75-47f5-9414-be832a06c9e4"
},
"m_Name": "Gradient",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Gradient",
"m_DefaultReferenceName": "_Gradient",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": false,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"serializedVersion": "2",
"key0": {
"r": 0.0,
"g": 0.0,
"b": 1.0,
"a": 1.0
},
"key1": {
"r": 0.0,
"g": 0.03921568766236305,
"b": 1.0,
"a": 1.0
},
"key2": {
"r": 1.0,
"g": 1.0,
"b": 1.0,
"a": 0.0
},
"key3": {
"r": 1.0,
"g": 0.03921568766236305,
"b": 0.0,
"a": 0.0
},
"key4": {
"r": 1.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key5": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key6": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"key7": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"ctime0": 0,
"ctime1": 29491,
"ctime2": 32768,
"ctime3": 36044,
"ctime4": 65535,
"ctime5": 0,
"ctime6": 0,
"ctime7": 0,
"atime0": 0,
"atime1": 65535,
"atime2": 0,
"atime3": 0,
"atime4": 0,
"atime5": 0,
"atime6": 0,
"atime7": 0,
"m_Mode": 0,
"m_ColorSpace": 1,
"m_NumColorKeys": 5,
"m_NumAlphaKeys": 2
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "a5d899d55d4c42c2bee93c46b469c0a0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -800.9998779296875,
"y": 183.0,
"width": 113.0,
"height": 33.99998474121094
}
},
"m_Slots": [
{
"m_Id": "fac570dcada74bb99f8f84df7704cf04"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "a128696d045141149cfb3bf816b54d80"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVNode",
"m_ObjectId": "aae61fd383a145759ae1fa10631fabba",
"m_Group": {
"m_Id": ""
},
"m_Name": "UV",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1250.9998779296875,
"y": 271.9999694824219,
"width": 208.0001220703125,
"height": 313.0000305175781
}
},
"m_Slots": [
{
"m_Id": "d0bf0b18495841e3b036937f9ecea82f"
}
],
"synonyms": [
"texcoords",
"coords",
"coordinates"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_OutputChannel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "b24d1c02f74d48e5a6cb3e41a064f0fa",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "a128696d045141149cfb3bf816b54d80"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalCanvasSubTarget",
"m_ObjectId": "c0126ad9f7e344cd93a205ece9acb55b"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "d0bf0b18495841e3b036937f9ecea82f",
"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,
"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": "e037e7d258e34400b685169a0a598aa7",
"m_Id": 1,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.Canvas.ShaderGraph.CanvasData",
"m_ObjectId": "e43fc642d054436484b7fc14464630de",
"m_Version": 0,
"m_AlphaClip": false,
"m_DisableTint": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GradientMaterialSlot",
"m_ObjectId": "fac570dcada74bb99f8f84df7704cf04",
"m_Id": 0,
"m_DisplayName": "Gradient",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3
}