This commit is contained in:
2026-05-19 17:39:03 +07:00
parent bf0ebe447d
commit 5da832bb57
559 changed files with 69543 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 5703e47da1dcf4bac9f5256170f6cc9c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: a2b967a2d741d41f0892c3328200244a
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 350858
packageName: Rive
packageVersion: 0.4.2
assetPath: Packages/app.rive.rive-unity/Runtime/Components/Shaders/SubGraphs/SRGBDecode_Auto.shadersubgraph
uploadId: 896810

View File

@@ -0,0 +1,760 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "6b619450691d4acd8bb2e2ede69d3b11",
"m_Properties": [
{
"m_Id": "e41d6edd101b49f38ddd3fe98cbe839d"
},
{
"m_Id": "ec0ba007f0bc41e6b7507ffab93a4e81"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "d1ede69802af4f6cad6f3067ef22d601"
}
],
"m_Nodes": [
{
"m_Id": "f11c51012e9e49c48347c1ed01688305"
},
{
"m_Id": "c3c7f2aaaa834aeaaac17e8f6edbf4ee"
},
{
"m_Id": "916e8be24dd940b9a815617014fea622"
},
{
"m_Id": "fe5f2e41089241ddb9665cdfded52ead"
},
{
"m_Id": "a6ca5138a21040c88fbbb604dacfbb52"
}
],
"m_GroupDatas": [
{
"m_Id": "31a187406d544c71addcb5f2ec60f0dd"
}
],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "916e8be24dd940b9a815617014fea622"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "f11c51012e9e49c48347c1ed01688305"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "a6ca5138a21040c88fbbb604dacfbb52"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "916e8be24dd940b9a815617014fea622"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "c3c7f2aaaa834aeaaac17e8f6edbf4ee"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "916e8be24dd940b9a815617014fea622"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "fe5f2e41089241ddb9665cdfded52ead"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "c3c7f2aaaa834aeaaac17e8f6edbf4ee"
},
"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": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "f11c51012e9e49c48347c1ed01688305"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "127ce91b3943483c9de5b1070447418b",
"m_Id": 0,
"m_DisplayName": "EmissionColor",
"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.Vector4MaterialSlot",
"m_ObjectId": "2db0a2a145da4be2836e69c5a0108f7c",
"m_Id": 0,
"m_DisplayName": "RGBA",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "RGBA",
"m_StageCapability": 2,
"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.UVMaterialSlot",
"m_ObjectId": "30051f629c374179a6fd13d9fb476e26",
"m_Id": 2,
"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.GroupData",
"m_ObjectId": "31a187406d544c71addcb5f2ec60f0dd",
"m_Title": "Emission",
"m_Position": {
"x": -509.9999694824219,
"y": -73.99996948242188
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "43ec2b868c7f481eb85bf08eed225c8d",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "82c0444a2bf14afc8b1e33e64a389ab2",
"m_Id": 1,
"m_DisplayName": "Out_Emission",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Out_Emission",
"m_StageCapability": 2,
"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.MultiplyNode",
"m_ObjectId": "916e8be24dd940b9a815617014fea622",
"m_Group": {
"m_Id": "31a187406d544c71addcb5f2ec60f0dd"
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 143.49993896484376,
"y": 378.4999694824219,
"width": 208.0,
"height": 302.0000305175781
}
},
"m_Slots": [
{
"m_Id": "cf892bd3a2a042fe9432dcb3df524adb"
},
{
"m_Id": "edaa132f45f240b5ba2c0389af96056a"
},
{
"m_Id": "ba915cd2e5d2465197c7177a4fd7d429"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "9ed77e23228848baafc8f9ae0cf6ae5c",
"m_Id": 7,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "a6ca5138a21040c88fbbb604dacfbb52",
"m_Group": {
"m_Id": "31a187406d544c71addcb5f2ec60f0dd"
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -301.49993896484377,
"y": 236.49996948242188,
"width": 151.0,
"height": 34.00006103515625
}
},
"m_Slots": [
{
"m_Id": "127ce91b3943483c9de5b1070447418b"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "e41d6edd101b49f38ddd3fe98cbe839d"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "a7afdcba447646dda5deb46af76ab0b2",
"m_Id": 0,
"m_DisplayName": "EmissionMap",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "ba915cd2e5d2465197c7177a4fd7d429",
"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.SampleTexture2DNode",
"m_ObjectId": "c3c7f2aaaa834aeaaac17e8f6edbf4ee",
"m_Group": {
"m_Id": "31a187406d544c71addcb5f2ec60f0dd"
},
"m_Name": "Sample Texture 2D",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -247.0,
"y": 324.4999694824219,
"width": 208.0,
"height": 434.0001525878906
}
},
"m_Slots": [
{
"m_Id": "2db0a2a145da4be2836e69c5a0108f7c"
},
{
"m_Id": "dccd4f03ee2a45b2ab70812f50729cc7"
},
{
"m_Id": "c79bc36d84c443f5abc70525a05bdae0"
},
{
"m_Id": "f69e71976a2d4ecea22a95028807dbeb"
},
{
"m_Id": "9ed77e23228848baafc8f9ae0cf6ae5c"
},
{
"m_Id": "43ec2b868c7f481eb85bf08eed225c8d"
},
{
"m_Id": "30051f629c374179a6fd13d9fb476e26"
},
{
"m_Id": "fbfb207e7d1149d980d5acae2b983f1c"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_NormalMapSpace": 0,
"m_EnableGlobalMipBias": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "c79bc36d84c443f5abc70525a05bdae0",
"m_Id": 5,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "cf892bd3a2a042fe9432dcb3df524adb",
"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.CategoryData",
"m_ObjectId": "d1ede69802af4f6cad6f3067ef22d601",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "e41d6edd101b49f38ddd3fe98cbe839d"
},
{
"m_Id": "ec0ba007f0bc41e6b7507ffab93a4e81"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "dccd4f03ee2a45b2ab70812f50729cc7",
"m_Id": 4,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "e41d6edd101b49f38ddd3fe98cbe839d",
"m_Guid": {
"m_GuidSerialized": "417ee71e-80a1-414f-b809-df8c19e3743f"
},
"m_Name": "EmissionColor",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "EmissionColor",
"m_DefaultReferenceName": "_EmissionColor",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"isMainColor": false,
"m_ColorMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
"m_ObjectId": "ec0ba007f0bc41e6b7507ffab93a4e81",
"m_Guid": {
"m_GuidSerialized": "9fae8bf3-f659-4d48-8efb-5f8bda92ca8e"
},
"m_Name": "EmissionMap",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "EmissionMap",
"m_DefaultReferenceName": "_EmissionMap",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"isMainTexture": false,
"useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "edaa132f45f240b5ba2c0389af96056a",
"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.SubGraphOutputNode",
"m_ObjectId": "f11c51012e9e49c48347c1ed01688305",
"m_Group": {
"m_Id": "31a187406d544c71addcb5f2ec60f0dd"
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 1002.4999389648438,
"y": -15.499969482421875,
"width": 120.50006103515625,
"height": 76.99996948242188
}
},
"m_Slots": [
{
"m_Id": "82c0444a2bf14afc8b1e33e64a389ab2"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"IsFirstSlotValid": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "f69e71976a2d4ecea22a95028807dbeb",
"m_Id": 6,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SamplerStateMaterialSlot",
"m_ObjectId": "fbfb207e7d1149d980d5acae2b983f1c",
"m_Id": 3,
"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.PropertyNode",
"m_ObjectId": "fe5f2e41089241ddb9665cdfded52ead",
"m_Group": {
"m_Id": "31a187406d544c71addcb5f2ec60f0dd"
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -484.99993896484377,
"y": 253.49993896484376,
"width": 152.5,
"height": 34.00006103515625
}
},
"m_Slots": [
{
"m_Id": "a7afdcba447646dda5deb46af76ab0b2"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "ec0ba007f0bc41e6b7507ffab93a4e81"
}
}

View File

@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: c3bbcf1d5b5ee446baa01a87b8e5dadf
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 350858
packageName: Rive
packageVersion: 0.4.2
assetPath: Packages/app.rive.rive-unity/Runtime/Components/Shaders/SubGraphs/SampleEmission.shadersubgraph
uploadId: 896810

View File

@@ -0,0 +1,906 @@
{
"m_SGVersion": 3,
"m_Type": "UnityEditor.ShaderGraph.GraphData",
"m_ObjectId": "6b29bc6e2a604c9caa97ea94b2c80736",
"m_Properties": [
{
"m_Id": "f77bdba097f842efacf27ee2c4c0d506"
},
{
"m_Id": "9e1655f2e4744921b0d82d5ae5c86246"
}
],
"m_Keywords": [],
"m_Dropdowns": [],
"m_CategoryData": [
{
"m_Id": "2af809f4bc1c4e169b56f6b34177881a"
}
],
"m_Nodes": [
{
"m_Id": "5481f71ba5c04b1aaaeeaa510f770155"
},
{
"m_Id": "505b646d4b1240998d1eb00bbdd63c14"
},
{
"m_Id": "bd9926b765cb4f02ad6cd149c7c0d5b8"
},
{
"m_Id": "2445892a52404f54bda48a2e9e6f84af"
},
{
"m_Id": "b2635025e83d4585a80610c8cebd24b7"
},
{
"m_Id": "607f8b4df7c04211abb8275f1a1b3632"
}
],
"m_GroupDatas": [],
"m_StickyNoteDatas": [],
"m_Edges": [
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "2445892a52404f54bda48a2e9e6f84af"
},
"m_SlotId": 1
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bd9926b765cb4f02ad6cd149c7c0d5b8"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "505b646d4b1240998d1eb00bbdd63c14"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "2445892a52404f54bda48a2e9e6f84af"
},
"m_SlotId": -1619238207
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "505b646d4b1240998d1eb00bbdd63c14"
},
"m_SlotId": 7
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5481f71ba5c04b1aaaeeaa510f770155"
},
"m_SlotId": 2
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "607f8b4df7c04211abb8275f1a1b3632"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "bd9926b765cb4f02ad6cd149c7c0d5b8"
},
"m_SlotId": 0
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "b2635025e83d4585a80610c8cebd24b7"
},
"m_SlotId": 0
},
"m_InputSlot": {
"m_Node": {
"m_Id": "505b646d4b1240998d1eb00bbdd63c14"
},
"m_SlotId": 1
}
},
{
"m_OutputSlot": {
"m_Node": {
"m_Id": "bd9926b765cb4f02ad6cd149c7c0d5b8"
},
"m_SlotId": 2
},
"m_InputSlot": {
"m_Node": {
"m_Id": "5481f71ba5c04b1aaaeeaa510f770155"
},
"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": ""
},
"preventRotation": false
},
"m_Path": "Sub Graphs",
"m_GraphPrecision": 1,
"m_PreviewMode": 2,
"m_OutputNode": {
"m_Id": "5481f71ba5c04b1aaaeeaa510f770155"
},
"m_ActiveTargets": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "0900fee3a8314ee7bf356afe790b2885",
"m_Id": 5,
"m_DisplayName": "G",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "G",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
"m_ObjectId": "1999b6ca2dfc46cb86e9f177fbe9c7ea",
"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": "1e279a64e0d8445e9dcc1ca48dd9b837",
"m_Id": 6,
"m_DisplayName": "B",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "B",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "227ffc2d7fd74fda928a1a5210a76fb4",
"m_Id": -1954867288,
"m_DisplayName": "DecodeMode",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_DecodeMode",
"m_StageCapability": 3,
"m_Value": -1.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphNode",
"m_ObjectId": "2445892a52404f54bda48a2e9e6f84af",
"m_Group": {
"m_Id": ""
},
"m_Name": "SRGBDecode_Auto",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 159.99996948242188,
"y": 178.99996948242188,
"width": 236.50006103515626,
"height": 303.00006103515627
}
},
"m_Slots": [
{
"m_Id": "55463da6ae114689a62afe9ec10d8861"
},
{
"m_Id": "227ffc2d7fd74fda928a1a5210a76fb4"
},
{
"m_Id": "c2170d8deef24038a6f385610b82ea6f"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_SerializedSubGraph": "{\n \"subGraph\": {\n \"fileID\": -5475051401550479605,\n \"guid\": \"a2b967a2d741d41f0892c3328200244a\",\n \"type\": 3\n }\n}",
"m_PropertyGuids": [
"a7292d5e-7e6d-42f7-9e9c-223d6cad8047",
"cb2852af-b565-4de2-964c-573df4bce630"
],
"m_PropertyIds": [
-1619238207,
-1954867288
],
"m_Dropdowns": [],
"m_DropdownSelectedEntries": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
"m_ObjectId": "2af809f4bc1c4e169b56f6b34177881a",
"m_Name": "",
"m_ChildObjectList": [
{
"m_Id": "f77bdba097f842efacf27ee2c4c0d506"
},
{
"m_Id": "9e1655f2e4744921b0d82d5ae5c86246"
}
]
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DMaterialSlot",
"m_ObjectId": "3a6362af5b004bf1b69e3453ae880c72",
"m_Id": 0,
"m_DisplayName": "BaseMap",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "Out",
"m_StageCapability": 3,
"m_BareResource": false
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.UVMaterialSlot",
"m_ObjectId": "3e523ac5b8554e74ab113b284819a44f",
"m_Id": 2,
"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.Vector4MaterialSlot",
"m_ObjectId": "44d7cb15a43840deac9bb0dc0b0da372",
"m_Id": 0,
"m_DisplayName": "BaseColor",
"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.SampleTexture2DNode",
"m_ObjectId": "505b646d4b1240998d1eb00bbdd63c14",
"m_Group": {
"m_Id": ""
},
"m_Name": "Sample Texture 2D",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -185.666748046875,
"y": 432.33306884765627,
"width": 208.0,
"height": 434.0
}
},
"m_Slots": [
{
"m_Id": "6f56033305d54403997dd878f352ef65"
},
{
"m_Id": "d50e6707a0d24a41bba05216869f3b5c"
},
{
"m_Id": "0900fee3a8314ee7bf356afe790b2885"
},
{
"m_Id": "1e279a64e0d8445e9dcc1ca48dd9b837"
},
{
"m_Id": "74e719677b154a188176354162d741fa"
},
{
"m_Id": "d5baa588bf2c4058b79977aaf0edb5d4"
},
{
"m_Id": "3e523ac5b8554e74ab113b284819a44f"
},
{
"m_Id": "d2c1613a82b9444ca4a7060e817c28b0"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_TextureType": 0,
"m_NormalMapSpace": 0,
"m_EnableGlobalMipBias": true
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode",
"m_ObjectId": "5481f71ba5c04b1aaaeeaa510f770155",
"m_Group": {
"m_Id": ""
},
"m_Name": "Output",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 860.5,
"y": 381.0,
"width": 132.5001220703125,
"height": 77.0
}
},
"m_Slots": [
{
"m_Id": "7c49812314c74d799b8304c558adc231"
},
{
"m_Id": "ee88d84e52414d64a7233d06dfb9e8a3"
}
],
"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": "55463da6ae114689a62afe9ec10d8861",
"m_Id": -1619238207,
"m_DisplayName": "ColorIn",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "_ColorIn",
"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.PropertyNode",
"m_ObjectId": "607f8b4df7c04211abb8275f1a1b3632",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -14.159423828125,
"y": 16.1822509765625,
"width": 0.0,
"height": 0.0
}
},
"m_Slots": [
{
"m_Id": "44d7cb15a43840deac9bb0dc0b0da372"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "9e1655f2e4744921b0d82d5ae5c86246"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "6f56033305d54403997dd878f352ef65",
"m_Id": 0,
"m_DisplayName": "RGBA",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "RGBA",
"m_StageCapability": 2,
"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.DynamicValueMaterialSlot",
"m_ObjectId": "6ff3db6ad8354a52aa21ceb81cdd2335",
"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.DynamicValueMaterialSlot",
"m_ObjectId": "71354cc8f9bc4cd486ca15638fb7d6e8",
"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.Vector1MaterialSlot",
"m_ObjectId": "74e719677b154a188176354162d741fa",
"m_Id": 7,
"m_DisplayName": "A",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "A",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
"m_ObjectId": "7c49812314c74d799b8304c558adc231",
"m_Id": 1,
"m_DisplayName": "Out_BaseColor",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Out_BaseColor",
"m_StageCapability": 2,
"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": 3,
"m_Type": "UnityEditor.ShaderGraph.Internal.ColorShaderProperty",
"m_ObjectId": "9e1655f2e4744921b0d82d5ae5c86246",
"m_Guid": {
"m_GuidSerialized": "0dafdea0-1c0d-40c7-9a2f-3553ae8cb358"
},
"m_Name": "BaseColor",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "BaseColor",
"m_DefaultReferenceName": "_BaseColor",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"r": 0.0,
"g": 0.0,
"b": 0.0,
"a": 0.0
},
"isMainColor": false,
"m_ColorMode": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
"m_ObjectId": "b2635025e83d4585a80610c8cebd24b7",
"m_Group": {
"m_Id": ""
},
"m_Name": "Property",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": -477.5,
"y": 474.5,
"width": 128.5,
"height": 34.0
}
},
"m_Slots": [
{
"m_Id": "3a6362af5b004bf1b69e3453ae880c72"
}
],
"synonyms": [],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
},
"m_Property": {
"m_Id": "f77bdba097f842efacf27ee2c4c0d506"
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
"m_ObjectId": "bd9926b765cb4f02ad6cd149c7c0d5b8",
"m_Group": {
"m_Id": ""
},
"m_Name": "Multiply",
"m_DrawState": {
"m_Expanded": true,
"m_Position": {
"serializedVersion": "2",
"x": 578.0001220703125,
"y": -84.00006103515625,
"width": 208.0,
"height": 302.00006103515627
}
},
"m_Slots": [
{
"m_Id": "71354cc8f9bc4cd486ca15638fb7d6e8"
},
{
"m_Id": "6ff3db6ad8354a52aa21ceb81cdd2335"
},
{
"m_Id": "1999b6ca2dfc46cb86e9f177fbe9c7ea"
}
],
"synonyms": [
"multiplication",
"times",
"x"
],
"m_Precision": 0,
"m_PreviewExpanded": true,
"m_PreviewMode": 0,
"m_CustomColors": {
"m_SerializableColors": []
}
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector4MaterialSlot",
"m_ObjectId": "c2170d8deef24038a6f385610b82ea6f",
"m_Id": 1,
"m_DisplayName": "Out_Vector4",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "OutVector4",
"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": "d2c1613a82b9444ca4a7060e817c28b0",
"m_Id": 3,
"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.Vector1MaterialSlot",
"m_ObjectId": "d50e6707a0d24a41bba05216869f3b5c",
"m_Id": 4,
"m_DisplayName": "R",
"m_SlotType": 1,
"m_Hidden": false,
"m_ShaderOutputName": "R",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Texture2DInputMaterialSlot",
"m_ObjectId": "d5baa588bf2c4058b79977aaf0edb5d4",
"m_Id": 1,
"m_DisplayName": "Texture",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Texture",
"m_StageCapability": 3,
"m_BareResource": false,
"m_Texture": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"m_DefaultType": 0
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
"m_ObjectId": "ee88d84e52414d64a7233d06dfb9e8a3",
"m_Id": 2,
"m_DisplayName": "Out_Alpha",
"m_SlotType": 0,
"m_Hidden": false,
"m_ShaderOutputName": "Out_Alpha",
"m_StageCapability": 2,
"m_Value": 0.0,
"m_DefaultValue": 0.0,
"m_Labels": []
}
{
"m_SGVersion": 0,
"m_Type": "UnityEditor.ShaderGraph.Internal.Texture2DShaderProperty",
"m_ObjectId": "f77bdba097f842efacf27ee2c4c0d506",
"m_Guid": {
"m_GuidSerialized": "4b65a152-6b9e-429e-bbc1-bebac7fac8fc"
},
"m_Name": "BaseMap",
"m_DefaultRefNameVersion": 1,
"m_RefNameGeneratedByDisplayName": "BaseMap",
"m_DefaultReferenceName": "_BaseMap",
"m_OverrideReferenceName": "",
"m_GeneratePropertyBlock": true,
"m_UseCustomSlotLabel": false,
"m_CustomSlotLabel": "",
"m_Precision": 0,
"overrideHLSLDeclaration": false,
"hlslDeclarationOverride": 0,
"m_Hidden": false,
"m_Value": {
"m_SerializedTexture": "{\"texture\":{\"instanceID\":0}}",
"m_Guid": ""
},
"isMainTexture": false,
"useTilingAndOffset": false,
"m_Modifiable": true,
"m_DefaultType": 0
}

View File

@@ -0,0 +1,17 @@
fileFormatVersion: 2
guid: 287ae8d259edf47cf9ec073950debe11
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3}
AssetOrigin:
serializedVersion: 1
productId: 350858
packageName: Rive
packageVersion: 0.4.2
assetPath: Packages/app.rive.rive-unity/Runtime/Components/Shaders/SubGraphs/SampleMainRiveTexture.shadersubgraph
uploadId: 896810