Added Fog and other fixes

This commit is contained in:
2026-07-06 18:01:21 +03:00
parent fc837b2f9a
commit 72b48492cc
573 changed files with 397423 additions and 104 deletions
@@ -0,0 +1,372 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "61cbc39c8e3b4bbb81f636895837f064",
"m_Properties": [
{
"m_Id": "06fbe7b1d2234c729c28a083de333efa"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "d542ddbd760b4af8828275edad311676"
}
],
"m_Nodes": [
{
"m_Id": "2e00f555dfaa42d1afae336b6c667730"
},
{
"m_Id": "a26e5370b43042efa5b58f4f6322307b"
},
{
"m_Id": "6efd54a9f1604f0d9e979544545f4915"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6efd54a9f1604f0d9e979544545f4915"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2e00f555dfaa42d1afae336b6c667730"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6efd54a9f1604f0d9e979544545f4915"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2e00f555dfaa42d1afae336b6c667730"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a26e5370b43042efa5b58f4f6322307b"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "6efd54a9f1604f0d9e979544545f4915"
},
"m_SlotId": 1
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": []
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "2e00f555dfaa42d1afae336b6c667730"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
"m_ObjectId": "06fbe7b1d2234c729c28a083de333efa",
"m_Guid": {
"m_GuidSerialized": "3849fef3-8634-4aa8-9452-347031f6c51e"
},
"m_Name": "Texture",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Texture",
"m_DefaultReferenceName": "_Texture",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_DismissedVersion": 0,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_PerRendererData": false,
"m_customAttributes": [],
"m_Value": {
"m_SerializedTexture": "",
"m_Guid": ""
},
"isMainTexture": false,
"useTilingAndOffset": false,
"useTexelSize": true,
"m_Modifiable": true,
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "2e00f555dfaa42d1afae336b6c667730",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -239.33334350585938,
"y": -27.333314895629884,
"width": 106.66664123535156,
"height": 102.6666488647461
}
},
"m_Slots": [
{
"m_Id": "a4590e32ebd844c28bb0fada88bc28b2"
},
{
"m_Id": "b084f9f14a0f463ebcfa575826810caf"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "4236a41369c144f69de2e953f77d6ea1",
"m_Id": 2,
"m_DisplayName": "output2D",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "output2D",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "593352e3420d4a9fbed9290bd74670a7",
"m_Id": 0,
"m_DisplayName": "Texture",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "6b1174034c3a405390ccbc898a3add31",
"m_Id": 1,
"m_DisplayName": "tex",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "tex",
"m_StageCapability": 3,
"m_BareResource": true,
"m_Texture": {
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "6efd54a9f1604f0d9e979544545f4915",
"m_Group": {
"m_Id": ""
},
"m_Name": "GetTextureAspectRatio (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -526.666748046875,
"y": -27.333314895629884,
"width": 287.3334045410156,
"height": 120.0000228881836
}
},
"m_Slots": [
{
"m_Id": "6b1174034c3a405390ccbc898a3add31"
},
{
"m_Id": "7b04bb1c11224c849ac39737ecea6fa8"
},
{
"m_Id": "4236a41369c144f69de2e953f77d6ea1"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "GetTextureAspectRatio",
"m_FunctionSource": "e1cef759db2f35f4982fbc961ae6fb84",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7b04bb1c11224c849ac39737ecea6fa8",
"m_Id": 0,
"m_DisplayName": "output1D",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "output1D",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "a26e5370b43042efa5b58f4f6322307b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -668.0,
"y": -27.333335876464845,
"width": 126.66668701171875,
"height": 36.0
}
},
"m_Slots": [
{
"m_Id": "593352e3420d4a9fbed9290bd74670a7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "06fbe7b1d2234c729c28a083de333efa"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "a4590e32ebd844c28bb0fada88bc28b2",
"m_Id": 1,
"m_DisplayName": "output1D",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "output1D",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "b084f9f14a0f463ebcfa575826810caf",
"m_Id": 2,
"m_DisplayName": "output2D",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "output2D",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "d542ddbd760b4af8828275edad311676",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "06fbe7b1d2234c729c28a083de333efa"
}
]
}