Files
RoomAwareVR/Assets/Fragilem17/Portals for VR/Shaders/CutoutSphere.shadergraph
2025-05-26 00:46:28 +02:00

823 lines
19 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "b83bac1f702b4e5c88826d8169acbc34",
"m_Properties": [
{
"m_Id": "0890415800f3472bb5cc560ff55b5701"
},
{
"m_Id": "36134e216baa4f07bf9703a2902709c1"
},
{
"m_Id": "8321f67f5c7e4b47b2c0b16733e31888"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "6630d8a9ba4449ba8354a78a1be4fb54"
}
],
"m_Nodes": [
{
"m_Id": "9f878324ff1a42e985bc7ebc7fd67103"
},
{
"m_Id": "32d8c037d2704d52bd32a52510014634"
},
{
"m_Id": "e42d1a09a59c4ab99fd6e2f5f8c9063d"
},
{
"m_Id": "a6490031e78148ba877e92835b538eb4"
},
{
"m_Id": "2740bda88c1e4965b3b2fef5ae45cbc3"
},
{
"m_Id": "acd79c7bdf444b97852fd25f53571f10"
},
{
"m_Id": "ce7fff3d1c564d1e953d0c9ee07373f9"
},
{
"m_Id": "72a1489b7b924dd9ab38185485301256"
},
{
"m_Id": "fdad6ae44eaf450d886b4a34754a2054"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "72a1489b7b924dd9ab38185485301256"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "ce7fff3d1c564d1e953d0c9ee07373f9"
},
"m_SlotId": -531680669
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ce7fff3d1c564d1e953d0c9ee07373f9"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a6490031e78148ba877e92835b538eb4"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "fdad6ae44eaf450d886b4a34754a2054"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "ce7fff3d1c564d1e953d0c9ee07373f9"
},
"m_SlotId": -1055057965
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "9f878324ff1a42e985bc7ebc7fd67103"
},
{
"m_Id": "32d8c037d2704d52bd32a52510014634"
},
{
"m_Id": "e42d1a09a59c4ab99fd6e2f5f8c9063d"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "a6490031e78148ba877e92835b538eb4"
},
{
"m_Id": "2740bda88c1e4965b3b2fef5ae45cbc3"
},
{
"m_Id": "acd79c7bdf444b97852fd25f53571f10"
}
]
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Shader Graphs",
"m_GraphPrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": ""
},
"m_ActiveTargets": [
{
"m_Id": "5134d71d52554ba582ae8da72d7ab535"
}
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector4ShaderProperty",
"m_ObjectId": "0890415800f3472bb5cc560ff55b5701",
"m_Guid": {
"m_GuidSerialized": "ea509da0-d44d-41b0-aebe-9881b6cacee9"
},
"m_Name": "SphereParams1",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector4_0890415800f3472bb5cc560ff55b5701",
"m_OverrideReferenceName": "_SphereParams1",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"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": "095e0c8f4e1f4ff3a3515d00c011ca3e",
"m_Id": 0,
"m_DisplayName": "Smoothness",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "10bee6d1d5c345e299b9d2e1d67abe72",
"m_Id": 1,
"m_DisplayName": "Out_Float",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out_Float",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "1173ac0121734604b968622a3c3345b5",
"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.BlockNode",
"m_ObjectId": "2740bda88c1e4965b3b2fef5ae45cbc3",
"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": "faeb9da9d20448c7aea86b4a0ee3d2f5"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "31c333df734646c4bbce0456db1a42bd"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "32d8c037d2704d52bd32a52510014634",
"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": "f20493b8b1ce4f878684226c6a9b5b6d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Normal"
}
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "36134e216baa4f07bf9703a2902709c1",
"m_Guid": {
"m_GuidSerialized": "753efabe-b298-430d-af62-c7cb354b46d2"
},
"m_Name": "Color",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Color_36134e216baa4f07bf9703a2902709c1",
"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": 0
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "5134d71d52554ba582ae8da72d7ab535",
"m_ActiveSubTarget": {
"m_Id": "31c333df734646c4bbce0456db1a42bd"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZTestMode": 4,
"m_ZWriteControl": 0,
"m_AlphaMode": 0,
"m_RenderFace": 0,
"m_AlphaClip": true,
"m_CastShadows": true,
"m_ReceiveShadows": true,
"m_CustomEditorGUI": "",
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "6630d8a9ba4449ba8354a78a1be4fb54",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "0890415800f3472bb5cc560ff55b5701"
},
{
"m_Id": "36134e216baa4f07bf9703a2902709c1"
},
{
"m_Id": "8321f67f5c7e4b47b2c0b16733e31888"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "67ef54921bde48dcac746efd57a64ee6",
"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.PropertyNode",
"m_ObjectId": "72a1489b7b924dd9ab38185485301256",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1213.0,
"y": 88.00004577636719,
"width": 159.0,
"height": 33.99998474121094
}
},
"m_Slots": [
{
"m_Id": "861a296fa2a44686b7d8031ca33b0194"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "0890415800f3472bb5cc560ff55b5701"
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "8321f67f5c7e4b47b2c0b16733e31888",
"m_Guid": {
"m_GuidSerialized": "a62d5439-5170-46b1-b372-2d04b45a5bb7"
},
"m_Name": "Smoothness",
"m_DefaultRefNameVersion": 0,
"m_RefNameGeneratedByDisplayName": "",
"m_DefaultReferenceName": "Vector1_8321f67f5c7e4b47b2c0b16733e31888",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"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.Vector4MaterialSlot",
"m_ObjectId": "861a296fa2a44686b7d8031ca33b0194",
"m_Id": 0,
"m_DisplayName": "SphereParams1",
"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": "91b73752260844cf9d3dae49e3b18265",
"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
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "9f878324ff1a42e985bc7ebc7fd67103",
"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": "67ef54921bde48dcac746efd57a64ee6"
}
],
"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.BlockNode",
"m_ObjectId": "a6490031e78148ba877e92835b538eb4",
"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": "91b73752260844cf9d3dae49e3b18265"
}
],
"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.Vector1MaterialSlot",
"m_ObjectId": "a9134dfdcb2c4bfba2a32c51bdc0c597",
"m_Id": 0,
"m_DisplayName": "Alpha Clip Threshold",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "AlphaClipThreshold",
"m_StageCapability": 2,
"m_Value": 0.5,
"m_DefaultValue": 0.5,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "ac3e7d96977c40af87e79c327fb9629d",
"m_Id": -531680669,
"m_DisplayName": "SphereParams",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_SphereParams",
"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": "acd79c7bdf444b97852fd25f53571f10",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.AlphaClipThreshold",
"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": "a9134dfdcb2c4bfba2a32c51bdc0c597"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.AlphaClipThreshold"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "ce7fff3d1c564d1e953d0c9ee07373f9",
"m_Group": {
"m_Id": ""
},
"m_Name": "SphereLocation",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1010.0,
"y": 49.000003814697269,
"width": 227.0,
"height": 302.00006103515627
}
},
"m_Slots": [
{
"m_Id": "ac3e7d96977c40af87e79c327fb9629d"
},
{
"m_Id": "d0b04e24d03c41dba89106c83da9400c"
},
{
"m_Id": "10bee6d1d5c345e299b9d2e1d67abe72"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"2c23c7352c2a49e4590e149582169faa\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"afd6f20e-7e78-489b-878d-2db192332fb6",
"eb000ead-7eeb-44d7-8bc2-ba761ea57018"
],
"m_PropertyIds": [
-531680669,
-1055057965
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d0b04e24d03c41dba89106c83da9400c",
"m_Id": -1055057965,
"m_DisplayName": "Blur",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_Blur",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "e42d1a09a59c4ab99fd6e2f5f8c9063d",
"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": "1173ac0121734604b968622a3c3345b5"
}
],
"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.NormalMaterialSlot",
"m_ObjectId": "f20493b8b1ce4f878684226c6a9b5b6d",
"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.Vector1MaterialSlot",
"m_ObjectId": "faeb9da9d20448c7aea86b4a0ee3d2f5",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "fdad6ae44eaf450d886b4a34754a2054",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1194.0,
"y": 122.00003051757813,
"width": 140.0,
"height": 33.99998474121094
}
},
"m_Slots": [
{
"m_Id": "095e0c8f4e1f4ff3a3515d00c011ca3e"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "8321f67f5c7e4b47b2c0b16733e31888"
}
}