Files
Studio/Assets/Shaders/AmazingAssets_WireFrameShader/Unity Shader Graph/Mask (Box).shadersubgraph
2025-02-19 17:24:26 +09:00

827 lines
19 KiB
Plaintext

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "791876371e774716a86b7700fa2f68d0",
"m_Properties": [
{
"m_Id": "93518153a762a28f8c21eb95544e2c94"
},
{
"m_Id": "93fc3552629b9780adb4487de139d5e1"
},
{
"m_Id": "8589749b646bed80babccf2dfafb484c"
},
{
"m_Id": "23e90bb4359855859ab091e0b8ac4170"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "2433ef33b51be98e946b431d6954a428"
},
{
"m_Id": "6d37c27fbc6cbb8286b7a7e2eeba570e"
},
{
"m_Id": "3a6ad0b0d45eea8fa5e323d9de8d5ad3"
},
{
"m_Id": "8fe758c84e8ae78791b4682d08b24bd1"
},
{
"m_Id": "5cb840a387da5c8984d5a67bad132f44"
},
{
"m_Id": "46cf114407553a8e9c61aa6c8b322c21"
},
{
"m_Id": "f0759993a893c28ab32c6af6be332ca9"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "3a6ad0b0d45eea8fa5e323d9de8d5ad3"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5cb840a387da5c8984d5a67bad132f44"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "46cf114407553a8e9c61aa6c8b322c21"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5cb840a387da5c8984d5a67bad132f44"
},
"m_SlotId": 5
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5cb840a387da5c8984d5a67bad132f44"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2433ef33b51be98e946b431d6954a428"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6d37c27fbc6cbb8286b7a7e2eeba570e"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5cb840a387da5c8984d5a67bad132f44"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "8fe758c84e8ae78791b4682d08b24bd1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5cb840a387da5c8984d5a67bad132f44"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "f0759993a893c28ab32c6af6be332ca9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5cb840a387da5c8984d5a67bad132f44"
},
"m_SlotId": 6
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 266.0,
"y": -5.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 266.0,
"y": 195.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
}
},
"m_Path": "Amazing Assets/Wireframe Shader",
"m_ConcretePrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "2433ef33b51be98e946b431d6954a428"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0a5c063bf5a63c81b88542d5793aec49",
"m_Id": 1,
"m_DisplayName": "Mask Value",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "MaskValue",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "0e41ee201d918383ac0879b280c074b2",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "203188124dcace819fd2015cb29927e5",
"m_Id": 2,
"m_DisplayName": "edgeFalloff",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "edgeFalloff",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "23e90bb4359855859ab091e0b8ac4170",
"m_Guid": {
"m_GuidSerialized": "baf9261c-3c39-4cdb-bbc3-1502d4a4b343"
},
"m_Name": "Invert",
"m_DefaultReferenceName": "Vector1_98EDB234",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "2433ef33b51be98e946b431d6954a428",
"m_Group": {
"m_Id": ""
},
"m_Name": "Out_Vector4",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 266.0,
"y": -5.0,
"width": 138.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "0a5c063bf5a63c81b88542d5793aec49"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "29a8500db045ad89b1cb8f4ecfb04bdc",
"m_Id": 3,
"m_DisplayName": "invert",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "invert",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "3a6ad0b0d45eea8fa5e323d9de8d5ad3",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -496.0,
"y": 276.0,
"width": 151.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "462bed1ddd40798b8f8b622894b9cd42"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "8589749b646bed80babccf2dfafb484c"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "3c6b241e76673b87989fb8fff2daf2de",
"m_Id": 0,
"m_DisplayName": "Invert",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "462bed1ddd40798b8f8b622894b9cd42",
"m_Id": 0,
"m_DisplayName": "EdgeSmooth",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "46cf114407553a8e9c61aa6c8b322c21",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -475.0,
"y": 30.0,
"width": 140.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "4efa3e58e7c91588ac7c077f6da0ffbc"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "93518153a762a28f8c21eb95544e2c94"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix4MaterialSlot",
"m_ObjectId": "4efa3e58e7c91588ac7c077f6da0ffbc",
"m_Id": 0,
"m_DisplayName": "Box TRS Matrix",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "5cb840a387da5c8984d5a67bad132f44",
"m_Group": {
"m_Id": ""
},
"m_Name": "WireframeShaderMaskBox (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -121.0,
"y": -4.0,
"width": 266.0,
"height": 166.0
}
},
"m_Slots": [
{
"m_Id": "9512839b130fa48a8921543aaee0cf0b"
},
{
"m_Id": "d7ef4bd50d826184928242a10018d066"
},
{
"m_Id": "8bea45b357259d899a6297ee80ff4151"
},
{
"m_Id": "5efe54e35f17a48286926a626634a149"
},
{
"m_Id": "203188124dcace819fd2015cb29927e5"
},
{
"m_Id": "29a8500db045ad89b1cb8f4ecfb04bdc"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "WireframeShaderMaskBox",
"m_FunctionSource": "36072c560231e604cb8f0c03c7ff456d",
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "5efe54e35f17a48286926a626634a149",
"m_Id": 1,
"m_DisplayName": "vertexPositionWS",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "vertexPositionWS",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.PositionNode",
"m_ObjectId": "6d37c27fbc6cbb8286b7a7e2eeba570e",
"m_Group": {
"m_Id": ""
},
"m_Name": "Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -546.0,
"y": 138.0,
"width": 206.0,
"height": 131.0
}
},
"m_Slots": [
{
"m_Id": "0e41ee201d918383ac0879b280c074b2"
}
],
"synonyms": [],
"m_Precision": 1,
"m_PreviewExpanded": false,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Space": 4
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "8589749b646bed80babccf2dfafb484c",
"m_Guid": {
"m_GuidSerialized": "4c1755af-d938-4686-8341-d1b75d1c2058"
},
"m_Name": "EdgeSmooth",
"m_DefaultReferenceName": "Vector1_C99B3E15",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 0.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "8bea45b357259d899a6297ee80ff4151",
"m_Id": 6,
"m_DisplayName": "Bounding Box",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BoundingBox",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "8fe758c84e8ae78791b4682d08b24bd1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -468.0,
"y": 320.0,
"width": 112.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "3c6b241e76673b87989fb8fff2daf2de"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "23e90bb4359855859ab091e0b8ac4170"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Matrix4ShaderProperty",
"m_ObjectId": "93518153a762a28f8c21eb95544e2c94",
"m_Guid": {
"m_GuidSerialized": "3d9ab294-2577-4f3f-87ca-834de4bddd71"
},
"m_Name": "Box TRS Matrix",
"m_DefaultReferenceName": "Matrix4_7F9E520A",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": false,
"m_Precision": 0,
"overrideHLSLDeclaration": true,
"hlslDeclarationOverride": 1,
"m_Hidden": false,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "93fc3552629b9780adb4487de139d5e1",
"m_Guid": {
"m_GuidSerialized": "1c05c1f9-4d01-46e8-b589-f26ccb52555b"
},
"m_Name": "Bounding Box",
"m_DefaultReferenceName": "Vector3_3109A2B7",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9512839b130fa48a8921543aaee0cf0b",
"m_Id": 4,
"m_DisplayName": "value",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "value",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"X"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Matrix4MaterialSlot",
"m_ObjectId": "d7ef4bd50d826184928242a10018d066",
"m_Id": 5,
"m_DisplayName": "Box TRS",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BoxTRS",
"m_StageCapability": 3,
"m_Value": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "ec833e3ecff18d818a63495013b4689b",
"m_Id": 0,
"m_DisplayName": "Bounding Box",
"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": [
"X",
"Y",
"Z"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "f0759993a893c28ab32c6af6be332ca9",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -492.0,
"y": 80.0,
"width": 157.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "ec833e3ecff18d818a63495013b4689b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "93fc3552629b9780adb4487de139d5e1"
}
}