Files
HauntedBloodlines/Assets/Samples/High Definition RP/17.0.3/Volumetric Samples/Fog Volume Shadergraph/Procedural Noises/Value Noise 3D.shadersubgraph
2025-05-29 22:31:40 +03:00

625 lines
14 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "2c90df24f5e240c3ba0ea5948e3b78e6",
"m_Properties": [
{
"m_Id": "2f1431935b0c48e69a12bb1aebd76748"
},
{
"m_Id": "61f512a4cb514ee58d63d99bcb67aa52"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "be76fdfb74b247a398545c0427b552b0"
}
],
"m_Nodes": [
{
"m_Id": "19e7abdb18654bd6808b1618a6c55e3c"
},
{
"m_Id": "b50f215e023e4a79a27c5d4ede06b7ed"
},
{
"m_Id": "31b75042ebe34b9c96bc5b3c18993c25"
},
{
"m_Id": "261371c5827a44429384e37f5e6cd2f0"
},
{
"m_Id": "03846a41c9584365a43d75ec9f3db383"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "03846a41c9584365a43d75ec9f3db383"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "261371c5827a44429384e37f5e6cd2f0"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "261371c5827a44429384e37f5e6cd2f0"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "b50f215e023e4a79a27c5d4ede06b7ed"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "31b75042ebe34b9c96bc5b3c18993c25"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "261371c5827a44429384e37f5e6cd2f0"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b50f215e023e4a79a27c5d4ede06b7ed"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "19e7abdb18654bd6808b1618a6c55e3c"
},
"m_SlotId": 0
}
}
],
"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": "19e7abdb18654bd6808b1618a6c55e3c"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "03846a41c9584365a43d75ec9f3db383",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -422.0000305175781,
"y": -85.99999237060547,
"width": 104.00003051757813,
"height": 33.999996185302737
}
},
"m_Slots": [
{
"m_Id": "0cb8ff3001c742ebb31fe1bf19a00b8e"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "61f512a4cb514ee58d63d99bcb67aa52"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0cb8ff3001c742ebb31fe1bf19a00b8e",
"m_Id": 0,
"m_DisplayName": "Scale",
"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.SubGraphOutputNode",
"m_ObjectId": "19e7abdb18654bd6808b1618a6c55e3c",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 187.0,
"y": -139.0000457763672,
"width": 86.0001220703125,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "c5d612b6c3fc43e68229a4699a914acd"
}
],
"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.MultiplyNode",
"m_ObjectId": "261371c5827a44429384e37f5e6cd2f0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -279.0,
"y": -138.99998474121095,
"width": 130.0,
"height": 118.00000762939453
}
},
"m_Slots": [
{
"m_Id": "bf17fe8d7b634b7a8b5a482eaa05f90c"
},
{
"m_Id": "502c7dd1e1784bb4a041a3db043fd828"
},
{
"m_Id": "395a5291622f445c9c96aa6ee83d82e4"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector3ShaderProperty",
"m_ObjectId": "2f1431935b0c48e69a12bb1aebd76748",
"m_Guid": {
"m_GuidSerialized": "22bee0ce-eb40-4f10-bc82-72e0316c1cb8"
},
"m_Name": "Vector3",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Vector3",
"m_DefaultReferenceName": "_Vector3",
"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": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "31b75042ebe34b9c96bc5b3c18993c25",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -437.0000305175781,
"y": -138.99998474121095,
"width": 119.00003051757813,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "72532d63985c4dd5a729fc060e7b5c72"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "2f1431935b0c48e69a12bb1aebd76748"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "395a5291622f445c9c96aa6ee83d82e4",
"m_Id": 2,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "502c7dd1e1784bb4a041a3db043fd828",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"e00": 2.0,
"e01": 2.0,
"e02": 2.0,
"e03": 2.0,
"e10": 2.0,
"e11": 2.0,
"e12": 2.0,
"e13": 2.0,
"e20": 2.0,
"e21": 2.0,
"e22": 2.0,
"e23": 2.0,
"e30": 2.0,
"e31": 2.0,
"e32": 2.0,
"e33": 2.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "61f512a4cb514ee58d63d99bcb67aa52",
"m_Guid": {
"m_GuidSerialized": "662c36ea-5042-4126-9f35-6cc6bb31724f"
},
"m_Name": "Scale",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Scale",
"m_DefaultReferenceName": "_Scale",
"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.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "71d6fe26e8d2463db6ae00b591e19071",
"m_Id": 0,
"m_DisplayName": "Out",
"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": "72532d63985c4dd5a729fc060e7b5c72",
"m_Id": 0,
"m_DisplayName": "Vector3",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "b50f215e023e4a79a27c5d4ede06b7ed",
"m_Group": {
"m_Id": ""
},
"m_Name": "ValueNoise3D (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -117.5,
"y": -139.0,
"width": 235.0,
"height": 278.0
}
},
"m_Slots": [
{
"m_Id": "c5a165b7f21b42fa82fc47080be2b384"
},
{
"m_Id": "71d6fe26e8d2463db6ae00b591e19071"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 1,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "ValueNoise3D",
"m_FunctionSource": "21eea11559b47ea4ebb29e043459fd83",
"m_FunctionBody": "#include \"C:\\Users\\Sean\\Projects\\unity\\Packages\\com.unity.render-pipelines.high-definition\\Runtime\\Lighting\\VolumetricClouds\\WorleyUtilities.hlsl\"\n\nOut = WorleyNoise(uv, freq);"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "be76fdfb74b247a398545c0427b552b0",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "2f1431935b0c48e69a12bb1aebd76748"
},
{
"m_Id": "61f512a4cb514ee58d63d99bcb67aa52"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "bf17fe8d7b634b7a8b5a482eaa05f90c",
"m_Id": 0,
"m_DisplayName": "A",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 3,
"m_Value": {
"e00": 0.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 0.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 0.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 0.0
},
"m_DefaultValue": {
"e00": 1.0,
"e01": 0.0,
"e02": 0.0,
"e03": 0.0,
"e10": 0.0,
"e11": 1.0,
"e12": 0.0,
"e13": 0.0,
"e20": 0.0,
"e21": 0.0,
"e22": 1.0,
"e23": 0.0,
"e30": 0.0,
"e31": 0.0,
"e32": 0.0,
"e33": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "c5a165b7f21b42fa82fc47080be2b384",
"m_Id": 1,
"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_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "c5d612b6c3fc43e68229a4699a914acd",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}