Files
beyond/Assets/Meshes/scroll/ScrollShader7.shadergraph
2024-11-20 15:21:28 +01:00

992 lines
24 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "f0f2f058c7144a388262c0f7b598a3bb",
"m_Properties": [
{
"m_Id": "6cf4caec93b442f38e018da4714ee119"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "c5f7d35698854cd18a932b66e22d87c8"
}
],
"m_Nodes": [
{
"m_Id": "afed1eefcdf34633bafe75de65b90cff"
},
{
"m_Id": "527fb1ea84be4da18ea01b19f139f0da"
},
{
"m_Id": "384dba03897a4d3dabae990a68981c86"
},
{
"m_Id": "459e1c263a434642a48e5bc7038acbcb"
},
{
"m_Id": "7b265aa9f2884d05a77fb67262ca2a7e"
},
{
"m_Id": "9a41539b149f4740a21b48d088767c47"
},
{
"m_Id": "d57a434a90ba4a5db030937e07d0dbe0"
},
{
"m_Id": "60445ca25eec4692a0abfd0990c02d3f"
},
{
"m_Id": "fc1db5a5d6324935b87c10b29a7fff6e"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "9a41539b149f4740a21b48d088767c47"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "d57a434a90ba4a5db030937e07d0dbe0"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d57a434a90ba4a5db030937e07d0dbe0"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "459e1c263a434642a48e5bc7038acbcb"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d57a434a90ba4a5db030937e07d0dbe0"
},
"m_SlotId": 7
},
"m_InputSlot": {
"m_Node": {
"m_Id": "7b265aa9f2884d05a77fb67262ca2a7e"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
"m_Position": {
"x": -125.0,
"y": -87.5
},
"m_Blocks": [
{
"m_Id": "afed1eefcdf34633bafe75de65b90cff"
},
{
"m_Id": "527fb1ea84be4da18ea01b19f139f0da"
},
{
"m_Id": "384dba03897a4d3dabae990a68981c86"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": -125.0,
"y": 129.99996948242188
},
"m_Blocks": [
{
"m_Id": "459e1c263a434642a48e5bc7038acbcb"
},
{
"m_Id": "7b265aa9f2884d05a77fb67262ca2a7e"
},
{
"m_Id": "60445ca25eec4692a0abfd0990c02d3f"
}
]
},
"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": "11bb715b22814b059d645132711c85f4"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "00f4c12a33a14b13847688835f90b01c",
"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": "0691569eab464a10902136d2bc2dabc9",
"m_Id": 4,
"m_DisplayName": "NoisePow",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "NoisePow",
"m_StageCapability": 3,
"m_Value": 0.36000001430511477,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBAMaterialSlot",
"m_ObjectId": "087281cac82441f9920cadaba659b4e4",
"m_Id": 0,
"m_DisplayName": "Sprite Mask",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "SpriteMask",
"m_StageCapability": 2,
"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_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0c66e201efaf43aa836e04761cf55d52",
"m_Id": 5,
"m_DisplayName": "Th",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Th",
"m_StageCapability": 3,
"m_Value": 0.10999999940395355,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "11bb715b22814b059d645132711c85f4",
"m_ActiveSubTarget": {
"m_Id": "e6fbf8bea36b4225ba42a0520952a6e5"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 1,
"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.Vector1MaterialSlot",
"m_ObjectId": "17cfe3bf37434fe68f641d7bd6fe7a6f",
"m_Id": 6,
"m_DisplayName": "Width",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Width",
"m_StageCapability": 3,
"m_Value": 0.05999999865889549,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "2211ca96b3c04c48996c0ceb3273ea2f",
"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.SamplerStateMaterialSlot",
"m_ObjectId": "282f814dedd840c9ac7a2033adb82eba",
"m_Id": 2,
"m_DisplayName": "NoiseSS",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "NoiseSS",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "2cbd3d1691ef49f895b62e0f6d4cf82e",
"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.BlockNode",
"m_ObjectId": "384dba03897a4d3dabae990a68981c86",
"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": "5a3213316c6847c690d0fa2aa16ebce9"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Tangent"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "459e1c263a434642a48e5bc7038acbcb",
"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": "fe990850dbc7460f9aa4677d68814b5c"
}
],
"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.BlockNode",
"m_ObjectId": "527fb1ea84be4da18ea01b19f139f0da",
"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": "8dd8444cb65041fc9da1c2a912ef4080"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Normal"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "54c4222f9d3d4cc5acef0b8491379fe6",
"m_Id": 3,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "5a3213316c6847c690d0fa2aa16ebce9",
"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.Vector1MaterialSlot",
"m_ObjectId": "5eb5780fd88f4c67a5fe0bd512da0cb6",
"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.BlockNode",
"m_ObjectId": "60445ca25eec4692a0abfd0990c02d3f",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.SpriteMask",
"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": "087281cac82441f9920cadaba659b4e4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.SpriteMask"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
"m_ObjectId": "6cf4caec93b442f38e018da4714ee119",
"m_Guid": {
"m_GuidSerialized": "c5b5fbd4-b940-4c2e-85ab-1a3315732582"
},
"m_Name": "MainTex",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "MainTex",
"m_DefaultReferenceName": "_MainTex",
"m_OverrideReferenceName": "_MainTex",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"m_SerializedTexture": "{\"texture\":{\"fileID\":8400000,\"guid\":\"d98b0a5548ea65144826f134afb39a28\",\"type\":2}}",
"m_Guid": ""
},
"isMainTexture": false,
"useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "7b265aa9f2884d05a77fb67262ca2a7e",
"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": "cd64cecf75a0434a9e6eade905b0a01b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "84d699162d8041ffb5516114ccd38020",
"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\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "8dd8444cb65041fc9da1c2a912ef4080",
"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.Texture2DInputMaterialSlot",
"m_ObjectId": "97b478fdd2ea4df1a76d6436004a5b6d",
"m_Id": 1,
"m_DisplayName": "NoiseTexture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "NoiseTexture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "9a41539b149f4740a21b48d088767c47",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -761.9999389648438,
"y": -69.49998474121094,
"width": 128.49993896484376,
"height": 33.99998474121094
}
},
"m_Slots": [
{
"m_Id": "f84c273599a0468aacfb9bbcfc124776"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "6cf4caec93b442f38e018da4714ee119"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "a40fa72af22949408c9b984419d3cb76",
"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.BlockNode",
"m_ObjectId": "afed1eefcdf34633bafe75de65b90cff",
"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": "a40fa72af22949408c9b984419d3cb76"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Position"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "b0bb5f6636d040c49c1a25e46b5044be",
"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": "b297c99dd40e437ea3bab5eb0bcd9d52",
"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.SamplerStateMaterialSlot",
"m_ObjectId": "c58c8d5373ac4c389c825d624435b28d",
"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.CategoryData",
"m_ObjectId": "c5f7d35698854cd18a932b66e22d87c8",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "6cf4caec93b442f38e018da4714ee119"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "cd64cecf75a0434a9e6eade905b0a01b",
"m_Id": 0,
"m_DisplayName": "Alpha",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Alpha",
"m_StageCapability": 2,
"m_Value": 0.699999988079071,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
"m_ObjectId": "d57a434a90ba4a5db030937e07d0dbe0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Sample Texture 2D",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -816.0,
"y": 16.5,
"width": 208.0,
"height": 433.9999694824219
}
},
"m_Slots": [
{
"m_Id": "b0bb5f6636d040c49c1a25e46b5044be"
},
{
"m_Id": "2211ca96b3c04c48996c0ceb3273ea2f"
},
{
"m_Id": "00f4c12a33a14b13847688835f90b01c"
},
{
"m_Id": "5eb5780fd88f4c67a5fe0bd512da0cb6"
},
{
"m_Id": "b297c99dd40e437ea3bab5eb0bcd9d52"
},
{
"m_Id": "84d699162d8041ffb5516114ccd38020"
},
{
"m_Id": "d8c94b5f85e846afab48f58af50dbca1"
},
{
"m_Id": "c58c8d5373ac4c389c825d624435b28d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_NormalMapSpace": 0,
"m_EnableGlobalMipBias": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "d8c94b5f85e846afab48f58af50dbca1",
"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.Universal.ShaderGraph.UniversalSpriteUnlitSubTarget",
"m_ObjectId": "e6fbf8bea36b4225ba42a0520952a6e5"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "f2bc17f3fa9e44218573d307142f00cd",
"m_Id": 8,
"m_DisplayName": "GUITexture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "GUITexture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "f84c273599a0468aacfb9bbcfc124776",
"m_Id": 0,
"m_DisplayName": "MainTex",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "fc1db5a5d6324935b87c10b29a7fff6e",
"m_Group": {
"m_Id": ""
},
"m_Name": "GradientedDissolve (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -431.7962646484375,
"y": -90.59124755859375,
"width": 265.5,
"height": 469.9999694824219
}
},
"m_Slots": [
{
"m_Id": "97b478fdd2ea4df1a76d6436004a5b6d"
},
{
"m_Id": "f2bc17f3fa9e44218573d307142f00cd"
},
{
"m_Id": "282f814dedd840c9ac7a2033adb82eba"
},
{
"m_Id": "54c4222f9d3d4cc5acef0b8491379fe6"
},
{
"m_Id": "0691569eab464a10902136d2bc2dabc9"
},
{
"m_Id": "17cfe3bf37434fe68f641d7bd6fe7a6f"
},
{
"m_Id": "0c66e201efaf43aa836e04761cf55d52"
},
{
"m_Id": "2cbd3d1691ef49f895b62e0f6d4cf82e"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "GradientedDissolve",
"m_FunctionSource": "4d00f14684aea4e7d824a9052cb813a3",
"m_FunctionBody": "half noise = SAMPLE_TEXTURE2D(NoiseTexture, NoiseSS, UV).r;\n_out = SAMPLE_TEXTURE2D(BaseTexture, NoiseSS, UV);\nnoise = pow(noise, NoisePow);\nnoise = noise * (1-UV.x);\nnoise += Th;\n\nbool inRange = UV2.x >= 0.0 && UV2.x <= 1.0 && UV2.y >= 0.0 && UV2.y <= 1.0;\n\nfloat guiIntensity = 0.0;\n\nif (inRange)\n{\n\thalf3 guiSample = SAMPLE_TEXTURE2D_LOD(GUITexture, NoiseSS, UV2, 0).xyz;\n\thalf3 guiSampleLow = SAMPLE_TEXTURE2D_LOD(GUITexture, NoiseSS, UV2, 3).xyz;\n\tif (noise > 1.0)\n\t{\n\t\tnoise = 1.0;\n\t\t_out.xyz = _out.xyz * (guiSample+OffsetColor);\n\t}\n\telse if ((noise + Width ) > 1.0)\n\t{\n\t\tnoise = (noise + Width - 1.0)/Width;\n\t\thalf3 gui = lerp(guiSampleLow, guiSampleLow, noise);\n\t\thalf3 full = _out.xyz * gui;\n\t\t_out.xyz = lerp(_out, full, noise);\n\t}\n\telse {\n \t\tnoise = 0.0;\n\t}\n}"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "fe990850dbc7460f9aa4677d68814b5c",
"m_Id": 0,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BaseColor",
"m_StageCapability": 2,
"m_Value": {
"x": 1.0,
"y": 1.0,
"z": 1.0
},
"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
}
}