Zqdn/UnityProject/Assets/QD/QD_NormalStrength.shadersubgraph

631 lines
14 KiB
Plaintext
Raw Normal View History

2025-04-29 18:18:36 +08:00
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "c99e929c874c49dfb03805766ce0a01b",
"m_Properties": [
{
"m_Id": "14be478beb534fe098cc6090280a7872"
},
{
"m_Id": "07848342176b42da89b6c58452688987"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "caa621a2b3b746f28f1373424648e6c3"
}
],
"m_Nodes": [
{
"m_Id": "4e89e51584124e8ea4ec58c98f2ee411"
},
{
"m_Id": "5353ed6bb9c94abd83dedbee34460008"
},
{
"m_Id": "295df35b0ba94193b2fac6c38068fb91"
},
{
"m_Id": "c17aad5cb8a84d448b2c6035bc8850f2"
},
{
"m_Id": "985d661a48ab4942a13d0ca352768b3f"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "295df35b0ba94193b2fac6c38068fb91"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5353ed6bb9c94abd83dedbee34460008"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "5353ed6bb9c94abd83dedbee34460008"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "4e89e51584124e8ea4ec58c98f2ee411"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "985d661a48ab4942a13d0ca352768b3f"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5353ed6bb9c94abd83dedbee34460008"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c17aad5cb8a84d448b2c6035bc8850f2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5353ed6bb9c94abd83dedbee34460008"
},
"m_SlotId": 2
}
}
],
"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": "4e89e51584124e8ea4ec58c98f2ee411"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "07848342176b42da89b6c58452688987",
"m_Guid": {
"m_GuidSerialized": "6f674e3b-6e71-40f7-a42b-1cad56f67032"
},
"m_Name": "Normal_Tex",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Normal_Tex",
"m_DefaultReferenceName": "_Normal_Tex",
"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": {
"x": 1.0,
"y": 1.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "0e60f25f5ede48be896982bb5dbefaf0",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "14be478beb534fe098cc6090280a7872",
"m_Guid": {
"m_GuidSerialized": "f10c4bad-d559-4b52-b9ed-500e86ae4a42"
},
"m_Name": "NormalStrength",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "NormalStrength",
"m_DefaultReferenceName": "_NormalStrength",
"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.5,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "18189e6bc3d641d98cb2bf8e0bb2275e",
"m_Id": 1,
"m_DisplayName": "X",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "X",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "1a9de8407c8d4811b0a44fd45408dc67",
"m_Id": 2,
"m_DisplayName": "Y",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Y",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"Y"
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3Node",
"m_ObjectId": "295df35b0ba94193b2fac6c38068fb91",
"m_Group": {
"m_Id": ""
},
"m_Name": "Vector 3",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -211.0,
"y": -222.0,
"width": 128.0,
"height": 125.0
}
},
"m_Slots": [
{
"m_Id": "18189e6bc3d641d98cb2bf8e0bb2275e"
},
{
"m_Id": "1a9de8407c8d4811b0a44fd45408dc67"
},
{
"m_Id": "e320587b84134c63bdfacc31187797e9"
},
{
"m_Id": "3923dd956780414a87b7a5a3679829b8"
}
],
"synonyms": [
"3",
"v3",
"vec3",
"float3"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0,
"z": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "3923dd956780414a87b7a5a3679829b8",
"m_Id": 0,
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "44719cbde2fe46ef9bf0169b0df65036",
"m_Id": 2,
"m_DisplayName": "T",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "T",
"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.SubGraphOutputNode",
"m_ObjectId": "4e89e51584124e8ea4ec58c98f2ee411",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 385.0,
"y": -210.0,
"width": 86.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "8cb1252af4de4e4796097111b075d3bf"
}
],
"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.LerpNode",
"m_ObjectId": "5353ed6bb9c94abd83dedbee34460008",
"m_Group": {
"m_Id": ""
},
"m_Name": "Lerp",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 98.5,
"y": -223.0,
"width": 207.99993896484376,
"height": 326.0
}
},
"m_Slots": [
{
"m_Id": "845dc47708254b5ea7521afab1c07546"
},
{
"m_Id": "8db59aba9e75461f94908feba1e9d321"
},
{
"m_Id": "44719cbde2fe46ef9bf0169b0df65036"
},
{
"m_Id": "0e60f25f5ede48be896982bb5dbefaf0"
}
],
"synonyms": [
"mix",
"blend",
"linear interpolate"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5d9ad2ff6527414c95ca1640049fad79",
"m_Id": 0,
"m_DisplayName": "NormalStrength",
"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.Vector3MaterialSlot",
"m_ObjectId": "6eaee8362c2949c38734e87f4877339b",
"m_Id": 0,
"m_DisplayName": "Normal_Tex",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "845dc47708254b5ea7521afab1c07546",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"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.Vector3MaterialSlot",
"m_ObjectId": "8cb1252af4de4e4796097111b075d3bf",
"m_Id": 0,
"m_DisplayName": "Output",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Output",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "8db59aba9e75461f94908feba1e9d321",
"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.PropertyNode",
"m_ObjectId": "985d661a48ab4942a13d0ca352768b3f",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -225.0,
"y": -66.0,
"width": 139.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "6eaee8362c2949c38734e87f4877339b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "07848342176b42da89b6c58452688987"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "c17aad5cb8a84d448b2c6035bc8850f2",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -230.0,
"y": -8.0,
"width": 158.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "5d9ad2ff6527414c95ca1640049fad79"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "14be478beb534fe098cc6090280a7872"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "caa621a2b3b746f28f1373424648e6c3",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "07848342176b42da89b6c58452688987"
},
{
"m_Id": "14be478beb534fe098cc6090280a7872"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "e320587b84134c63bdfacc31187797e9",
"m_Id": 3,
"m_DisplayName": "Z",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Z",
"m_StageCapability": 3,
"m_Value": 1.0,
"m_DefaultValue": 0.0,
"m_Labels": [
"Z"
]
}