Initial commit

This commit is contained in:
Thorbjoern
2025-05-26 00:46:28 +02:00
commit e5bca03433
3896 changed files with 1434297 additions and 0 deletions
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: 3dd9c7a19ab21c7408a51676b5d735e7
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/CutoffShaderForClonedPortablesLit.shadergraph
uploadId: 710348
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: b50d117a3179cec4681de16cb9342057
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/CutoffShaderForClonedPortablesUnlit.shadergraph
uploadId: 710348
@@ -0,0 +1,822 @@
{
"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"
}
}
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: 41e5f214f6a78e9448ca2dbd81612be4
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/CutoutSphere.shadergraph
uploadId: 710348
@@ -0,0 +1,17 @@
Shader "MirrorsAndPortals/Portals/DepthMask"
{
SubShader{
// Render the mask after regular geometry, but before masked geometry and
// transparent things.
Tags {"Queue" = "Geometry-2" }
// Don't draw in the RGBA channels; just the depth buffer
ColorMask 0
ZWrite On
ZTest Always
// Do nothing specific in the pass:
Pass {
}
}
}
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: 78d00eb4ce216ca4fa37051a963d34ad
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
preprocessorOverride: 0
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/DepthMask.shader
uploadId: 710348
@@ -0,0 +1,18 @@
Shader "MirrorsAndPortals/Portals/DepthMaskWithOffset"
{
SubShader{
// Render the mask after regular geometry, but before masked geometry and
// transparent things.
Tags {"Queue" = "Geometry-1" }
// Don't draw in the RGBA channels; just the depth buffer
ColorMask 0
ZWrite On
ZTest Always
// Do nothing specific in the pass:
Pass {
Offset 0,-10000000
}
}
}
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: 012445510000e9c4cbdeee0c7c40b4e1
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
preprocessorOverride: 0
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/DepthMaskWithOffset.shader
uploadId: 710348
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: 68c780b3b2c43904d9b92d5ed2339ab4
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/PortalSurfaceForARAlwaysOnTop.shadergraph
uploadId: 710348
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: a47a55574e258ae4f97fad14d64ff151
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/PortalSurfaceLite.shadergraph
uploadId: 710348
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: c121f188513a536479d741ad86dca6e2
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/PortalSurfaceLiteForAR.shadergraph
uploadId: 710348
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: 5af71fc4b5928c542b9fdabf99cec7cb
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
preprocessorOverride: 0
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/PortalSurfaceLiteOffsetAlwaysOnTop.shader
uploadId: 710348
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: de7648e64e9de6b4c8f4b8d7e2f4bdc8
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/PortalSurfaceLiteWithTint.shadergraph
uploadId: 710348
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: eb982582157789d40a874848949e95dc
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/PortalSurfaceLiteWithTintForAR.shadergraph
uploadId: 710348
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: b0d498fdf71c2b84086ba7ebcbd0f332
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/PortalSurfaceRefractiveComplex.shadergraph
uploadId: 710348
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: 74339b8c114b4484a91c29d7a813d19d
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/PortalSurfaceRefractiveComplexForAR.shadergraph
uploadId: 710348
@@ -0,0 +1,43 @@
bool IsStereoEyeLeft(float3 WorldCamPos, float3 WorldCamRight, float force)
{
if(force >= 0){
return force == 0;
}
#if defined(USING_STEREO_MATRICES)
// Unity 5.4 has this new variable
return (unity_StereoEyeIndex == 0);
#elif defined (UNITY_DECLARE_MULTIVIEW)
// OVR_multiview extension
return (UNITY_VIEWID == 0);
#else
// NOTE: Bug #1165: _WorldSpaceCameraPos is not correct in multipass VR (when skybox is used) but UNITY_MATRIX_I_V seems to be
#if defined(UNITY_MATRIX_I_V)
float3 renderCameraPos = UNITY_MATRIX_I_V._m03_m13_m23;
#else
float3 renderCameraPos = _WorldSpaceCameraPos.xyz;
#endif
float fL = distance(WorldCamPos - WorldCamRight, renderCameraPos);
float fR = distance(WorldCamPos + WorldCamRight, renderCameraPos);
return (fL < fR);
#endif
}
void StereoSwitch_half(float3 WorldCameraPosition, float3 WorldCameraRight, float Force, float4 Left, float4 Right, out float4 Out) {
Out = Left;
if (IsStereoEyeLeft(WorldCameraPosition, WorldCameraRight, Force)){
Out = Left;
}
else {
Out = Right;
}
}
void StereoSwitch_float(float3 WorldCameraPosition, float3 WorldCameraRight, float Force, float4 Left, float4 Right, out float4 Out) {
Out = Left;
if (IsStereoEyeLeft(WorldCameraPosition, WorldCameraRight, Force)){
Out = Left;
}
else {
Out = Right;
}
}
@@ -0,0 +1,14 @@
fileFormatVersion: 2
guid: 37169a63c516c4b4cae47fa6818a9e38
ShaderIncludeImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/Portals.cginc
uploadId: 710348
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: 2c23c7352c2a49e4590e149582169faa
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/SphereLocation.shadersubgraph
uploadId: 710348
@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: 36ec4452c207dc54baee14adb72d8de9
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 228871
packageName: Portals for VR
packageVersion: 1.2.1
assetPath: Assets/Fragilem17/Portals for VR/Shaders/StereoTexturesInScreenPosPortals.shadersubgraph
uploadId: 710348