wip: Critical Path Blocking

This commit is contained in:
Alexandre Coirier
2026-05-20 23:05:52 +02:00
parent 55e19eb959
commit ce17cbbe8b
36 changed files with 4180 additions and 16 deletions
@@ -2,7 +2,17 @@
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "dfae0c79c32f45deaafe47100e0601a6",
"m_Properties": [],
"m_Properties": [
{
"m_Id": "08486ae2121449aaafe8f38239ac604f"
},
{
"m_Id": "5729f5e15d094057b8c7e0e6819e2879"
},
{
"m_Id": "230ace1715f9446c8b246e13baf7d607"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
@@ -52,6 +62,15 @@
},
{
"m_Id": "78a9e4fd69754df186b12ad85b8c14f4"
},
{
"m_Id": "bd6a0c55c3644c54a0c44c101b10930f"
},
{
"m_Id": "7e795006fbc2443c89bf128667c60c99"
},
{
"m_Id": "ae68bba1946c48c79c4f297dc0744f76"
}
],
"m_GroupDatas": [],
@@ -99,6 +118,20 @@
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "7e795006fbc2443c89bf128667c60c99"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3c8d5ca3e71f43be846856ad342baf85"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
@@ -140,6 +173,34 @@
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "ae68bba1946c48c79c4f297dc0744f76"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "3dd3aacea17e445cbc181af7f581034a"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bd6a0c55c3644c54a0c44c101b10930f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4c8c4dc3798b42d99d8056a40ecd3ecd"
},
"m_SlotId": 0
}
}
],
"m_VertexContext": {
@@ -206,6 +267,101 @@
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "025ad47a1b92462ea5f2d18d191196e4",
"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_LiteralMode": false
}
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "08486ae2121449aaafe8f38239ac604f",
"m_Guid": {
"m_GuidSerialized": "0372b136-9f3f-4f67-ac8a-1df2442b2905"
},
"promotedFromAssetID": "",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "Color",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Color",
"m_DefaultReferenceName": "_Color",
"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": {
"r": 0.12156862765550614,
"g": 0.0784313753247261,
"b": 0.027450980618596078,
"a": 0.0
},
"isMainColor": false,
"m_ColorMode": 0
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "230ace1715f9446c8b246e13baf7d607",
"m_Guid": {
"m_GuidSerialized": "989c19de-f1cd-4efe-aa9f-e5bc6459bf30"
},
"promotedFromAssetID": "",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "Metallic",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Metallic",
"m_DefaultReferenceName": "_Metallic",
"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": 0.10000000149011612,
"m_FloatType": 1,
"m_LiteralFloatMode": false,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
},
"m_SliderType": 0,
"m_SliderPower": 3.0,
"m_EnumType": 0,
"m_CSharpEnumString": "",
"m_EnumNames": [
"Default"
],
"m_EnumValues": [
0
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
@@ -289,6 +445,22 @@
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "3c539d1a5ef8422dada15defde254c75",
"m_Id": 0,
"m_DisplayName": "Metallic",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [],
"m_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
@@ -605,6 +777,50 @@
"m_PositionSource": 0
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "5729f5e15d094057b8c7e0e6819e2879",
"m_Guid": {
"m_GuidSerialized": "5b3e672e-a995-4b7c-84c5-5f77e338b785"
},
"promotedFromAssetID": "",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "Smoothness",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Smoothness",
"m_DefaultReferenceName": "_Smoothness",
"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": 0.699999988079071,
"m_FloatType": 1,
"m_LiteralFloatMode": false,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
},
"m_SliderType": 0,
"m_SliderPower": 3.0,
"m_EnumType": 0,
"m_CSharpEnumString": "",
"m_EnumNames": [
"Default"
],
"m_EnumValues": [
0
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
@@ -688,6 +904,42 @@
"m_OutputSpace": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "7e795006fbc2443c89bf128667c60c99",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -304.0000305175781,
"y": 406.9999694824219,
"width": 116.00001525878906,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "3c539d1a5ef8422dada15defde254c75"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "230ace1715f9446c8b246e13baf7d607"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
@@ -886,7 +1138,17 @@
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "a1d34ed3434a4f739bfe99c3d52fa49c",
"m_Name": "",
"m_ChildObjectList": []
"m_ChildObjectList": [
{
"m_Id": "08486ae2121449aaafe8f38239ac604f"
},
{
"m_Id": "230ace1715f9446c8b246e13baf7d607"
},
{
"m_Id": "5729f5e15d094057b8c7e0e6819e2879"
}
]
}
{
@@ -941,6 +1203,67 @@
"m_LiteralMode": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "a9cf265250b440919a49b11cbbff0a6a",
"m_Id": 0,
"m_DisplayName": "Color",
"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.PropertyNode",
"m_ObjectId": "ae68bba1946c48c79c4f297dc0744f76",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -281.0,
"y": 476.9999694824219,
"width": 139.9999542236328,
"height": 34.000030517578128
}
},
"m_Slots": [
{
"m_Id": "025ad47a1b92462ea5f2d18d191196e4"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "5729f5e15d094057b8c7e0e6819e2879"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
@@ -1005,6 +1328,42 @@
"m_SerializedDescriptor": "SurfaceDescription.Occlusion"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "bd6a0c55c3644c54a0c44c101b10930f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -270.2297058105469,
"y": 191.20025634765626,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "a9cf265250b440919a49b11cbbff0a6a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "08486ae2121449aaafe8f38239ac604f"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",