diff --git a/Runtime/MaskCamera.cs b/Runtime/MaskCamera.cs index d2037fc..6769db2 100644 --- a/Runtime/MaskCamera.cs +++ b/Runtime/MaskCamera.cs @@ -1,3 +1,4 @@ +using System.Collections.Generic; using UnityEngine; namespace TAO.InteractiveMask @@ -5,14 +6,19 @@ namespace TAO.InteractiveMask [RequireComponent(typeof(MaskRenderer))] public class MaskCamera : MonoBehaviour { + public Mode mode = Mode.EachFrame; + [SerializeField] private Camera maskCamera = null; private MaskRenderer maskRenderer = null; public RenderTexture target = null; - private RenderTexture source = null; + public List materials = new List(); + + private int targetWidth = 0; + private void Awake() { maskRenderer = GetComponent(); @@ -23,11 +29,49 @@ namespace TAO.InteractiveMask maskRenderer.target = target; maskRenderer.source = source; + + targetWidth = target.width; + + maskRenderer.Init(); } - private void Start() + private void Update() { - maskCamera.enabled = true; + if (mode == Mode.EachFrame) + { + Render(); + } + } + + public void Render() + { + SnapCameraPosition(); + + maskCamera.Render(); + maskRenderer.Render(); + + foreach (var m in materials) + { + m.SetVector("_MaskData", new Vector4(maskCamera.transform.position.x, maskCamera.transform.position.z, maskCamera.orthographicSize, 0)); + } + } + + private void SnapCameraPosition() + { + float pws = (1.0f / targetWidth) * maskCamera.orthographicSize; + + // Snap position to pixel. + Vector3 newPos = Vector3.zero; + newPos.x = (Mathf.Floor(maskCamera.transform.position.x / pws) + 0.5f) * pws; + newPos.y = maskCamera.transform.position.y; + newPos.z = (Mathf.Floor(maskCamera.transform.position.z / pws) + 0.5f) * pws; + maskCamera.transform.position = newPos; + } + + public enum Mode + { + EachFrame, + Manual } } } \ No newline at end of file diff --git a/Runtime/MaskRenderer.cs b/Runtime/MaskRenderer.cs index 32bc7bb..69c5644 100644 --- a/Runtime/MaskRenderer.cs +++ b/Runtime/MaskRenderer.cs @@ -4,8 +4,6 @@ namespace TAO.InteractiveMask { public class MaskRenderer : MonoBehaviour { - public Mode mode = Mode.EachFrame; - public Shader clearBlit = null; private Material clearBlitMaterial; // Camera source. @@ -19,7 +17,7 @@ namespace TAO.InteractiveMask public bool debugGui = false; - public void Awake() + public void Init() { clearBlitMaterial = new Material(clearBlit); @@ -29,14 +27,6 @@ namespace TAO.InteractiveMask } } - private void Update() - { - if (mode == Mode.EachFrame) - { - Render(); - } - } - public void Render() { Graphics.Blit(target, target, clearBlitMaterial); @@ -107,12 +97,6 @@ namespace TAO.InteractiveMask GUILayout.Label(string.Format("{0}\n{1}x{2}\n{3}", texture.name, texture.width, texture.height, texture.graphicsFormat)); } } - - public enum Mode - { - EachFrame, - Manual - } } [System.Serializable] diff --git a/Runtime/MaskRenderer.cs.meta b/Runtime/MaskRenderer.cs.meta index b6acab6..75244c3 100644 --- a/Runtime/MaskRenderer.cs.meta +++ b/Runtime/MaskRenderer.cs.meta @@ -3,7 +3,10 @@ guid: c7ace5587b33c154490f78c11ec9a297 MonoImporter: externalObjects: {} serializedVersion: 2 - defaultReferences: [] + defaultReferences: + - clearBlit: {fileID: 4800000, guid: 612652bd41e196b408fe733989b1d223, type: 3} + - source: {instanceID: 0} + - target: {instanceID: 0} executionOrder: 0 icon: {instanceID: 0} userData: diff --git a/Runtime/Prefabs.meta b/Runtime/Prefabs.meta deleted file mode 100644 index 12e3a4a..0000000 --- a/Runtime/Prefabs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 32397a0d798be9c498e9b59fe048be10 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Prefabs/MaskRenderer.prefab b/Runtime/Prefabs/MaskRenderer.prefab deleted file mode 100644 index a7e135e..0000000 --- a/Runtime/Prefabs/MaskRenderer.prefab +++ /dev/null @@ -1,190 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!1 &354132074049328695 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 354132074049328699} - - component: {fileID: 354132074049328698} - - component: {fileID: 354132074049328697} - m_Layer: 6 - m_Name: MaskRenderer - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &354132074049328699 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 354132074049328695} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 354132074141824353} - m_Father: {fileID: 0} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} ---- !u!114 &354132074049328698 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 354132074049328695} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 50ab359e83953ab4590f3bdba570d4cf, type: 3} - m_Name: - m_EditorClassIdentifier: - maskCamera: {fileID: 354132074141824159} - target: {fileID: 8400000, guid: 6dbf8770b857bc143a3ebf8ac17ff43a, type: 2} ---- !u!114 &354132074049328697 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 354132074049328695} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: c7ace5587b33c154490f78c11ec9a297, type: 3} - m_Name: - m_EditorClassIdentifier: - mode: 0 - clearBlit: {fileID: 4800000, guid: 612652bd41e196b408fe733989b1d223, type: 3} - source: {fileID: 0} - target: {fileID: 8400000, guid: 6dbf8770b857bc143a3ebf8ac17ff43a, type: 2} - layers: - - type: 0 - mask: - r: 0 - g: 1 - b: 0 - a: 1 - blit: {fileID: 4800000, guid: b56b79d9c9a85fb45bf1a263d73bd938, type: 3} - persistentBlit: {fileID: 4800000, guid: 794c349d1ba10d34c86b6dd5c2b8bb7e, type: 3} - - type: 1 - mask: - r: 1 - g: 0 - b: 0 - a: 0 - blit: {fileID: 4800000, guid: b56b79d9c9a85fb45bf1a263d73bd938, type: 3} - persistentBlit: {fileID: 4800000, guid: 794c349d1ba10d34c86b6dd5c2b8bb7e, type: 3} - debugGui: 1 ---- !u!1 &354132074141824156 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 354132074141824353} - - component: {fileID: 354132074141824159} - - component: {fileID: 354132074141824158} - m_Layer: 6 - m_Name: MaskCamera - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!4 &354132074141824353 -Transform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 354132074141824156} - m_LocalRotation: {x: 0.7071068, y: 0, z: 0, w: 0.7071068} - m_LocalPosition: {x: 0, y: 100, z: 0} - m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: [] - m_Father: {fileID: 354132074049328699} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 90, y: 0, z: 0} ---- !u!20 &354132074141824159 -Camera: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 354132074141824156} - m_Enabled: 0 - serializedVersion: 2 - m_ClearFlags: 2 - m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0} - m_projectionMatrixMode: 1 - m_GateFitMode: 2 - m_FOVAxisMode: 0 - m_SensorSize: {x: 36, y: 24} - m_LensShift: {x: 0, y: 0} - m_FocalLength: 50 - m_NormalizedViewPortRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 - near clip plane: 0.3 - far clip plane: 1000 - field of view: 60 - orthographic: 1 - orthographic size: 10 - m_Depth: 0 - m_CullingMask: - serializedVersion: 2 - m_Bits: 64 - m_RenderingPath: -1 - m_TargetTexture: {fileID: 0} - m_TargetDisplay: 0 - m_TargetEye: 3 - m_HDR: 0 - m_AllowMSAA: 0 - m_AllowDynamicResolution: 0 - m_ForceIntoRT: 0 - m_OcclusionCulling: 1 - m_StereoConvergence: 10 - m_StereoSeparation: 0.022 ---- !u!114 &354132074141824158 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 354132074141824156} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3} - m_Name: - m_EditorClassIdentifier: - m_RenderShadows: 0 - m_RequiresDepthTextureOption: 2 - m_RequiresOpaqueTextureOption: 2 - m_CameraType: 0 - m_Cameras: [] - m_RendererIndex: 1 - m_VolumeLayerMask: - serializedVersion: 2 - m_Bits: 64 - m_VolumeTrigger: {fileID: 0} - m_RenderPostProcessing: 0 - m_Antialiasing: 0 - m_AntialiasingQuality: 2 - m_StopNaN: 0 - m_Dithering: 0 - m_ClearDepth: 1 - m_AllowXRRendering: 1 - m_RequiresDepthTexture: 0 - m_RequiresColorTexture: 0 - m_Version: 2 diff --git a/Runtime/Prefabs/MaskRenderer.prefab.meta b/Runtime/Prefabs/MaskRenderer.prefab.meta deleted file mode 100644 index 77aa68d..0000000 --- a/Runtime/Prefabs/MaskRenderer.prefab.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 16a45af4d26459143a161c4f419e17b3 -PrefabImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Settings.meta b/Runtime/Settings.meta deleted file mode 100644 index a66f519..0000000 --- a/Runtime/Settings.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2efbe7ce63090b44e83e9a0f0f959020 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Settings/MaskRenderer.asset b/Runtime/Settings/MaskRenderer.asset deleted file mode 100644 index 7d9a67d..0000000 --- a/Runtime/Settings/MaskRenderer.asset +++ /dev/null @@ -1,44 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: de640fe3d0db1804a85f9fc8f5cadab6, type: 3} - m_Name: MaskRenderer - m_EditorClassIdentifier: - m_RendererFeatures: [] - m_RendererFeatureMap: - postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2} - xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2} - shaders: - blitPS: {fileID: 4800000, guid: c17132b1f77d20942aa75f8429c0f8bc, type: 3} - copyDepthPS: {fileID: 4800000, guid: d6dae50ee9e1bfa4db75f19f99355220, type: 3} - screenSpaceShadowPS: {fileID: 4800000, guid: 0f854b35a0cf61a429bd5dcfea30eddd, type: 3} - samplingPS: {fileID: 4800000, guid: 04c410c9937594faa893a11dceb85f7e, type: 3} - tileDepthInfoPS: {fileID: 0} - tileDeferredPS: {fileID: 0} - stencilDeferredPS: {fileID: 4800000, guid: e9155b26e1bc55942a41e518703fe304, type: 3} - fallbackErrorPS: {fileID: 4800000, guid: e6e9a19c3678ded42a3bc431ebef7dbd, type: 3} - materialErrorPS: {fileID: 4800000, guid: 5fd9a8feb75a4b5894c241777f519d4e, type: 3} - m_OpaqueLayerMask: - serializedVersion: 2 - m_Bits: 64 - m_TransparentLayerMask: - serializedVersion: 2 - m_Bits: 64 - m_DefaultStencilState: - overrideStencilState: 0 - stencilReference: 0 - stencilCompareFunction: 8 - passOperation: 0 - failOperation: 0 - zFailOperation: 0 - m_ShadowTransparentReceive: 0 - m_RenderingMode: 0 - m_AccurateGbufferNormals: 0 diff --git a/Runtime/Settings/MaskRenderer.asset.meta b/Runtime/Settings/MaskRenderer.asset.meta deleted file mode 100644 index 23ceff6..0000000 --- a/Runtime/Settings/MaskRenderer.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: de7c7563db809844baabc245710725ba -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Shaders/MaskUV.shadersubgraph b/Runtime/Shaders/MaskUV.shadersubgraph new file mode 100644 index 0000000..18121a0 --- /dev/null +++ b/Runtime/Shaders/MaskUV.shadersubgraph @@ -0,0 +1,1267 @@ +{ + "m_SGVersion": 2, + "m_Type": "UnityEditor.ShaderGraph.GraphData", + "m_ObjectId": "f11edb85c1b748f490575515827ec2fa", + "m_Properties": [ + { + "m_Id": "b57f4e3d169eed8bbcb0aadcc17f20ef" + }, + { + "m_Id": "cdf7022904fc968a9aa40c1958dd904f" + } + ], + "m_Keywords": [], + "m_Nodes": [ + { + "m_Id": "20b7a7813952fa80a41c10126a1c4c6a" + }, + { + "m_Id": "d0050ffe96697e8dbdf48d13e4a8f4c8" + }, + { + "m_Id": "1199aa7764aa138eafcc1e61af9e5a36" + }, + { + "m_Id": "71a005802e4a8b898b043198c7537583" + }, + { + "m_Id": "ef9ffcc80559058f8df4457e026c402f" + }, + { + "m_Id": "00c14d6b8071208baa33b5781a2333d6" + }, + { + "m_Id": "829e3a1b09290f889480fc6b37e39a0c" + }, + { + "m_Id": "208d8b31c1e7098cbdfbdccf77ad457d" + }, + { + "m_Id": "e88672901a9e4d09b1672972dc4c2a43" + }, + { + "m_Id": "553f51c3859f4c53a388066bfeb62d79" + } + ], + "m_GroupDatas": [], + "m_StickyNoteDatas": [ + { + "m_Id": "4294979627cd46169da88483f65eece7" + } + ], + "m_Edges": [ + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "00c14d6b8071208baa33b5781a2333d6" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "ef9ffcc80559058f8df4457e026c402f" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "1199aa7764aa138eafcc1e61af9e5a36" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "e88672901a9e4d09b1672972dc4c2a43" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "208d8b31c1e7098cbdfbdccf77ad457d" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "00c14d6b8071208baa33b5781a2333d6" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "208d8b31c1e7098cbdfbdccf77ad457d" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "553f51c3859f4c53a388066bfeb62d79" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "553f51c3859f4c53a388066bfeb62d79" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "ef9ffcc80559058f8df4457e026c402f" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "71a005802e4a8b898b043198c7537583" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "d0050ffe96697e8dbdf48d13e4a8f4c8" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "829e3a1b09290f889480fc6b37e39a0c" + }, + "m_SlotId": 0 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "e88672901a9e4d09b1672972dc4c2a43" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "d0050ffe96697e8dbdf48d13e4a8f4c8" + }, + "m_SlotId": 1 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "1199aa7764aa138eafcc1e61af9e5a36" + }, + "m_SlotId": 1 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "d0050ffe96697e8dbdf48d13e4a8f4c8" + }, + "m_SlotId": 3 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "1199aa7764aa138eafcc1e61af9e5a36" + }, + "m_SlotId": 2 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "e88672901a9e4d09b1672972dc4c2a43" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "00c14d6b8071208baa33b5781a2333d6" + }, + "m_SlotId": 0 + } + }, + { + "m_OutputSlot": { + "m_Node": { + "m_Id": "ef9ffcc80559058f8df4457e026c402f" + }, + "m_SlotId": 2 + }, + "m_InputSlot": { + "m_Node": { + "m_Id": "20b7a7813952fa80a41c10126a1c4c6a" + }, + "m_SlotId": 1 + } + } + ], + "m_VertexContext": { + "m_Position": { + "x": 480.0, + "y": -115.0 + }, + "m_Blocks": [] + }, + "m_FragmentContext": { + "m_Position": { + "x": 480.0, + "y": 85.0 + }, + "m_Blocks": [] + }, + "m_PreviewData": { + "serializedMesh": { + "m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}", + "m_Guid": "" + } + }, + "m_Path": "TAO/InteractiveMask", + "m_ConcretePrecision": 0, + "m_OutputNode": { + "m_Id": "20b7a7813952fa80a41c10126a1c4c6a" + }, + "m_ActiveTargets": [] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.AddNode", + "m_ObjectId": "00c14d6b8071208baa33b5781a2333d6", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Add", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 164.0, + "y": -115.0, + "width": 135.0, + "height": 118.0 + } + }, + "m_Slots": [ + { + "m_Id": "17cc4130389235828200475186fdbb8f" + }, + { + "m_Id": "1a95eb52e65c6b8981e2e19e91daa7f2" + }, + { + "m_Id": "e9553e754bce61809eb1e73b2e459278" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "08ef9c67b9ba8884886d1f706e9ac532", + "m_Id": 4, + "m_DisplayName": "A", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [ + "X" + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "0aa262cf4a11da8eba2044f9a3a3e60e", + "m_Id": 2, + "m_DisplayName": "G", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "G", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [ + "X" + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2Node", + "m_ObjectId": "1199aa7764aa138eafcc1e61af9e5a36", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Vector 2", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -151.5, + "y": -114.75, + "width": 135.0, + "height": 101.0 + } + }, + "m_Slots": [ + { + "m_Id": "c6896769858a8a868112cc235efa4c63" + }, + { + "m_Id": "b1133cff0d50b4889f72c07c551e2f8b" + }, + { + "m_Id": "a498ccddda20678d9ff903bca15eb7f8" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Value": { + "x": 0.0, + "y": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "17cc4130389235828200475186fdbb8f", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "1a95eb52e65c6b8981e2e19e91daa7f2", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "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.PropertyNode", + "m_ObjectId": "208d8b31c1e7098cbdfbdccf77ad457d", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 8.999985694885254, + "y": 49.000022888183597, + "width": 138.0, + "height": 34.0 + } + }, + "m_Slots": [ + { + "m_Id": "290b64c84b397d8b9843b9929df5e0fa" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "cdf7022904fc968a9aa40c1958dd904f" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SubGraphOutputNode", + "m_ObjectId": "20b7a7813952fa80a41c10126a1c4c6a", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Out_Vector2", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 480.0, + "y": -115.0, + "width": 138.0, + "height": 77.0 + } + }, + "m_Slots": [ + { + "m_Id": "b92146200a20f78980884575ad3e5cf8" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "IsFirstSlotValid": true +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot", + "m_ObjectId": "2772bd466b0381858fd066271d99e1f4", + "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 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0 + }, + "m_Labels": [ + "X", + "Y", + "Z" + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "290b64c84b397d8b9843b9929df5e0fa", + "m_Id": 0, + "m_DisplayName": "CameraSize", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "Out", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [ + "X" + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "2f677e1d59994c7bab48437d28f0e76f", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "3c15b5029330758c9a6459a2e480be02", + "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 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "3ddb070099954e2595101265a6957aea", + "m_Id": 1, + "m_DisplayName": "B", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": { + "x": 1.0, + "y": 1.0, + "z": 1.0, + "w": 1.0 + }, + "m_DefaultValue": { + "x": 0.0, + "y": 0.0, + "z": 0.0, + "w": 0.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.StickyNoteData", + "m_ObjectId": "4294979627cd46169da88483f65eece7", + "m_Title": "UV", + "m_Content": "World position uv with offset based on capture size.\n", + "m_TextSize": 0, + "m_Theme": 0, + "m_Position": { + "serializedVersion": "2", + "x": 414.0, + "y": -227.0, + "width": 200.0, + "height": 100.0 + }, + "m_Group": { + "m_Id": "" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "524cb3152843ce84939f11da3146865b", + "m_Id": 0, + "m_DisplayName": "CameraOffset", + "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": [ + "X", + "Y" + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.MultiplyNode", + "m_ObjectId": "553f51c3859f4c53a388066bfeb62d79", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Multiply", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 167.0, + "y": 9.000003814697266, + "width": 126.0, + "height": 118.0 + } + }, + "m_Slots": [ + { + "m_Id": "bcbfd70b41a34cf983818fdc2e1b63d8" + }, + { + "m_Id": "2f677e1d59994c7bab48437d28f0e76f" + }, + { + "m_Id": "b948d591d0e34e5c92b721f2173463ba" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot", + "m_ObjectId": "5c02cfd5e3d6c580a4b002fcd97e64ac", + "m_Id": 3, + "m_DisplayName": "B", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "B", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [ + "X" + ] +} + +{ + "m_SGVersion": 1, + "m_Type": "UnityEditor.ShaderGraph.PositionNode", + "m_ObjectId": "71a005802e4a8b898b043198c7537583", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Position", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -518.0, + "y": -114.99999237060547, + "width": 206.0, + "height": 132.0 + } + }, + "m_Slots": [ + { + "m_Id": "2772bd466b0381858fd066271d99e1f4" + } + ], + "synonyms": [], + "m_Precision": 1, + "m_PreviewExpanded": false, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Space": 4 +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.PropertyNode", + "m_ObjectId": "829e3a1b09290f889480fc6b37e39a0c", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Property", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -165.0, + "y": -15.999980926513672, + "width": 150.0, + "height": 34.0 + } + }, + "m_Slots": [ + { + "m_Id": "524cb3152843ce84939f11da3146865b" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_CustomColors": { + "m_SerializableColors": [] + }, + "m_Property": { + "m_Id": "b57f4e3d169eed8bbcb0aadcc17f20ef" + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.Vector2MaterialSlot", + "m_ObjectId": "a498ccddda20678d9ff903bca15eb7f8", + "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": [ + "X", + "Y" + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "a6b28c416779ab89b9bac246cbc7a34d", + "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": "b1133cff0d50b4889f72c07c551e2f8b", + "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.DynamicVectorMaterialSlot", + "m_ObjectId": "b2f07501a59a4c8b8e62d6ec2fdfdcf9", + "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": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector2ShaderProperty", + "m_ObjectId": "b57f4e3d169eed8bbcb0aadcc17f20ef", + "m_Guid": { + "m_GuidSerialized": "f3461e36-e66d-4747-8ee1-0f7e6cbfecfd" + }, + "m_Name": "CameraOffset", + "m_DefaultReferenceName": "Vector2_4EE79E3F", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "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.Vector2MaterialSlot", + "m_ObjectId": "b92146200a20f78980884575ad3e5cf8", + "m_Id": 1, + "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": [ + "X", + "Y" + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "b948d591d0e34e5c92b721f2173463ba", + "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": "bc78530a7ecc198783fb1aac68c4e88b", + "m_Id": 1, + "m_DisplayName": "R", + "m_SlotType": 1, + "m_Hidden": false, + "m_ShaderOutputName": "R", + "m_StageCapability": 3, + "m_Value": 0.0, + "m_DefaultValue": 0.0, + "m_Labels": [ + "X" + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot", + "m_ObjectId": "bcbfd70b41a34cf983818fdc2e1b63d8", + "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": "be524125abce499d91a3d3f21d8bd608", + "m_Id": 0, + "m_DisplayName": "A", + "m_SlotType": 0, + "m_Hidden": false, + "m_ShaderOutputName": "A", + "m_StageCapability": 3, + "m_Value": { + "x": 1.0, + "y": 1.0, + "z": 1.0, + "w": 1.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": "c6896769858a8a868112cc235efa4c63", + "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": [ + "X" + ] +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "c81b8e1718e8b6819fab986007651790", + "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": 1, + "m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty", + "m_ObjectId": "cdf7022904fc968a9aa40c1958dd904f", + "m_Guid": { + "m_GuidSerialized": "05ddcb40-b34c-45bf-b9fa-511e0ad68293" + }, + "m_Name": "CameraSize", + "m_DefaultReferenceName": "Vector1_E777A6FC", + "m_OverrideReferenceName": "", + "m_GeneratePropertyBlock": true, + "m_Precision": 0, + "overrideHLSLDeclaration": false, + "hlslDeclarationOverride": 0, + "m_Hidden": false, + "m_Value": 16.0, + "m_FloatType": 0, + "m_RangeValues": { + "x": 0.0, + "y": 1.0 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SplitNode", + "m_ObjectId": "d0050ffe96697e8dbdf48d13e4a8f4c8", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Split", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": -295.0, + "y": -114.99999237060547, + "width": 120.00000762939453, + "height": 149.0 + } + }, + "m_Slots": [ + { + "m_Id": "c81b8e1718e8b6819fab986007651790" + }, + { + "m_Id": "bc78530a7ecc198783fb1aac68c4e88b" + }, + { + "m_Id": "0aa262cf4a11da8eba2044f9a3a3e60e" + }, + { + "m_Id": "5c02cfd5e3d6c580a4b002fcd97e64ac" + }, + { + "m_Id": "08ef9c67b9ba8884886d1f706e9ac532" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": true, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.SubtractNode", + "m_ObjectId": "e88672901a9e4d09b1672972dc4c2a43", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Subtract", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 2.0000152587890627, + "y": -115.0, + "width": 130.0, + "height": 118.0 + } + }, + "m_Slots": [ + { + "m_Id": "be524125abce499d91a3d3f21d8bd608" + }, + { + "m_Id": "3ddb070099954e2595101265a6957aea" + }, + { + "m_Id": "fe4c0e43624c472aafdc33d93c1b20fb" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "e9553e754bce61809eb1e73b2e459278", + "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 + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DivideNode", + "m_ObjectId": "ef9ffcc80559058f8df4457e026c402f", + "m_Group": { + "m_Id": "" + }, + "m_Name": "Divide", + "m_DrawState": { + "m_Expanded": true, + "m_Position": { + "serializedVersion": "2", + "x": 317.9999694824219, + "y": -114.99999237060547, + "width": 130.0, + "height": 118.0 + } + }, + "m_Slots": [ + { + "m_Id": "a6b28c416779ab89b9bac246cbc7a34d" + }, + { + "m_Id": "b2f07501a59a4c8b8e62d6ec2fdfdcf9" + }, + { + "m_Id": "3c15b5029330758c9a6459a2e480be02" + } + ], + "synonyms": [], + "m_Precision": 0, + "m_PreviewExpanded": false, + "m_CustomColors": { + "m_SerializableColors": [] + } +} + +{ + "m_SGVersion": 0, + "m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot", + "m_ObjectId": "fe4c0e43624c472aafdc33d93c1b20fb", + "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 + } +} + diff --git a/Runtime/Shaders/MaskUV.shadersubgraph.meta b/Runtime/Shaders/MaskUV.shadersubgraph.meta new file mode 100644 index 0000000..ce3d9d6 --- /dev/null +++ b/Runtime/Shaders/MaskUV.shadersubgraph.meta @@ -0,0 +1,10 @@ +fileFormatVersion: 2 +guid: 1ee90bece743c604ab9cb277623d374e +ScriptedImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 2 + userData: + assetBundleName: + assetBundleVariant: + script: {fileID: 11500000, guid: 60072b568d64c40a485e0fc55012dc9f, type: 3} diff --git a/Runtime/Textures.meta b/Runtime/Textures.meta deleted file mode 100644 index b571231..0000000 --- a/Runtime/Textures.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 09c1b73271dc0944dad462995cae5ca7 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Textures/Target.renderTexture b/Runtime/Textures/Target.renderTexture deleted file mode 100644 index ed4fb07..0000000 --- a/Runtime/Textures/Target.renderTexture +++ /dev/null @@ -1,38 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!84 &8400000 -RenderTexture: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: Target - m_ImageContentsHash: - serializedVersion: 2 - Hash: 00000000000000000000000000000000 - m_ForcedFallbackFormat: 4 - m_DownscaleFallback: 0 - m_IsAlphaChannelOptional: 0 - serializedVersion: 3 - m_Width: 256 - m_Height: 256 - m_AntiAliasing: 1 - m_MipCount: -1 - m_DepthFormat: 0 - m_ColorFormat: 8 - m_MipMap: 0 - m_GenerateMips: 1 - m_SRGB: 0 - m_UseDynamicScale: 0 - m_BindMS: 0 - m_EnableCompatibleFormat: 1 - m_TextureSettings: - serializedVersion: 2 - m_FilterMode: 1 - m_Aniso: 0 - m_MipBias: 0 - m_WrapU: 1 - m_WrapV: 1 - m_WrapW: 1 - m_Dimension: 2 - m_VolumeDepth: 1 diff --git a/Runtime/Textures/Target.renderTexture.meta b/Runtime/Textures/Target.renderTexture.meta deleted file mode 100644 index bbd5ad2..0000000 --- a/Runtime/Textures/Target.renderTexture.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6dbf8770b857bc143a3ebf8ac17ff43a -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 8400000 - userData: - assetBundleName: - assetBundleVariant: