ClientServer/Client/Assets/GPUInstancer/Shaders/Include/GPUI Billboard - AtlasUV.shadersubgraph
TG9six 03a642d635 first push
first push
2025-09-06 17:17:39 +04:00

388 lines
8.8 KiB
Plaintext

{
"m_SGVersion": 2,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "8049c78b23894652826b589b0d74d4f1",
"m_Properties": [
{
"m_Id": "4bef9790aae34139bf969d0d86ea2762"
}
],
"m_Keywords": [],
"m_Nodes": [
{
"m_Id": "c0d0006c79794e9bacf1be686b98141d"
},
{
"m_Id": "e4073322eae7400f9836ec791296b816"
},
{
"m_Id": "c0543cefed3c44f48cabeda0485948ab"
},
{
"m_Id": "55c6a408365c443f909d85a101542ad1"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "55c6a408365c443f909d85a101542ad1"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e4073322eae7400f9836ec791296b816"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c0543cefed3c44f48cabeda0485948ab"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "e4073322eae7400f9836ec791296b816"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "e4073322eae7400f9836ec791296b816"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c0d0006c79794e9bacf1be686b98141d"
},
"m_SlotId": 1
}
}
],
"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": ""
}
},
"m_Path": "Sub Graphs",
"m_ConcretePrecision": 0,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "c0d0006c79794e9bacf1be686b98141d"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "0d436b004e59425fb5f987fa67ef3a06",
"m_Id": 2,
"m_DisplayName": "atlasUV",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "atlasUV",
"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.Vector4MaterialSlot",
"m_ObjectId": "4376e48ebc3b4e729b4b575e67e2e315",
"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": 1,
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
"m_ObjectId": "4bef9790aae34139bf969d0d86ea2762",
"m_Guid": {
"m_GuidSerialized": "7ba43413-e092-40fe-a5b3-fc6a8789aa7d"
},
"m_Name": "FrameCount",
"m_DefaultReferenceName": "Vector1_4bef9790aae34139bf969d0d86ea2762",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": 8.0,
"m_FloatType": 0,
"m_RangeValues": {
"x": 0.0,
"y": 1.0
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVNode",
"m_ObjectId": "55c6a408365c443f909d85a101542ad1",
"m_Group": {
"m_Id": ""
},
"m_Name": "UV",
"m_DrawState": {
"m_Expanded": false,
"m_Position": {
"serializedVersion": "2",
"x": -564.0,
"y": -34.0,
"width": 145.0,
"height": 130.0
}
},
"m_Slots": [
{
"m_Id": "4376e48ebc3b4e729b4b575e67e2e315"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_OutputChannel": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot",
"m_ObjectId": "5793ae2582a045b7a945ffb0844bc2b9",
"m_Id": 1,
"m_DisplayName": "atlasUV",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "atlasUV",
"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": "65d16d2cb53842dd98bff39fd68476b7",
"m_Id": 0,
"m_DisplayName": "FrameCount",
"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.PropertyNode",
"m_ObjectId": "c0543cefed3c44f48cabeda0485948ab",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -555.0,
"y": 117.0,
"width": 139.0,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "65d16d2cb53842dd98bff39fd68476b7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "4bef9790aae34139bf969d0d86ea2762"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "c0d0006c79794e9bacf1be686b98141d",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -20.0,
"y": -11.0,
"width": 96.0,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "5793ae2582a045b7a945ffb0844bc2b9"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "d09a7e4e1f4345daa524b5020d1a1307",
"m_Id": 0,
"m_DisplayName": "texcoord",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "texcoord",
"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.Vector1MaterialSlot",
"m_ObjectId": "d8e1f3e4fe1f4694bc9cc8e7e371d5f7",
"m_Id": 1,
"m_DisplayName": "frameCount",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "frameCount",
"m_StageCapability": 3,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 1,
"m_Type": "UnityEditor.ShaderGraph.CustomFunctionNode",
"m_ObjectId": "e4073322eae7400f9836ec791296b816",
"m_Group": {
"m_Id": ""
},
"m_Name": "GPUIBillboardAtlasUVSG (Custom Function)",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -352.0,
"y": -9.0,
"width": 293.0,
"height": 142.0
}
},
"m_Slots": [
{
"m_Id": "0d436b004e59425fb5f987fa67ef3a06"
},
{
"m_Id": "d09a7e4e1f4345daa524b5020d1a1307"
},
{
"m_Id": "d8e1f3e4fe1f4694bc9cc8e7e371d5f7"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": false,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SourceType": 0,
"m_FunctionName": "GPUIBillboardAtlasUVSG",
"m_FunctionSource": "752ed35f0cdd15c4bb30cfe63db8aea5",
"m_FunctionBody": "Enter function body here..."
}