Skip to content

Instantly share code, notes, and snippets.

@andrew-raphael-lukasik
Last active November 12, 2023 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrew-raphael-lukasik/47dce95f6f1a6b2c2a3ed50b82353b5b to your computer and use it in GitHub Desktop.
Save andrew-raphael-lukasik/47dce95f6f1a6b2c2a3ed50b82353b5b to your computer and use it in GitHub Desktop.
Shader graph to render pixelated, old TV-like noise
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "ec14bfb0ae63411c834c2983fd694217",
"m_Properties": [
{
"m_Id": "b62a82c81675426180353c2ade0afc18"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "eff9ac9e94a74bb6b759b017e50c804f"
}
],
"m_Nodes": [
{
"m_Id": "6584cf8798ad48fab79e276f4bdeabfb"
},
{
"m_Id": "f336bfaaa6d24b5ab51ba988a8bff139"
},
{
"m_Id": "40896ef93b01474d975ff43d7d767b2e"
},
{
"m_Id": "2cdfa995580c4a9d9dc06a5d439d264e"
},
{
"m_Id": "2a264322a66b4852bc60ff7840020b55"
},
{
"m_Id": "d3b8a5e928bb48808bcc4c85297d783b"
},
{
"m_Id": "cdfc718317e049a881e4d24f72831e48"
},
{
"m_Id": "a36c18d8be7040b8b1d4aa797f9dc820"
},
{
"m_Id": "04feeb9858674b3aad1e937ecd647075"
},
{
"m_Id": "726d765be55a47608a6f8c543b2215c9"
},
{
"m_Id": "fb72ddce30c94b34b07a657a1aebbda1"
},
{
"m_Id": "e167bc56dc2d48c1afae4f254527feb0"
},
{
"m_Id": "36ea057233a040e786a30528fe807fa7"
},
{
"m_Id": "e3cf24a84f5549aea8089103f219cd30"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "04feeb9858674b3aad1e937ecd647075"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2cdfa995580c4a9d9dc06a5d439d264e"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2a264322a66b4852bc60ff7840020b55"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "d3b8a5e928bb48808bcc4c85297d783b"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "36ea057233a040e786a30528fe807fa7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2a264322a66b4852bc60ff7840020b55"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "36ea057233a040e786a30528fe807fa7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "cdfc718317e049a881e4d24f72831e48"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "36ea057233a040e786a30528fe807fa7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "fb72ddce30c94b34b07a657a1aebbda1"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "726d765be55a47608a6f8c543b2215c9"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2a264322a66b4852bc60ff7840020b55"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a36c18d8be7040b8b1d4aa797f9dc820"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e3cf24a84f5549aea8089103f219cd30"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a36c18d8be7040b8b1d4aa797f9dc820"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e3cf24a84f5549aea8089103f219cd30"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "cdfc718317e049a881e4d24f72831e48"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "04feeb9858674b3aad1e937ecd647075"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d3b8a5e928bb48808bcc4c85297d783b"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "cdfc718317e049a881e4d24f72831e48"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e167bc56dc2d48c1afae4f254527feb0"
},
"m_SlotId": 3
},
"m_InputSlot": {
"m_Node": {
"m_Id": "fb72ddce30c94b34b07a657a1aebbda1"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e3cf24a84f5549aea8089103f219cd30"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e167bc56dc2d48c1afae4f254527feb0"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "fb72ddce30c94b34b07a657a1aebbda1"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "04feeb9858674b3aad1e937ecd647075"
},
"m_SlotId": 1
}
}
],
"m_VertexContext": {
"m_Position": {
"x": 0.0,
"y": 0.0
},
"m_Blocks": [
{
"m_Id": "6584cf8798ad48fab79e276f4bdeabfb"
},
{
"m_Id": "f336bfaaa6d24b5ab51ba988a8bff139"
},
{
"m_Id": "40896ef93b01474d975ff43d7d767b2e"
}
]
},
"m_FragmentContext": {
"m_Position": {
"x": 0.0,
"y": 200.0
},
"m_Blocks": [
{
"m_Id": "2cdfa995580c4a9d9dc06a5d439d264e"
}
]
},
"m_PreviewData": {
"serializedMesh": {
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
"m_Guid": ""
},
"preventRotation": false
},
"m_Path": "Shader Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": ""
},
"m_ActiveTargets": [
{
"m_Id": "e250bf4026734ae2a0e8f6a0b4b368aa"
}
]
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.NoiseNode",
"m_ObjectId": "04feeb9858674b3aad1e937ecd647075",
"m_Group": {
"m_Id": ""
},
"m_Name": "Simple Noise",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -269.0,
"y": 200.0,
"width": 208.00001525878907,
"height": 337.0
}
},
"m_Slots": [
{
"m_Id": "0cc83b13c5e046f89880a39c09d856a7"
},
{
"m_Id": "261c7cabab8c40d59c134e2bc198a078"
},
{
"m_Id": "518e1991e7d2435d8ffdec08a9ca6bd0"
}
],
"synonyms": [
"value noise"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_HashType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "0b7dce6638db4a06a231f5e5063cd567",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "0be0b6521b17423ba063a2d5ba422d7c",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "0cc83b13c5e046f89880a39c09d856a7",
"m_Id": 0,
"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.Vector1MaterialSlot",
"m_ObjectId": "18ce7936c5384c62872bfd91825dcb1d",
"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.Vector2MaterialSlot",
"m_ObjectId": "1f2b4473a871409ea7f8fdcf367ab419",
"m_Id": 0,
"m_DisplayName": "Resolution",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"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.Vector1MaterialSlot",
"m_ObjectId": "261c7cabab8c40d59c134e2bc198a078",
"m_Id": 1,
"m_DisplayName": "Scale",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Scale",
"m_StageCapability": 3,
"m_Value": 40.0,
"m_DefaultValue": 500.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "2a264322a66b4852bc60ff7840020b55",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -739.0,
"y": 119.99999237060547,
"width": 130.0,
"height": 117.99999237060547
}
},
"m_Slots": [
{
"m_Id": "0b7dce6638db4a06a231f5e5063cd567"
},
{
"m_Id": "8aea365c72724a2e929e4f867fa90f0d"
},
{
"m_Id": "6a7d3f2929f146148951d217dc7e1c9f"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "2cdfa995580c4a9d9dc06a5d439d264e",
"m_Group": {
"m_Id": ""
},
"m_Name": "SurfaceDescription.BaseColor",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "7edd80a1d487434083d0228dd404fb6b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "319e35f03b33458f8c1a0abec28f25c3",
"m_Id": 2,
"m_DisplayName": "Cosine Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Cosine Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "36ea057233a040e786a30528fe807fa7",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -897.0,
"y": 285.0,
"width": 131.00006103515626,
"height": 33.999969482421878
}
},
"m_Slots": [
{
"m_Id": "1f2b4473a871409ea7f8fdcf367ab419"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "b62a82c81675426180353c2ade0afc18"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "40896ef93b01474d975ff43d7d767b2e",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Tangent",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "fa3272302c294dfb90fa6a1c56657a1a"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Tangent"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "4f692184450b4695a5f006fac76d26b0",
"m_Id": 4,
"m_DisplayName": "Smooth Delta",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Smooth Delta",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "518e1991e7d2435d8ffdec08a9ca6bd0",
"m_Id": 2,
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "54806b3c04864a3d9faa0c1ff1038c4a",
"m_Id": 1,
"m_DisplayName": "B",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 3,
"m_Value": {
"x": 2.0,
"y": 2.0,
"z": 2.0,
"w": 2.0
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "5c7dc314579c479bbdf6d1a7544f213a",
"m_Id": 3,
"m_DisplayName": "Delta Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Delta Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
"m_ObjectId": "6584cf8798ad48fab79e276f4bdeabfb",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Position",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "8a55f6675cb44822a15c012a54552759"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Position"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "675a4f967e2b4b478f8937e7bb521fa1",
"m_Id": 0,
"m_DisplayName": "In",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "In",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "699baef8353d4ff08d470f02f4670b6b",
"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": "6a7d3f2929f146148951d217dc7e1c9f",
"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.Vector1MaterialSlot",
"m_ObjectId": "6f889246fae3429998c0c40f03e9a36c",
"m_Id": 1,
"m_DisplayName": "Sine Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Sine Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVNode",
"m_ObjectId": "726d765be55a47608a6f8c543b2215c9",
"m_Group": {
"m_Id": ""
},
"m_Name": "UV",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -931.0,
"y": 119.99999237060547,
"width": 145.0,
"height": 129.0
}
},
"m_Slots": [
{
"m_Id": "f2a33a0944244cf39afa6217ea63d6ef"
}
],
"synonyms": [
"texcoords",
"coords",
"coordinates"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_OutputChannel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "788eadf812a94280b8333a490c9f74b6",
"m_Id": 1,
"m_DisplayName": "Min",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Min",
"m_StageCapability": 3,
"m_Value": 10.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
"m_ObjectId": "7edd80a1d487434083d0228dd404fb6b",
"m_Id": 0,
"m_DisplayName": "Base Color",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "BaseColor",
"m_StageCapability": 2,
"m_Value": {
"x": 0.5,
"y": 0.5,
"z": 0.5
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"m_Labels": [],
"m_ColorMode": 0,
"m_DefaultColor": {
"r": 0.5,
"g": 0.5,
"b": 0.5,
"a": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "7fecd321a9874702aa0d25da45e7bf92",
"m_Id": 0,
"m_DisplayName": "Time",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Time",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PositionMaterialSlot",
"m_ObjectId": "8a55f6675cb44822a15c012a54552759",
"m_Id": 0,
"m_DisplayName": "Position",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Position",
"m_StageCapability": 1,
"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": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "8aea365c72724a2e929e4f867fa90f0d",
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "8e29a90175224f2cbfe635474b177c84",
"m_Id": 2,
"m_DisplayName": "Max",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Max",
"m_StageCapability": 3,
"m_Value": 20.0,
"m_DefaultValue": 1.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "a284b4632e374ee5a34a0ed81ffc0c23",
"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
},
"m_DefaultValue": {
"x": 0.0,
"y": 0.0
},
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.TimeNode",
"m_ObjectId": "a36c18d8be7040b8b1d4aa797f9dc820",
"m_Group": {
"m_Id": ""
},
"m_Name": "Time",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -1021.0,
"y": 361.0,
"width": 124.0,
"height": 172.99993896484376
}
},
"m_Slots": [
{
"m_Id": "7fecd321a9874702aa0d25da45e7bf92"
},
{
"m_Id": "6f889246fae3429998c0c40f03e9a36c"
},
{
"m_Id": "319e35f03b33458f8c1a0abec28f25c3"
},
{
"m_Id": "5c7dc314579c479bbdf6d1a7544f213a"
},
{
"m_Id": "4f692184450b4695a5f006fac76d26b0"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty",
"m_ObjectId": "b62a82c81675426180353c2ade0afc18",
"m_Guid": {
"m_GuidSerialized": "521c3b42-0f59-4a2f-beed-58c7e9951618"
},
"m_Name": "Resolution",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Resolution",
"m_DefaultReferenceName": "_Resolution",
"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": 360.0,
"y": 240.0,
"z": 0.0,
"w": 0.0
}
}
{
"m_SGVersion": 2,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalUnlitSubTarget",
"m_ObjectId": "c1b0533718d941b2a5cb7284ed29fe26"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.NormalMaterialSlot",
"m_ObjectId": "ca6aa68d6e264fbda5ea809d562c407d",
"m_Id": 0,
"m_DisplayName": "Normal",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Normal",
"m_StageCapability": 1,
"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": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DivideNode",
"m_ObjectId": "cdfc718317e049a881e4d24f72831e48",
"m_Group": {
"m_Id": ""
},
"m_Name": "Divide",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -446.99993896484377,
"y": 119.99999237060547,
"width": 129.99990844726563,
"height": 117.99999237060547
}
},
"m_Slots": [
{
"m_Id": "d6a0c71d593a4919a1839a4820ae6375"
},
{
"m_Id": "54806b3c04864a3d9faa0c1ff1038c4a"
},
{
"m_Id": "fee6aa08fa474500a9a2a0fb0d00d8bd"
}
],
"synonyms": [
"division",
"divided by"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "d15795a44ddf4209a1c72b5c89ff85f6",
"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.FloorNode",
"m_ObjectId": "d3b8a5e928bb48808bcc4c85297d783b",
"m_Group": {
"m_Id": ""
},
"m_Name": "Floor",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -609.0,
"y": 119.99999237060547,
"width": 131.00006103515626,
"height": 94.00000762939453
}
},
"m_Slots": [
{
"m_Id": "675a4f967e2b4b478f8937e7bb521fa1"
},
{
"m_Id": "f90923b400854a3e861a3dc68dd1745c"
}
],
"synonyms": [
"down"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "d6a0c71d593a4919a1839a4820ae6375",
"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.Vector1MaterialSlot",
"m_ObjectId": "dae11190f1ae4bca92fcdaeb45da8f63",
"m_Id": 3,
"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.RandomRangeNode",
"m_ObjectId": "e167bc56dc2d48c1afae4f254527feb0",
"m_Group": {
"m_Id": ""
},
"m_Name": "Random Range",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -622.0,
"y": 361.0,
"width": 147.00003051757813,
"height": 141.99996948242188
}
},
"m_Slots": [
{
"m_Id": "e84a23037843423287ce92433a6b34bf"
},
{
"m_Id": "788eadf812a94280b8333a490c9f74b6"
},
{
"m_Id": "8e29a90175224f2cbfe635474b177c84"
},
{
"m_Id": "dae11190f1ae4bca92fcdaeb45da8f63"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
"m_ObjectId": "e250bf4026734ae2a0e8f6a0b4b368aa",
"m_Datas": [],
"m_ActiveSubTarget": {
"m_Id": "c1b0533718d941b2a5cb7284ed29fe26"
},
"m_AllowMaterialOverride": false,
"m_SurfaceType": 0,
"m_ZTestMode": 4,
"m_ZWriteControl": 0,
"m_AlphaMode": 0,
"m_RenderFace": 2,
"m_AlphaClip": false,
"m_CastShadows": true,
"m_ReceiveShadows": true,
"m_SupportsLODCrossFade": false,
"m_CustomEditorGUI": "",
"m_SupportVFX": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2Node",
"m_ObjectId": "e3cf24a84f5549aea8089103f219cd30",
"m_Group": {
"m_Id": ""
},
"m_Name": "Vector 2",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -849.9999389648438,
"y": 361.0,
"width": 127.99993896484375,
"height": 100.99996948242188
}
},
"m_Slots": [
{
"m_Id": "18ce7936c5384c62872bfd91825dcb1d"
},
{
"m_Id": "d15795a44ddf4209a1c72b5c89ff85f6"
},
{
"m_Id": "a284b4632e374ee5a34a0ed81ffc0c23"
}
],
"synonyms": [
"2",
"v2",
"vec2",
"float2"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Value": {
"x": 0.0,
"y": 0.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "e84a23037843423287ce92433a6b34bf",
"m_Id": 0,
"m_DisplayName": "Seed",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Seed",
"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": "eff9ac9e94a74bb6b759b017e50c804f",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "b62a82c81675426180353c2ade0afc18"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "f2a33a0944244cf39afa6217ea63d6ef",
"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,
"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.BlockNode",
"m_ObjectId": "f336bfaaa6d24b5ab51ba988a8bff139",
"m_Group": {
"m_Id": ""
},
"m_Name": "VertexDescription.Normal",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 0.0,
"y": 0.0,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "ca6aa68d6e264fbda5ea809d562c407d"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedDescriptor": "VertexDescription.Normal"
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "f86f8d5964e24aeba5cc15c4b483e525",
"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.DynamicVectorMaterialSlot",
"m_ObjectId": "f90923b400854a3e861a3dc68dd1745c",
"m_Id": 1,
"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": 0,
"m_Type": "UnityEditor.ShaderGraph.TangentMaterialSlot",
"m_ObjectId": "fa3272302c294dfb90fa6a1c56657a1a",
"m_Id": 0,
"m_DisplayName": "Tangent",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Tangent",
"m_StageCapability": 1,
"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": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "fb72ddce30c94b34b07a657a1aebbda1",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -442.99993896484377,
"y": 301.9999694824219,
"width": 129.99990844726563,
"height": 118.00003051757813
}
},
"m_Slots": [
{
"m_Id": "f86f8d5964e24aeba5cc15c4b483e525"
},
{
"m_Id": "0be0b6521b17423ba063a2d5ba422d7c"
},
{
"m_Id": "699baef8353d4ff08d470f02f4670b6b"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
"m_ObjectId": "fee6aa08fa474500a9a2a0fb0d00d8bd",
"m_Id": 2,
"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
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment