added 'ts' command to change timescale in debug builds; triplanar mapping for infected area textures

This commit is contained in:
2025-09-15 01:11:41 +02:00
parent 224d55aec6
commit d8ff9c0964
7 changed files with 338 additions and 271 deletions

View File

@@ -93,9 +93,6 @@
{
"m_Id": "ab191d78335249ada9055cc5f54ef422"
},
{
"m_Id": "adf2d2cc4f65413eab1c01873fe5f516"
},
{
"m_Id": "cbebafcd07d04a6cbccc50f0c22ca67a"
},
@@ -119,6 +116,9 @@
},
{
"m_Id": "06390cc1dc1243438ff0b8a22ff790bc"
},
{
"m_Id": "0438d4aae01d432ba99fb4874ba07592"
}
],
"m_GroupDatas": [
@@ -128,6 +128,20 @@
],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "0438d4aae01d432ba99fb4874ba07592"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a637532a60224fcbace1c7376f2fcab0"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -170,20 +184,6 @@
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "13cece4467b943179df4b69b22a93ce1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "adf2d2cc4f65413eab1c01873fe5f516"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -431,21 +431,7 @@
},
"m_InputSlot": {
"m_Node": {
"m_Id": "adf2d2cc4f65413eab1c01873fe5f516"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "adf2d2cc4f65413eab1c01873fe5f516"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "a637532a60224fcbace1c7376f2fcab0"
"m_Id": "0438d4aae01d432ba99fb4874ba07592"
},
"m_SlotId": 1
}
@@ -699,17 +685,58 @@
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0472b36f44fa4ba29a848b64fa92c496",
"m_Id": 5,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
"m_Type": "UnityEditor.ShaderGraph.TriplanarNode",
"m_ObjectId": "0438d4aae01d432ba99fb4874ba07592",
"m_Group": {
"m_Id": ""
},
"m_Name": "Triplanar",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -685.0,
"y": -121.0,
"width": 172.0,
"height": 249.0
}
},
"m_Slots": [
{
"m_Id": "5e69f59297aa49e5943cefba5208cc9a"
},
{
"m_Id": "3445d8f7f7ac441999f7260131e44a47"
},
{
"m_Id": "0d888fc141014b62a747b06e53735736"
},
{
"m_Id": "41a7033622984bc7b931f40efddc84bb"
},
{
"m_Id": "3741c41252dc41fc88b5959e96846835"
},
{
"m_Id": "d145148fa98447409f69eb31c00028c7"
},
{
"m_Id": "20cebd56c5ac433ea3d896e899cea18e"
}
],
"synonyms": [
"project"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 2,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_InputSpace": 4,
"m_NormalOutputSpace": 3
}
{
@@ -857,6 +884,19 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "0d888fc141014b62a747b06e53735736",
"m_Id": 2,
"m_DisplayName": "Sampler",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Sampler",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
@@ -882,21 +922,6 @@
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0e9b1b037dc94fa5910d69167e0d3e7b",
"m_Id": 6,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
@@ -1309,20 +1334,17 @@
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "22203d5813d64639bbde594349a35753",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "20cebd56c5ac433ea3d896e899cea18e",
"m_Id": 6,
"m_DisplayName": "Blend",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_ShaderOutputName": "Blend",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
@@ -1526,6 +1548,48 @@
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "3445d8f7f7ac441999f7260131e44a47",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "3741c41252dc41fc88b5959e96846835",
"m_Id": 4,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Normal",
"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_Space": 4
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
@@ -1550,21 +1614,6 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "39a1d1bdca5a4345b60eb263d13588a5",
"m_Id": 7,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
@@ -1722,9 +1771,9 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -675.0,
"y": -204.0,
"width": 105.0,
"x": -599.0,
"y": -190.0,
"width": 98.0,
"height": 34.0
}
},
@@ -1746,6 +1795,30 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "41a7033622984bc7b931f40efddc84bb",
"m_Id": 3,
"m_DisplayName": "Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Position",
"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_Space": 4
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
@@ -2007,6 +2080,31 @@
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "5e69f59297aa49e5943cefba5208cc9a",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 2,
"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.Internal.Texture2DShaderProperty",
@@ -2207,19 +2305,6 @@
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "6f31d1a585164492996479bc0d4c98b0",
"m_Id": 3,
"m_DisplayName": "Sampler",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Sampler",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
@@ -2285,21 +2370,6 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7445c2c71cbc4d529f3b164a5734e37b",
"m_Id": 4,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
@@ -3154,8 +3224,8 @@
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -985.0,
"y": -114.0,
"x": -905.0,
"y": -138.0,
"width": 169.0,
"height": 34.0
}
@@ -3178,31 +3248,6 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "abdcc23ef32643a786b231dedc0fd777",
"m_Id": 0,
"m_DisplayName": "RGBA",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "RGBA",
"m_StageCapability": 2,
"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.Vector1MaterialSlot",
@@ -3218,66 +3263,6 @@
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SampleTexture2DNode",
"m_ObjectId": "adf2d2cc4f65413eab1c01873fe5f516",
"m_Group": {
"m_Id": ""
},
"m_Name": "Sample Texture 2D",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -796.0,
"y": -97.0,
"width": 208.0,
"height": 435.0
}
},
"m_Slots": [
{
"m_Id": "abdcc23ef32643a786b231dedc0fd777"
},
{
"m_Id": "7445c2c71cbc4d529f3b164a5734e37b"
},
{
"m_Id": "0472b36f44fa4ba29a848b64fa92c496"
},
{
"m_Id": "0e9b1b037dc94fa5910d69167e0d3e7b"
},
{
"m_Id": "39a1d1bdca5a4345b60eb263d13588a5"
},
{
"m_Id": "22203d5813d64639bbde594349a35753"
},
{
"m_Id": "b3c961e1374546edb74508bf827be7ba"
},
{
"m_Id": "6f31d1a585164492996479bc0d4c98b0"
}
],
"synonyms": [
"tex2d"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_NormalMapSpace": 0,
"m_EnableGlobalMipBias": true,
"m_MipSamplingMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
@@ -3413,28 +3398,6 @@
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "b3c961e1374546edb74508bf827be7ba",
"m_Id": 2,
"m_DisplayName": "UV",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "UV",
"m_StageCapability": 3,
"m_Value": {
"x": 0.0,
"y": 0.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": [],
"m_Channel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
@@ -3660,6 +3623,21 @@
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d145148fa98447409f69eb31c00028c7",
"m_Id": 5,
"m_DisplayName": "Tile",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Tile",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",