added dissapear shader & flare removed from sun

This commit is contained in:
2024-04-17 15:54:22 +01:00
parent f27043f1f0
commit a34c1e2c59
9 changed files with 1391 additions and 41 deletions

View File

@@ -14,6 +14,12 @@
},
{
"m_Id": "cdd70c0b734e4c82b99e84d9ca9c70d9"
},
{
"m_Id": "b78f890850f74440a5ad2d3d6884d124"
},
{
"m_Id": "3684cf544dbe4e7eacdb6d58bf97807c"
}
],
"m_Keywords": [],
@@ -86,6 +92,21 @@
},
{
"m_Id": "74d10fd7559a475899613c1c408bdffe"
},
{
"m_Id": "081ca621f421442eb8a6fe5f03cae0f4"
},
{
"m_Id": "43940414a78e4d0cb331d73b2b8aa45a"
},
{
"m_Id": "da2073658a1b4391b7694ebf408bbf90"
},
{
"m_Id": "823835a9229c4762a154fc64a0948948"
},
{
"m_Id": "a0af231887b0442888c71a942a0f86fb"
}
],
"m_GroupDatas": [
@@ -118,6 +139,20 @@
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "081ca621f421442eb8a6fe5f03cae0f4"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "823835a9229c4762a154fc64a0948948"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -174,6 +209,20 @@
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "43940414a78e4d0cb331d73b2b8aa45a"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "8637c75e09654205ad4f8459494695a8"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -211,11 +260,25 @@
},
"m_InputSlot": {
"m_Node": {
"m_Id": "8637c75e09654205ad4f8459494695a8"
"m_Id": "43940414a78e4d0cb331d73b2b8aa45a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "823835a9229c4762a154fc64a0948948"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "da2073658a1b4391b7694ebf408bbf90"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -244,6 +307,20 @@
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a0af231887b0442888c71a942a0f86fb"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "823835a9229c4762a154fc64a0948948"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -356,6 +433,20 @@
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "da2073658a1b4391b7694ebf408bbf90"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "43940414a78e4d0cb331d73b2b8aa45a"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -404,8 +495,8 @@
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
"x": -0.0000133514404296875,
"y": 223.00001525878907
},
"m_Blocks": [
{
@@ -546,6 +637,42 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "081ca621f421442eb8a6fe5f03cae0f4",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1340.0,
"y": 951.0,
"width": 134.0001220703125,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "10aeea874dd04413ae2fa03f1c3d2f98"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "b78f890850f74440a5ad2d3d6884d124"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
@@ -630,6 +757,20 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "10aeea874dd04413ae2fa03f1c3d2f98",
"m_Id": 0,
"m_DisplayName": "_Dissapear",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
@@ -825,6 +966,21 @@
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "26f6a9e3a67c4112b5f9fd55a037a2db",
"m_Id": 0,
"m_DisplayName": "Out",
"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",
@@ -866,6 +1022,54 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "28e9905b76fc463da241fde5ccc381ac",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.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.Vector1MaterialSlot",
@@ -925,6 +1129,30 @@
"m_Value": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "327236d59d4f4989bd498c322ee6b3d8",
"m_Id": 3,
"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_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDTarget",
@@ -984,6 +1212,34 @@
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "3684cf544dbe4e7eacdb6d58bf97807c",
"m_Guid": {
"m_GuidSerialized": "67fcd608-2147-4a47-ac6b-08ce5c6b09c2"
},
"m_Name": "_DissapearValue",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "_DissapearValue",
"m_DefaultReferenceName": "_DissapearValue",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"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.Texture2DMaterialSlot",
@@ -997,6 +1253,49 @@
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "43940414a78e4d0cb331d73b2b8aa45a",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -649.0,
"y": 407.0,
"width": 207.99996948242188,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "b639febb92554714a783555efab46a93"
},
{
"m_Id": "47c312f7d8bd46e1a94ed016b6d0eb83"
},
{
"m_Id": "28e9905b76fc463da241fde5ccc381ac"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
@@ -1014,6 +1313,12 @@
},
{
"m_Id": "cdd70c0b734e4c82b99e84d9ca9c70d9"
},
{
"m_Id": "b78f890850f74440a5ad2d3d6884d124"
},
{
"m_Id": "3684cf544dbe4e7eacdb6d58bf97807c"
}
]
}
@@ -1031,6 +1336,69 @@
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "475090740a314f41a037738ae12ecc53",
"m_Id": 0,
"m_DisplayName": "_DissapearValue",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "47c312f7d8bd46e1a94ed016b6d0eb83",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 2.0,
"e01": 2.0,
"e02": 2.0,
"e03": 2.0,
"e10": 2.0,
"e11": 2.0,
"e12": 2.0,
"e13": 2.0,
"e20": 2.0,
"e21": 2.0,
"e22": 2.0,
"e23": 2.0,
"e30": 2.0,
"e31": 2.0,
"e32": 2.0,
"e33": 2.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.BranchNode",
@@ -1115,6 +1483,21 @@
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5193a95830e840eb8beaaf3711cbb14e",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.Rendering.HighDefinition.ShaderGraph.HDUnlitData",
@@ -1123,6 +1506,30 @@
"m_DistortionOnly": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "5939039fba3e420a893d2d318f05a6b3",
"m_Id": 2,
"m_DisplayName": "False",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "False",
"m_StageCapability": 3,
"m_Value": {
"x": 1.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.Vector3MaterialSlot",
@@ -1416,6 +1823,52 @@
"m_Value": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BranchNode",
"m_ObjectId": "823835a9229c4762a154fc64a0948948",
"m_Group": {
"m_Id": ""
},
"m_Name": "Branch",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1128.0,
"y": 911.9999389648438,
"width": 170.0,
"height": 142.00006103515626
}
},
"m_Slots": [
{
"m_Id": "dcdcca473c61457ebed67b816b661b50"
},
{
"m_Id": "e99d70a6413542699eb5397f5972a4d4"
},
{
"m_Id": "5939039fba3e420a893d2d318f05a6b3"
},
{
"m_Id": "327236d59d4f4989bd498c322ee6b3d8"
}
],
"synonyms": [
"switch",
"if",
"else"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BranchNode",
@@ -1736,6 +2189,42 @@
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "a0af231887b0442888c71a942a0f86fb",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1526.0,
"y": 985.0,
"width": 161.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "475090740a314f41a037738ae12ecc53"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "3684cf544dbe4e7eacdb6d58bf97807c"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
@@ -1952,6 +2441,54 @@
"m_Space": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "b639febb92554714a783555efab46a93",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.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.BranchNode",
@@ -2012,6 +2549,29 @@
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.BooleanShaderProperty",
"m_ObjectId": "b78f890850f74440a5ad2d3d6884d124",
"m_Guid": {
"m_GuidSerialized": "aa61266d-2c97-4741-a228-b5f3f4054725"
},
"m_Name": "_Dissapear",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "_Dissapear",
"m_DefaultReferenceName": "_Dissapear",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
@@ -2355,6 +2915,63 @@
"m_SerializedDescriptor": "VertexDescription.Normal"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1Node",
"m_ObjectId": "da2073658a1b4391b7694ebf408bbf90",
"m_Group": {
"m_Id": ""
},
"m_Name": "Float",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -891.9999389648438,
"y": 671.0,
"width": 126.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "5193a95830e840eb8beaaf3711cbb14e"
},
{
"m_Id": "26f6a9e3a67c4112b5f9fd55a037a2db"
}
],
"synonyms": [
"Vector 1",
"1",
"v1",
"vec1",
"scalar"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": 0.0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",
"m_ObjectId": "dcdcca473c61457ebed67b816b661b50",
"m_Id": 0,
"m_DisplayName": "Predicate",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Predicate",
"m_StageCapability": 3,
"m_Value": false,
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
@@ -2443,6 +3060,30 @@
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e99d70a6413542699eb5397f5972a4d4",
"m_Id": 1,
"m_DisplayName": "True",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "True",
"m_StageCapability": 3,
"m_Value": {
"x": 0.5,
"y": 1.0,
"z": 1.0,
"w": 1.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",