shader color added to match sky color

This commit is contained in:
2024-05-01 15:08:36 +01:00
parent 2408b8d57d
commit b79865919d
5 changed files with 513 additions and 35 deletions

View File

@@ -20,6 +20,9 @@
},
{
"m_Id": "3684cf544dbe4e7eacdb6d58bf97807c"
},
{
"m_Id": "42562f3397de4dada4294847ce7d9e5a"
}
],
"m_Keywords": [],
@@ -107,6 +110,15 @@
},
{
"m_Id": "a0af231887b0442888c71a942a0f86fb"
},
{
"m_Id": "2092d1bf38844c56b5b752215f9be5e4"
},
{
"m_Id": "825af1714a044df7b8254e6d7ec0dd7f"
},
{
"m_Id": "6401a1eec1324e9ea1b13039ad769ade"
}
],
"m_GroupDatas": [
@@ -167,6 +179,20 @@
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2092d1bf38844c56b5b752215f9be5e4"
},
"m_SlotId": 4
},
"m_InputSlot": {
"m_Node": {
"m_Id": "8637c75e09654205ad4f8459494695a8"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -209,20 +235,6 @@
"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": {
@@ -237,6 +249,20 @@
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6401a1eec1324e9ea1b13039ad769ade"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2092d1bf38844c56b5b752215f9be5e4"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -251,6 +277,20 @@
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "74d10fd7559a475899613c1c408bdffe"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2092d1bf38844c56b5b752215f9be5e4"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -265,6 +305,20 @@
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "823835a9229c4762a154fc64a0948948"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "825af1714a044df7b8254e6d7ec0dd7f"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -279,6 +333,34 @@
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "825af1714a044df7b8254e6d7ec0dd7f"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2092d1bf38844c56b5b752215f9be5e4"
},
"m_SlotId": 3
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "825af1714a044df7b8254e6d7ec0dd7f"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2092d1bf38844c56b5b752215f9be5e4"
},
"m_SlotId": 5
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -649,9 +731,9 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1340.0,
"y": 951.0,
"width": 134.0001220703125,
"x": -1626.0,
"y": 996.0,
"width": 134.0,
"height": 34.0
}
},
@@ -900,6 +982,54 @@
"m_SupportLodCrossFade": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ReplaceColorNode",
"m_ObjectId": "2092d1bf38844c56b5b752215f9be5e4",
"m_Group": {
"m_Id": ""
},
"m_Name": "Replace Color",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -613.0,
"y": 725.0,
"width": 208.00006103515626,
"height": 374.0001220703125
}
},
"m_Slots": [
{
"m_Id": "8ad718d31cdb4c2baf24986ac38a33f8"
},
{
"m_Id": "d709a76e4b044e7e96744cf579a6218d"
},
{
"m_Id": "b17d7bf16eb64888b8cfc250165fe312"
},
{
"m_Id": "421ea56ef8994bc4a206bf6000de691a"
},
{
"m_Id": "448142dfba8a41f79dd70f6c4fc2b8a9"
},
{
"m_Id": "c9be06075eb047109d496fefe5717ba7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
@@ -1253,6 +1383,75 @@
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "416bcec289f2443aa4d2dc5e8ddf817e",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "421ea56ef8994bc4a206bf6000de691a",
"m_Id": 3,
"m_DisplayName": "Range",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Range",
"m_StageCapability": 3,
"m_Value": 0.6000000238418579,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "42562f3397de4dada4294847ce7d9e5a",
"m_Guid": {
"m_GuidSerialized": "cbd2771f-366e-4775-ade5-8b748787af61"
},
"m_Name": "_DissapearColor",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "_DissapearColor",
"m_DefaultReferenceName": "_DissapearColor",
"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": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"isMainColor": false,
"m_ColorMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
@@ -1265,10 +1464,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -649.0,
"y": 407.0,
"width": 207.99996948242188,
"height": 302.0
"x": -954.0,
"y": 423.0000305175781,
"width": 208.0,
"height": 302.0000305175781
}
},
"m_Slots": [
@@ -1296,6 +1495,21 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "448142dfba8a41f79dd70f6c4fc2b8a9",
"m_Id": 5,
"m_DisplayName": "Fuzziness",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Fuzziness",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
@@ -1319,6 +1533,9 @@
},
{
"m_Id": "3684cf544dbe4e7eacdb6d58bf97807c"
},
{
"m_Id": "42562f3397de4dada4294847ce7d9e5a"
}
]
}
@@ -1575,6 +1792,42 @@
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "6401a1eec1324e9ea1b13039ad769ade",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -826.9999389648438,
"y": 816.0,
"width": 162.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "7b1cc926014543278387bb774bc2640c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "42562f3397de4dada4294847ce7d9e5a"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -1602,6 +1855,30 @@
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "68b60fba74604ad3b785848241079a20",
"m_Id": 2,
"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.ShaderGraph.DynamicVectorMaterialSlot",
@@ -1776,6 +2053,31 @@
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "7b1cc926014543278387bb774bc2640c",
"m_Id": 0,
"m_DisplayName": "_DissapearColor",
"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.DynamicVectorMaterialSlot",
@@ -1835,10 +2137,10 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1128.0,
"y": 911.9999389648438,
"x": -1414.0,
"y": 957.0,
"width": 170.0,
"height": 142.00006103515626
"height": 142.0
}
},
"m_Slots": [
@@ -1869,6 +2171,50 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubtractNode",
"m_ObjectId": "825af1714a044df7b8254e6d7ec0dd7f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Subtract",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1043.0,
"y": 1052.0,
"width": 208.0,
"height": 302.0
}
},
"m_Slots": [
{
"m_Id": "416bcec289f2443aa4d2dc5e8ddf817e"
},
{
"m_Id": "e82f2a20504d436ab99003ee506b62f5"
},
{
"m_Id": "68b60fba74604ad3b785848241079a20"
}
],
"synonyms": [
"subtraction",
"remove",
"minus",
"take away"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BranchNode",
@@ -2009,6 +2355,29 @@
"inspectorFoldoutMask": 9
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "8ad718d31cdb4c2baf24986ac38a33f8",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.GroupData",
@@ -2201,8 +2570,8 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1526.0,
"y": 985.0,
"x": -1812.0,
"y": 1030.0,
"width": 161.0,
"height": 34.0
}
@@ -2347,6 +2716,36 @@
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "b17d7bf16eb64888b8cfc250165fe312",
"m_Id": 2,
"m_DisplayName": "To",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "To",
"m_StageCapability": 3,
"m_Value": {
"x": 1.0,
"y": 0.0,
"z": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_ColorMode": 0,
"m_DefaultColor": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BranchNode",
@@ -2700,6 +3099,29 @@
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "c9be06075eb047109d496fefe5717ba7",
"m_Id": 4,
"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": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -2775,7 +3197,7 @@
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_SerializedTexture": "{\"texture\":{\"fileID\":2800000,\"guid\":\"a8892f830876f50488e9bd05d6541488\",\"type\":3}}",
"m_Guid": ""
},
"isMainTexture": false,
@@ -2857,6 +3279,36 @@
"m_Channel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "d709a76e4b044e7e96744cf579a6218d",
"m_Id": 1,
"m_DisplayName": "From",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "From",
"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": [],
"m_ColorMode": 0,
"m_DefaultColor": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
@@ -2927,9 +3379,9 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -891.9999389648438,
"y": 671.0,
"width": 126.0,
"x": -1106.0,
"y": 919.0,
"width": 126.00006103515625,
"height": 77.0
}
},
@@ -3046,6 +3498,30 @@
"m_DefaultValue": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "e82f2a20504d436ab99003ee506b62f5",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BooleanMaterialSlot",