Files
Test/Assets/ColbyO/VNTG/Shaders/SubGraphs/Texture/N64CubemapSampler.shadersubgraph
T
2026-11-01 23:39:55 +02:00

553 lines
13 KiB
Plaintext

{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "3b8199c20e4748469ee91c6a19eb5d61",
"m_Properties": [
{
"m_Id": "27eee78a6bac4e5ab12172f8b20433ab"
},
{
"m_Id": "f3ee5b4cfe8047649c1ffdad4e16555b"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "86fd225afa7548ae9397eba309ec4357"
}
],
"m_Nodes": [
{
"m_Id": "1469a6c853d147ab973ea28b1df9a6ab"
},
{
"m_Id": "6515a5f18d274024bbaffb7ecb96e024"
},
{
"m_Id": "2c00d8e0740d455e805908dcfc4383f2"
},
{
"m_Id": "bca84da76f0a4f77aed6cb63f3f1a37d"
},
{
"m_Id": "d5c4a75f2a054dfa8ae6ae56767769a8"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2c00d8e0740d455e805908dcfc4383f2"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bca84da76f0a4f77aed6cb63f3f1a37d"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "6515a5f18d274024bbaffb7ecb96e024"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bca84da76f0a4f77aed6cb63f3f1a37d"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bca84da76f0a4f77aed6cb63f3f1a37d"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "1469a6c853d147ab973ea28b1df9a6ab"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "d5c4a75f2a054dfa8ae6ae56767769a8"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bca84da76f0a4f77aed6cb63f3f1a37d"
},
"m_SlotId": 3
}
}
],
"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": "VNTG/Texture/N64",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "1469a6c853d147ab973ea28b1df9a6ab"
},
"m_SubDatas": [],
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "00a0d4ffe3384465aaaa1cd43cf6950a",
"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.SubGraphOutputNode",
"m_ObjectId": "1469a6c853d147ab973ea28b1df9a6ab",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -85.00003051757813,
"y": -93.00000762939453,
"width": 86.00001525878906,
"height": 77.00001525878906
}
},
"m_Slots": [
{
"m_Id": "9946ea8e7c86457ba2333a092334c3b9"
}
],
"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.Vector3MaterialSlot",
"m_ObjectId": "23248ea74d304545b0e26ee9e75ebd62",
"m_Id": 0,
"m_DisplayName": "Dir",
"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.Internal.CubemapShaderProperty",
"m_ObjectId": "27eee78a6bac4e5ab12172f8b20433ab",
"m_Guid": {
"m_GuidSerialized": "e5cfcbb6-68e9-4e04-9229-116a2dcb902b"
},
"promotedFromAssetID": "",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "Cubemap",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Cubemap",
"m_DefaultReferenceName": "_Cubemap",
"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": {
"m_SerializedCubemap": "{\"cubemap\":{\"instanceID\":0}}",
"m_Guid": ""
},
"isHDR": false,
"m_Modifiable": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "2c00d8e0740d455e805908dcfc4383f2",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -638.0000610351563,
"y": -115.9999771118164,
"width": 128.99996948242188,
"height": 34.00000762939453
}
},
"m_Slots": [
{
"m_Id": "bffcb8d49aa74f40be6d2eea929e4e07"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "27eee78a6bac4e5ab12172f8b20433ab"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "604056d64bc04c568df0110118c84d5a",
"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.SamplerStateNode",
"m_ObjectId": "6515a5f18d274024bbaffb7ecb96e024",
"m_Group": {
"m_Id": ""
},
"m_Name": "Sampler State",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -651.0000610351563,
"y": -70.9999771118164,
"width": 145.00003051757813,
"height": 136.0
}
},
"m_Slots": [
{
"m_Id": "9b59456a1a7847569cebcd8c603c0702"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_filter": 1,
"m_wrap": 0,
"m_aniso": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CubemapInputMaterialSlot",
"m_ObjectId": "7b35340817c340308f6b6136143213d3",
"m_Id": 1,
"m_DisplayName": "Cube",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Cube",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Cubemap": {
"m_SerializedCubemap": "{\"cubemap\":{\"instanceID\":0}}",
"m_Guid": ""
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "86fd225afa7548ae9397eba309ec4357",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "27eee78a6bac4e5ab12172f8b20433ab"
},
{
"m_Id": "f3ee5b4cfe8047649c1ffdad4e16555b"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "9946ea8e7c86457ba2333a092334c3b9",
"m_Id": 1,
"m_DisplayName": "Out",
"m_SlotType": 0,
"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.SamplerStateMaterialSlot",
"m_ObjectId": "9b59456a1a7847569cebcd8c603c0702",
"m_Id": 0,
"m_DisplayName": "Out",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "bca84da76f0a4f77aed6cb63f3f1a37d",
"m_Group": {
"m_Id": ""
},
"m_Name": "N64SamplerCube (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -457.0000305175781,
"y": -93.00000762939453,
"width": 254.99998474121095,
"height": 142.00001525878907
}
},
"m_Slots": [
{
"m_Id": "7b35340817c340308f6b6136143213d3"
},
{
"m_Id": "604056d64bc04c568df0110118c84d5a"
},
{
"m_Id": "ed12f4cd1e5246fdb5d276f2f5f735ac"
},
{
"m_Id": "00a0d4ffe3384465aaaa1cd43cf6950a"
}
],
"synonyms": [
"code",
"HLSL"
],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "N64SamplerCube",
"m_FunctionSource": "04975814c73fcca4b938b0d8b3595590",
"m_FunctionSourceUsePragmas": true,
"m_FunctionBody": "Enter function body here..."
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CubemapMaterialSlot",
"m_ObjectId": "bffcb8d49aa74f40be6d2eea929e4e07",
"m_Id": 0,
"m_DisplayName": "Cubemap",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "d5c4a75f2a054dfa8ae6ae56767769a8",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -605.0000610351563,
"y": 71.00000762939453,
"width": 92.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "23248ea74d304545b0e26ee9e75ebd62"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_DismissedVersion": 0,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "f3ee5b4cfe8047649c1ffdad4e16555b"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "ed12f4cd1e5246fdb5d276f2f5f735ac",
"m_Id": 3,
"m_DisplayName": "DIr",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "DIr",
"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.Internal.Vector3ShaderProperty",
"m_ObjectId": "f3ee5b4cfe8047649c1ffdad4e16555b",
"m_Guid": {
"m_GuidSerialized": "c79938d5-f337-4713-9f91-cfc6ae363b0a"
},
"promotedFromAssetID": "",
"promotedFromCategoryName": "",
"promotedOrdering": -1,
"m_Name": "Dir",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "Dir",
"m_DefaultReferenceName": "_Dir",
"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": {
"x": 0.0,
"y": 0.0,
"z": 1.0,
"w": 0.0
}
}