├── .editorconfig
├── .github
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── SUPPORT.md
└── workflows
│ └── npmpublish.yml
├── .gitignore
├── CHANGELOG.md
├── Docs
├── MotusOutline.png
├── OutlineBehaviourInspector.png
├── OutlineEffectInspector.png
├── OutlineLayerCollectionInspector.png
├── OutlineSamples.png
├── OutlineSettingsInspector.png
├── PpOutlineSettings.png
└── UrpOutlineSettings.png
├── LICENSE.md
├── NpmPublish.bat
├── Outline.Core
├── Assets
│ ├── Common.meta
│ ├── Common
│ │ ├── FpsCounter.cs
│ │ └── FpsCounter.cs.meta
│ ├── Examples.meta
│ ├── Examples
│ │ ├── SimplePerCamera.meta
│ │ ├── SimplePerCamera
│ │ │ ├── Cutout.mat
│ │ │ ├── Cutout.mat.meta
│ │ │ ├── Outline.unity
│ │ │ ├── Outline.unity.meta
│ │ │ ├── TestImage.png
│ │ │ ├── TestImage.png.meta
│ │ │ ├── TestOutlineLayers.asset
│ │ │ ├── TestOutlineLayers.asset.meta
│ │ │ ├── Transparent.mat
│ │ │ └── Transparent.mat.meta
│ │ ├── SimplePerObject.meta
│ │ └── SimplePerObject
│ │ │ ├── TestOutlineSettings.asset
│ │ │ └── TestOutlineSettings.asset.meta
│ ├── Tests.meta
│ ├── Tests
│ │ ├── Editor.meta
│ │ └── Editor
│ │ │ ├── Scripts.meta
│ │ │ └── Scripts
│ │ │ ├── Helpers.meta
│ │ │ ├── Helpers
│ │ │ ├── IOutlineSettingsTests.cs
│ │ │ └── IOutlineSettingsTests.cs.meta
│ │ │ ├── OutlineBehaviourTests.cs
│ │ │ ├── OutlineBehaviourTests.cs.meta
│ │ │ ├── OutlineLayerCollectionTests.cs
│ │ │ ├── OutlineLayerCollectionTests.cs.meta
│ │ │ ├── OutlineLayerTests.cs
│ │ │ ├── OutlineLayerTests.cs.meta
│ │ │ ├── OutlineSettingsTests.cs
│ │ │ └── OutlineSettingsTests.cs.meta
│ ├── XR.meta
│ └── XR
│ │ ├── Loaders.meta
│ │ ├── Loaders
│ │ ├── Mock HMD Loader.asset
│ │ └── Mock HMD Loader.asset.meta
│ │ ├── Settings.meta
│ │ ├── Settings
│ │ ├── Mock HMD Build Settings.asset
│ │ └── Mock HMD Build Settings.asset.meta
│ │ ├── XRGeneralSettings.asset
│ │ └── XRGeneralSettings.asset.meta
├── Packages
│ ├── UnityFx.Outline
│ │ ├── CHANGELOG.md
│ │ ├── CHANGELOG.md.meta
│ │ ├── Editor.meta
│ │ ├── Editor
│ │ │ ├── Scripts.meta
│ │ │ ├── Scripts
│ │ │ │ ├── OutlineBehaviourEditor.cs
│ │ │ │ ├── OutlineBehaviourEditor.cs.meta
│ │ │ │ ├── OutlineBuilderEditor.cs
│ │ │ │ ├── OutlineBuilderEditor.cs.meta
│ │ │ │ ├── OutlineEditorUtility.cs
│ │ │ │ ├── OutlineEditorUtility.cs.meta
│ │ │ │ ├── OutlineEffectEditor.cs
│ │ │ │ ├── OutlineEffectEditor.cs.meta
│ │ │ │ ├── OutlineLayerCollectionEditor.cs
│ │ │ │ ├── OutlineLayerCollectionEditor.cs.meta
│ │ │ │ ├── OutlineSettingsEditor.cs
│ │ │ │ ├── OutlineSettingsEditor.cs.meta
│ │ │ │ ├── OutlineSettingsInstanceDrawer.cs
│ │ │ │ ├── OutlineSettingsInstanceDrawer.cs.meta
│ │ │ │ ├── OutlineSettingsWithLayerMaskDrawer.cs
│ │ │ │ └── OutlineSettingsWithLayerMaskDrawer.cs.meta
│ │ │ ├── UnityFx.Outline.Editor.asmdef
│ │ │ └── UnityFx.Outline.Editor.asmdef.meta
│ │ ├── README.md
│ │ ├── README.md.meta
│ │ ├── Runtime.meta
│ │ ├── Runtime
│ │ │ ├── Prefabs.meta
│ │ │ ├── Prefabs
│ │ │ │ ├── OutlineResources.asset
│ │ │ │ └── OutlineResources.asset.meta
│ │ │ ├── Scripts.meta
│ │ │ ├── Scripts
│ │ │ │ ├── IOutlineSettings.cs
│ │ │ │ ├── IOutlineSettings.cs.meta
│ │ │ │ ├── OutlineBehaviour.cs
│ │ │ │ ├── OutlineBehaviour.cs.meta
│ │ │ │ ├── OutlineBuilder.cs
│ │ │ │ ├── OutlineBuilder.cs.meta
│ │ │ │ ├── OutlineEffect.cs
│ │ │ │ ├── OutlineEffect.cs.meta
│ │ │ │ ├── OutlineFilterMode.cs
│ │ │ │ ├── OutlineFilterMode.cs.meta
│ │ │ │ ├── OutlineLayer.cs
│ │ │ │ ├── OutlineLayer.cs.meta
│ │ │ │ ├── OutlineLayerCollection.cs
│ │ │ │ ├── OutlineLayerCollection.cs.meta
│ │ │ │ ├── OutlineResources.cs
│ │ │ │ ├── OutlineResources.cs.meta
│ │ │ │ ├── OutlineSettings.cs
│ │ │ │ ├── OutlineSettings.cs.meta
│ │ │ │ ├── OutlineSettingsExtensions.cs
│ │ │ │ ├── OutlineSettingsExtensions.cs.meta
│ │ │ │ ├── OutlineSettingsInstance.cs
│ │ │ │ ├── OutlineSettingsInstance.cs.meta
│ │ │ │ ├── OutlineSettingsWithLayerMask.cs
│ │ │ │ ├── OutlineSettingsWithLayerMask.cs.meta
│ │ │ │ ├── Properties.meta
│ │ │ │ ├── Properties
│ │ │ │ │ ├── AssemblyInfo.cs
│ │ │ │ │ ├── AssemblyInfo.cs.meta
│ │ │ │ │ ├── Startup.cs
│ │ │ │ │ └── Startup.cs.meta
│ │ │ │ ├── Rendering.meta
│ │ │ │ └── Rendering
│ │ │ │ │ ├── OutlineRenderFlags.cs
│ │ │ │ │ ├── OutlineRenderFlags.cs.meta
│ │ │ │ │ ├── OutlineRenderObject.cs
│ │ │ │ │ ├── OutlineRenderObject.cs.meta
│ │ │ │ │ ├── OutlineRenderer.cs
│ │ │ │ │ ├── OutlineRenderer.cs.meta
│ │ │ │ │ ├── OutlineRendererCollection.cs
│ │ │ │ │ └── OutlineRendererCollection.cs.meta
│ │ │ ├── Shaders.meta
│ │ │ ├── Shaders
│ │ │ │ ├── Outline.shader
│ │ │ │ ├── Outline.shader.meta
│ │ │ │ ├── OutlineColor.shader
│ │ │ │ └── OutlineColor.shader.meta
│ │ │ ├── UnityFx.Outline.asmdef
│ │ │ └── UnityFx.Outline.asmdef.meta
│ │ ├── package.json
│ │ └── package.json.meta
│ ├── manifest.json
│ └── packages-lock.json
├── ProjectSettings
│ ├── AudioManager.asset
│ ├── ClusterInputManager.asset
│ ├── DynamicsManager.asset
│ ├── EditorBuildSettings.asset
│ ├── EditorSettings.asset
│ ├── GraphicsSettings.asset
│ ├── InputManager.asset
│ ├── MemorySettings.asset
│ ├── NavMeshAreas.asset
│ ├── PackageManagerSettings.asset
│ ├── Physics2DSettings.asset
│ ├── PresetManager.asset
│ ├── ProjectSettings.asset
│ ├── ProjectVersion.txt
│ ├── QualitySettings.asset
│ ├── TagManager.asset
│ ├── TimeManager.asset
│ ├── UnityConnectSettings.asset
│ ├── VFXManager.asset
│ ├── VersionControlSettings.asset
│ ├── XRPackageSettings.asset
│ └── XRSettings.asset
└── UserSettings
│ └── EditorUserSettings.asset
├── Outline.HDRP
├── Assets
│ ├── Example.meta
│ ├── Example
│ │ ├── OutlineLayerCollection.asset
│ │ ├── OutlineLayerCollection.asset.meta
│ │ ├── OutlineTest.cs
│ │ ├── OutlineTest.cs.meta
│ │ ├── Test.unity
│ │ └── Test.unity.meta
│ ├── HDRPDefaultResources.meta
│ └── HDRPDefaultResources
│ │ ├── DefaultSceneRoot.prefab
│ │ ├── DefaultSceneRoot.prefab.meta
│ │ ├── Foliage Diffusion Profile.asset
│ │ ├── Foliage Diffusion Profile.asset.meta
│ │ ├── HDRenderPipelineAsset.asset
│ │ ├── HDRenderPipelineAsset.asset.meta
│ │ ├── HDRenderPipelineGlobalSettings.asset
│ │ ├── HDRenderPipelineGlobalSettings.asset.meta
│ │ ├── Scene PostProcess Profile.asset
│ │ ├── Scene PostProcess Profile.asset.meta
│ │ ├── Skin Diffusion Profile.asset
│ │ ├── Skin Diffusion Profile.asset.meta
│ │ ├── Sky and Fog Settings Profile.asset
│ │ └── Sky and Fog Settings Profile.asset.meta
├── Packages
│ ├── UnityFx.Outline.HDRP
│ │ ├── CHANGELOG.md
│ │ ├── CHANGELOG.md.meta
│ │ ├── README.md
│ │ ├── README.md.meta
│ │ ├── Runtime.meta
│ │ ├── Runtime
│ │ │ ├── Scripts.meta
│ │ │ ├── Scripts
│ │ │ │ ├── OutlinePass.cs
│ │ │ │ └── OutlinePass.cs.meta
│ │ │ ├── UnityFx.Outline.HDRP.asmdef
│ │ │ └── UnityFx.Outline.HDRP.asmdef.meta
│ │ ├── package.json
│ │ └── package.json.meta
│ ├── manifest.json
│ └── packages-lock.json
├── ProjectSettings
│ ├── AudioManager.asset
│ ├── ClusterInputManager.asset
│ ├── DynamicsManager.asset
│ ├── EditorBuildSettings.asset
│ ├── EditorSettings.asset
│ ├── GraphicsSettings.asset
│ ├── HDRPProjectSettings.asset
│ ├── InputManager.asset
│ ├── MemorySettings.asset
│ ├── NavMeshAreas.asset
│ ├── PackageManagerSettings.asset
│ ├── Physics2DSettings.asset
│ ├── PresetManager.asset
│ ├── ProjectSettings.asset
│ ├── ProjectVersion.txt
│ ├── QualitySettings.asset
│ ├── SceneTemplateSettings.json
│ ├── TagManager.asset
│ ├── TimeManager.asset
│ ├── UnityConnectSettings.asset
│ ├── VFXManager.asset
│ ├── VersionControlSettings.asset
│ └── XRSettings.asset
└── UserSettings
│ ├── EditorUserSettings.asset
│ └── HDRPUserSettings.asset
├── Outline.PostProcessing
├── Assets
│ ├── Examples.meta
│ └── Examples
│ │ ├── PostProcessing.meta
│ │ └── PostProcessing
│ │ ├── OutlineLayerCollection.asset
│ │ ├── OutlineLayerCollection.asset.meta
│ │ ├── PostProcessingProfile.asset
│ │ ├── PostProcessingProfile.asset.meta
│ │ ├── PostProcessingSample.unity
│ │ └── PostProcessingSample.unity.meta
├── Packages
│ ├── UnityFx.Outline.PostProcessing
│ │ ├── CHANGELOG.md
│ │ ├── CHANGELOG.md.meta
│ │ ├── README.md
│ │ ├── README.md.meta
│ │ ├── Runtime.meta
│ │ ├── Runtime
│ │ │ ├── Scripts.meta
│ │ │ ├── Scripts
│ │ │ │ ├── Outline.cs
│ │ │ │ ├── Outline.cs.meta
│ │ │ │ ├── OutlineEffectRenderer.cs
│ │ │ │ └── OutlineEffectRenderer.cs.meta
│ │ │ ├── UnityFx.Outline.PostProcessing.asmdef
│ │ │ └── UnityFx.Outline.PostProcessing.asmdef.meta
│ │ ├── package.json
│ │ └── package.json.meta
│ ├── manifest.json
│ └── packages-lock.json
├── ProjectSettings
│ ├── AudioManager.asset
│ ├── ClusterInputManager.asset
│ ├── DynamicsManager.asset
│ ├── EditorBuildSettings.asset
│ ├── EditorSettings.asset
│ ├── InputManager.asset
│ ├── MemorySettings.asset
│ ├── NavMeshAreas.asset
│ ├── PackageManagerSettings.asset
│ ├── Physics2DSettings.asset
│ ├── PresetManager.asset
│ ├── ProjectSettings.asset
│ ├── ProjectVersion.txt
│ ├── QualitySettings.asset
│ ├── TagManager.asset
│ ├── TimeManager.asset
│ ├── UnityConnectSettings.asset
│ ├── VFXManager.asset
│ ├── VersionControlSettings.asset
│ └── graphicssettings.asset
└── UserSettings
│ └── EditorUserSettings.asset
├── Outline.URP
├── Assets
│ ├── Example.meta
│ ├── Example
│ │ ├── OutlineLayerCollection.asset
│ │ ├── OutlineLayerCollection.asset.meta
│ │ ├── TestImage.png
│ │ ├── TestImage.png.meta
│ │ ├── TestScene.unity
│ │ └── TestScene.unity.meta
│ ├── URP.meta
│ ├── URP
│ │ ├── UniversalRenderPipelineAsset.asset
│ │ ├── UniversalRenderPipelineAsset.asset.meta
│ │ ├── UniversalRenderPipelineAsset_Renderer.asset
│ │ └── UniversalRenderPipelineAsset_Renderer.asset.meta
│ ├── UniversalRenderPipelineGlobalSettings.asset
│ ├── UniversalRenderPipelineGlobalSettings.asset.meta
│ ├── XR.meta
│ └── XR
│ │ ├── Loaders.meta
│ │ ├── Loaders
│ │ ├── Mock HMD Loader.asset
│ │ └── Mock HMD Loader.asset.meta
│ │ ├── Settings.meta
│ │ ├── Settings
│ │ ├── Mock HMD Build Settings.asset
│ │ └── Mock HMD Build Settings.asset.meta
│ │ ├── XRGeneralSettings.asset
│ │ └── XRGeneralSettings.asset.meta
├── Packages
│ ├── UnityFx.Outline.URP
│ │ ├── CHANGELOG.md
│ │ ├── CHANGELOG.md.meta
│ │ ├── README.md
│ │ ├── README.md.meta
│ │ ├── Runtime.meta
│ │ ├── Runtime
│ │ │ ├── Prefabs.meta
│ │ │ ├── Prefabs
│ │ │ │ ├── OutlineResources.URP.asset
│ │ │ │ └── OutlineResources.URP.asset.meta
│ │ │ ├── Scripts.meta
│ │ │ ├── Scripts
│ │ │ │ ├── OutlineFeature.cs
│ │ │ │ ├── OutlineFeature.cs.meta
│ │ │ │ ├── OutlinePass.cs
│ │ │ │ └── OutlinePass.cs.meta
│ │ │ ├── Shaders.meta
│ │ │ ├── Shaders
│ │ │ │ ├── Outline.URP.shader
│ │ │ │ ├── Outline.URP.shader.meta
│ │ │ │ ├── OutlineColor.URP.shader
│ │ │ │ └── OutlineColor.URP.shader.meta
│ │ │ ├── UnityFx.Outline.URP.asmdef
│ │ │ └── UnityFx.Outline.URP.asmdef.meta
│ │ ├── package.json
│ │ └── package.json.meta
│ ├── manifest.json
│ └── packages-lock.json
├── ProjectSettings
│ ├── AudioManager.asset
│ ├── ClusterInputManager.asset
│ ├── DynamicsManager.asset
│ ├── EditorBuildSettings.asset
│ ├── EditorSettings.asset
│ ├── GraphicsSettings.asset
│ ├── HDRPProjectSettings.asset
│ ├── InputManager.asset
│ ├── MemorySettings.asset
│ ├── NavMeshAreas.asset
│ ├── PackageManagerSettings.asset
│ ├── Physics2DSettings.asset
│ ├── PresetManager.asset
│ ├── ProjectSettings.asset
│ ├── ProjectVersion.txt
│ ├── QualitySettings.asset
│ ├── ShaderGraphSettings.asset
│ ├── TagManager.asset
│ ├── TimeManager.asset
│ ├── URPProjectSettings.asset
│ ├── UnityConnectSettings.asset
│ ├── VFXManager.asset
│ ├── VersionControlSettings.asset
│ ├── XRPackageSettings.asset
│ └── XRSettings.asset
└── UserSettings
│ └── EditorUserSettings.asset
└── README.md
/.github/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing guide
2 |
3 | First off, thank you for considering contributing to UnityFx. It's people like you that make UnityFx such a great tool. Feel welcome and read the following sections in order to know what and how to work on something. If you get stuck at any point you can create a [ticket on GitHub](https://github.com/Arvtesh/UnityFx.Outline/issues).
4 |
5 | **Working on your first Pull Request?** You can learn how from this *free* series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github).
6 |
7 | ## Ground Rules
8 |
9 | * Ensure cross-platform compatibilty for every change you make.
10 | * Create issues for any major changes and enhancements that you wish to make (make sure that the reported issue is not a duplicate of an existing one).
11 | * Don't add any classes to the codebase unless absolutely needed.
12 | * Please follow the coding style conventions used in the library.
13 |
14 |
15 |
--------------------------------------------------------------------------------
/.github/SUPPORT.md:
--------------------------------------------------------------------------------
1 | # Support guide
2 |
3 | First of all thank you for using *UnityFx.Outline*.
4 |
5 | For **help**, **support**, **questions** and **ideas** please use **[Unity forums thread](https://forum.unity.com/threads/tt)**.
6 | Please **_do not_** raise an issue on GitHub.
7 |
8 | You can get general information on the library and answers to frequently asked questions in [README](../README.md).
--------------------------------------------------------------------------------
/.github/workflows/npmpublish.yml:
--------------------------------------------------------------------------------
1 | name: Node.js Package
2 |
3 | on:
4 | push:
5 | branches:
6 | - master
7 |
8 | jobs:
9 | publish-npm:
10 | runs-on: ubuntu-latest
11 | steps:
12 | - uses: actions/checkout@v1
13 | - uses: actions/setup-node@v1
14 | with:
15 | node-version: 12
16 | registry-url: https://registry.npmjs.org/
17 | - run: |
18 | npm publish Outline.Core/Packages/UnityFx.Outline
19 | npm publish Outline.URP/Packages/UnityFx.Outline.URP
20 | env:
21 | NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
22 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | [Ll]ibrary/
2 | [Tt]emp/
3 | [Oo]bj/
4 | [Bb]uild/
5 | [Bb]uilds/
6 | [Ll]ogs/
7 |
8 | # Visual Studio cache directory
9 | .vs/
10 |
11 | # Autogenerated VS/MD/Consulo solution and project files
12 | ExportedObj/
13 | .consulo/
14 | *.csproj
15 | *.unityproj
16 | *.sln
17 | *.suo
18 | *.tmp
19 | *.user
20 | *.userprefs
21 | *.pidb
22 | *.booproj
23 | *.svd
24 | *.pdb
25 | *.opendb
26 |
27 | # Unity3D generated meta files
28 | *.pidb.meta
29 | *.pdb.meta
30 |
31 | # Unity3D Generated File On Crash Reports
32 | sysinfo.txt
33 |
34 | # Builds
35 | *.apk
36 | *.unitypackage
37 |
--------------------------------------------------------------------------------
/Docs/MotusOutline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Arvtesh/UnityFx.Outline/8d246c734e0c7ad687c0f44952862a28431fe3e7/Docs/MotusOutline.png
--------------------------------------------------------------------------------
/Docs/OutlineBehaviourInspector.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Arvtesh/UnityFx.Outline/8d246c734e0c7ad687c0f44952862a28431fe3e7/Docs/OutlineBehaviourInspector.png
--------------------------------------------------------------------------------
/Docs/OutlineEffectInspector.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Arvtesh/UnityFx.Outline/8d246c734e0c7ad687c0f44952862a28431fe3e7/Docs/OutlineEffectInspector.png
--------------------------------------------------------------------------------
/Docs/OutlineLayerCollectionInspector.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Arvtesh/UnityFx.Outline/8d246c734e0c7ad687c0f44952862a28431fe3e7/Docs/OutlineLayerCollectionInspector.png
--------------------------------------------------------------------------------
/Docs/OutlineSamples.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Arvtesh/UnityFx.Outline/8d246c734e0c7ad687c0f44952862a28431fe3e7/Docs/OutlineSamples.png
--------------------------------------------------------------------------------
/Docs/OutlineSettingsInspector.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Arvtesh/UnityFx.Outline/8d246c734e0c7ad687c0f44952862a28431fe3e7/Docs/OutlineSettingsInspector.png
--------------------------------------------------------------------------------
/Docs/PpOutlineSettings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Arvtesh/UnityFx.Outline/8d246c734e0c7ad687c0f44952862a28431fe3e7/Docs/PpOutlineSettings.png
--------------------------------------------------------------------------------
/Docs/UrpOutlineSettings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Arvtesh/UnityFx.Outline/8d246c734e0c7ad687c0f44952862a28431fe3e7/Docs/UrpOutlineSettings.png
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | # MIT License
2 |
3 | Copyright (c) 2019 Alexander Bogarsukov.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6 |
7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8 |
9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
10 |
--------------------------------------------------------------------------------
/NpmPublish.bat:
--------------------------------------------------------------------------------
1 | npm publish Outline.Core\Packages\UnityFx.Outline
2 | npm publish Outline.HDRP\Packages\UnityFx.Outline.HDRP
3 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Common.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3f19b0b14f634f941adfaa12f23064d8
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Common/FpsCounter.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2018-2020 Digimation. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using UnityEngine;
6 |
7 | ///
8 | /// An FPS counter.
9 | ///
10 | ///
11 | public class FpsCounter : MonoBehaviour
12 | {
13 | private const float _updateInterval = 0.5F;
14 |
15 | private float _accum;
16 | private int _frames;
17 | private float _timeleft;
18 | private float _fps;
19 |
20 | public float Fps => _fps;
21 |
22 | public static void RenderFps(float fps, string s, Rect rc)
23 | {
24 | var text = string.Format("{0}: {1:F2}", s, fps);
25 |
26 | if (fps < 10)
27 | {
28 | GUI.color = Color.red;
29 | }
30 | else if (fps < 30)
31 | {
32 | GUI.color = Color.yellow;
33 | }
34 | else
35 | {
36 | GUI.color = Color.green;
37 | }
38 |
39 | GUI.Label(rc, text);
40 | }
41 |
42 | private void OnEnable()
43 | {
44 | _accum = 0;
45 | _frames = 0;
46 | _timeleft = 0;
47 | _fps = 0;
48 | }
49 |
50 | private void Update()
51 | {
52 | _timeleft -= Time.deltaTime;
53 | _accum += Time.timeScale / Time.deltaTime;
54 |
55 | ++_frames;
56 |
57 | if (_timeleft <= 0.0)
58 | {
59 | _fps = _accum / _frames;
60 | _timeleft = _updateInterval;
61 | _accum = 0.0F;
62 | _frames = 0;
63 | }
64 | }
65 |
66 | private void OnGUI()
67 | {
68 | RenderFps(_fps, "FPS", new Rect(Screen.width - 80, 0, 80, 20));
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Common/FpsCounter.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c9e1f138162751048bdb3432e85d7a73
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: cd9a1f8eda7b3ae4da8c3a27817dae4e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerCamera.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 874c6e35dd593604d9dc8bf919bc94d7
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerCamera/Cutout.mat:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!21 &2100000
4 | Material:
5 | serializedVersion: 6
6 | m_ObjectHideFlags: 0
7 | m_CorrespondingSourceObject: {fileID: 0}
8 | m_PrefabInstance: {fileID: 0}
9 | m_PrefabAsset: {fileID: 0}
10 | m_Name: Cutout
11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12 | m_ShaderKeywords: _ALPHATEST_ON
13 | m_LightmapFlags: 4
14 | m_EnableInstancingVariants: 0
15 | m_DoubleSidedGI: 0
16 | m_CustomRenderQueue: 2450
17 | stringTagMap:
18 | RenderType: TransparentCutout
19 | disabledShaderPasses: []
20 | m_SavedProperties:
21 | serializedVersion: 3
22 | m_TexEnvs:
23 | - _BumpMap:
24 | m_Texture: {fileID: 0}
25 | m_Scale: {x: 1, y: 1}
26 | m_Offset: {x: 0, y: 0}
27 | - _DetailAlbedoMap:
28 | m_Texture: {fileID: 0}
29 | m_Scale: {x: 1, y: 1}
30 | m_Offset: {x: 0, y: 0}
31 | - _DetailMask:
32 | m_Texture: {fileID: 0}
33 | m_Scale: {x: 1, y: 1}
34 | m_Offset: {x: 0, y: 0}
35 | - _DetailNormalMap:
36 | m_Texture: {fileID: 0}
37 | m_Scale: {x: 1, y: 1}
38 | m_Offset: {x: 0, y: 0}
39 | - _EmissionMap:
40 | m_Texture: {fileID: 0}
41 | m_Scale: {x: 1, y: 1}
42 | m_Offset: {x: 0, y: 0}
43 | - _MainTex:
44 | m_Texture: {fileID: 2800000, guid: 0ff6a32c354a4bd40a270e2d1e39335f, type: 3}
45 | m_Scale: {x: 1, y: 1}
46 | m_Offset: {x: 0, y: 0}
47 | - _MetallicGlossMap:
48 | m_Texture: {fileID: 0}
49 | m_Scale: {x: 1, y: 1}
50 | m_Offset: {x: 0, y: 0}
51 | - _OcclusionMap:
52 | m_Texture: {fileID: 0}
53 | m_Scale: {x: 1, y: 1}
54 | m_Offset: {x: 0, y: 0}
55 | - _ParallaxMap:
56 | m_Texture: {fileID: 0}
57 | m_Scale: {x: 1, y: 1}
58 | m_Offset: {x: 0, y: 0}
59 | m_Floats:
60 | - _BumpScale: 1
61 | - _Cutoff: 0.5
62 | - _DetailNormalMapScale: 1
63 | - _DstBlend: 0
64 | - _GlossMapScale: 1
65 | - _Glossiness: 0.5
66 | - _GlossyReflections: 1
67 | - _Metallic: 0
68 | - _Mode: 1
69 | - _OcclusionStrength: 1
70 | - _Parallax: 0.02
71 | - _SmoothnessTextureChannel: 0
72 | - _SpecularHighlights: 1
73 | - _SrcBlend: 1
74 | - _UVSec: 0
75 | - _ZWrite: 1
76 | m_Colors:
77 | - _Color: {r: 1, g: 1, b: 1, a: 1}
78 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
79 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerCamera/Cutout.mat.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d11ad24ddc889ee4c9067711d2b431a4
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerCamera/Outline.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e1f1f5e7ceb61b746b9f2016f0e53a93
3 | timeCreated: 1566127107
4 | licenseType: Free
5 | DefaultImporter:
6 | externalObjects: {}
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerCamera/TestImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Arvtesh/UnityFx.Outline/8d246c734e0c7ad687c0f44952862a28431fe3e7/Outline.Core/Assets/Examples/SimplePerCamera/TestImage.png
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerCamera/TestImage.png.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0ff6a32c354a4bd40a270e2d1e39335f
3 | TextureImporter:
4 | fileIDToRecycleName: {}
5 | externalObjects: {}
6 | serializedVersion: 9
7 | mipmaps:
8 | mipMapMode: 0
9 | enableMipMap: 1
10 | sRGBTexture: 1
11 | linearTexture: 0
12 | fadeOut: 0
13 | borderMipMap: 0
14 | mipMapsPreserveCoverage: 0
15 | alphaTestReferenceValue: 0.5
16 | mipMapFadeDistanceStart: 1
17 | mipMapFadeDistanceEnd: 3
18 | bumpmap:
19 | convertToNormalMap: 0
20 | externalNormalMap: 0
21 | heightScale: 0.25
22 | normalMapFilter: 0
23 | isReadable: 0
24 | streamingMipmaps: 0
25 | streamingMipmapsPriority: 0
26 | grayScaleToAlpha: 0
27 | generateCubemap: 6
28 | cubemapConvolution: 0
29 | seamlessCubemap: 0
30 | textureFormat: 1
31 | maxTextureSize: 2048
32 | textureSettings:
33 | serializedVersion: 2
34 | filterMode: -1
35 | aniso: -1
36 | mipBias: -100
37 | wrapU: -1
38 | wrapV: -1
39 | wrapW: -1
40 | nPOTScale: 1
41 | lightmap: 0
42 | compressionQuality: 50
43 | spriteMode: 0
44 | spriteExtrude: 1
45 | spriteMeshType: 1
46 | alignment: 0
47 | spritePivot: {x: 0.5, y: 0.5}
48 | spritePixelsToUnits: 100
49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0}
50 | spriteGenerateFallbackPhysicsShape: 1
51 | alphaUsage: 1
52 | alphaIsTransparency: 0
53 | spriteTessellationDetail: -1
54 | textureType: 0
55 | textureShape: 1
56 | singleChannelComponent: 0
57 | maxTextureSizeSet: 0
58 | compressionQualitySet: 0
59 | textureFormatSet: 0
60 | platformSettings:
61 | - serializedVersion: 2
62 | buildTarget: DefaultTexturePlatform
63 | maxTextureSize: 2048
64 | resizeAlgorithm: 0
65 | textureFormat: -1
66 | textureCompression: 1
67 | compressionQuality: 50
68 | crunchedCompression: 0
69 | allowsAlphaSplitting: 0
70 | overridden: 0
71 | androidETC2FallbackOverride: 0
72 | spriteSheet:
73 | serializedVersion: 2
74 | sprites: []
75 | outline: []
76 | physicsShape: []
77 | bones: []
78 | spriteID:
79 | vertices: []
80 | indices:
81 | edges: []
82 | weights: []
83 | spritePackingTag:
84 | pSDRemoveMatte: 0
85 | pSDShowRemoveMatteOption: 0
86 | userData:
87 | assetBundleName:
88 | assetBundleVariant:
89 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerCamera/TestOutlineLayers.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 57d0c11168277cf4eb3b4b89706e6aa5, type: 3}
13 | m_Name: TestOutlineLayers
14 | m_EditorClassIdentifier:
15 | _layers:
16 | - _settings:
17 | _outlineSettings: {fileID: 11400000, guid: 45705bbb29366194eb01ca517d80967c,
18 | type: 2}
19 | _outlineColor: {r: 1, g: 0, b: 0, a: 1}
20 | _outlineWidth: 5
21 | _outlineIntensity: 1
22 | _outlineAlphaCutoff: 0.9
23 | _outlineMode: 0
24 | _name: My pretty layer
25 | _enabled: 1
26 | _mergeLayerObjects: 0
27 | - _settings:
28 | _outlineSettings: {fileID: 0}
29 | _outlineColor: {r: 1, g: 1, b: 0, a: 1}
30 | _outlineWidth: 15
31 | _outlineIntensity: 2
32 | _outlineAlphaCutoff: 0.9
33 | _outlineMode: 1
34 | _name: The second layer
35 | _enabled: 1
36 | _mergeLayerObjects: 0
37 | - _settings:
38 | _outlineSettings: {fileID: 0}
39 | _outlineColor: {r: 1, g: 0, b: 1, a: 1}
40 | _outlineWidth: 4
41 | _outlineIntensity: 2
42 | _outlineAlphaCutoff: 0.9
43 | _outlineMode: 4
44 | _name: The best layer
45 | _enabled: 1
46 | _mergeLayerObjects: 0
47 | _layerMask: 2
48 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerCamera/TestOutlineLayers.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3a6c3b3c5f6e3ad4ab8e09fc219865bd
3 | timeCreated: 1566565181
4 | licenseType: Pro
5 | NativeFormatImporter:
6 | externalObjects: {}
7 | mainObjectFileID: 11400000
8 | userData:
9 | assetBundleName:
10 | assetBundleVariant:
11 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerCamera/Transparent.mat:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!21 &2100000
4 | Material:
5 | serializedVersion: 6
6 | m_ObjectHideFlags: 0
7 | m_CorrespondingSourceObject: {fileID: 0}
8 | m_PrefabInstance: {fileID: 0}
9 | m_PrefabAsset: {fileID: 0}
10 | m_Name: Transparent
11 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
12 | m_ShaderKeywords: _ALPHAPREMULTIPLY_ON
13 | m_LightmapFlags: 4
14 | m_EnableInstancingVariants: 0
15 | m_DoubleSidedGI: 0
16 | m_CustomRenderQueue: 3000
17 | stringTagMap:
18 | RenderType: Transparent
19 | disabledShaderPasses: []
20 | m_SavedProperties:
21 | serializedVersion: 3
22 | m_TexEnvs:
23 | - _BumpMap:
24 | m_Texture: {fileID: 0}
25 | m_Scale: {x: 1, y: 1}
26 | m_Offset: {x: 0, y: 0}
27 | - _DetailAlbedoMap:
28 | m_Texture: {fileID: 0}
29 | m_Scale: {x: 1, y: 1}
30 | m_Offset: {x: 0, y: 0}
31 | - _DetailMask:
32 | m_Texture: {fileID: 0}
33 | m_Scale: {x: 1, y: 1}
34 | m_Offset: {x: 0, y: 0}
35 | - _DetailNormalMap:
36 | m_Texture: {fileID: 0}
37 | m_Scale: {x: 1, y: 1}
38 | m_Offset: {x: 0, y: 0}
39 | - _EmissionMap:
40 | m_Texture: {fileID: 0}
41 | m_Scale: {x: 1, y: 1}
42 | m_Offset: {x: 0, y: 0}
43 | - _MainTex:
44 | m_Texture: {fileID: 0}
45 | m_Scale: {x: 1, y: 1}
46 | m_Offset: {x: 0, y: 0}
47 | - _MetallicGlossMap:
48 | m_Texture: {fileID: 0}
49 | m_Scale: {x: 1, y: 1}
50 | m_Offset: {x: 0, y: 0}
51 | - _OcclusionMap:
52 | m_Texture: {fileID: 0}
53 | m_Scale: {x: 1, y: 1}
54 | m_Offset: {x: 0, y: 0}
55 | - _ParallaxMap:
56 | m_Texture: {fileID: 0}
57 | m_Scale: {x: 1, y: 1}
58 | m_Offset: {x: 0, y: 0}
59 | m_Floats:
60 | - _BumpScale: 1
61 | - _Cutoff: 0.5
62 | - _DetailNormalMapScale: 1
63 | - _DstBlend: 10
64 | - _GlossMapScale: 1
65 | - _Glossiness: 0.5
66 | - _GlossyReflections: 1
67 | - _Metallic: 0
68 | - _Mode: 3
69 | - _OcclusionStrength: 1
70 | - _Parallax: 0.02
71 | - _SmoothnessTextureChannel: 0
72 | - _SpecularHighlights: 1
73 | - _SrcBlend: 1
74 | - _UVSec: 0
75 | - _ZWrite: 0
76 | m_Colors:
77 | - _Color: {r: 1, g: 1, b: 1, a: 0.5176471}
78 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
79 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerCamera/Transparent.mat.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fba6bd852efa3814e9fa0e4788cc192d
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 2100000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerObject.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: dc9211a2b55b6d44098fcc852d15936c
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerObject/TestOutlineSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: b579424fd3338724cba3155ee4d53475, type: 3}
13 | m_Name: TestOutlineSettings
14 | m_EditorClassIdentifier:
15 | _outlineColor: {r: 1, g: 0, b: 0, a: 1}
16 | _outlineWidth: 5
17 | _outlineIntensity: 1
18 | _outlineAlphaCutoff: 0.9
19 | _outlineMode: 0
20 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Examples/SimplePerObject/TestOutlineSettings.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 45705bbb29366194eb01ca517d80967c
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Tests.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9c2f662256b33974c94b1b56640a7397
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Tests/Editor.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f2ad07e44abb5204aa73321dbeb58ddd
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Tests/Editor/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0678297c303e4104896b2beec616a514
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Tests/Editor/Scripts/Helpers.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ecd2c4203d2dee74389ff168d633fe3a
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Tests/Editor/Scripts/Helpers/IOutlineSettingsTests.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 504f7cf5606c25a4a8eeea06598d8cd0
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Tests/Editor/Scripts/OutlineBehaviourTests.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2020 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using System.Collections;
6 | using System.Collections.Generic;
7 | using UnityEngine;
8 | using UnityEngine.TestTools;
9 | using NUnit.Framework;
10 |
11 | namespace UnityFx.Outline
12 | {
13 | [Category("OutlineBehaviour"), TestOf(typeof(OutlineBehaviour))]
14 | public class OutlineBehaviourTests : IOutlineSettingsTests, IDisposable
15 | {
16 | private GameObject _go;
17 | private OutlineBehaviour _outlineEffect;
18 |
19 | [SetUp]
20 | public void Init()
21 | {
22 | _go = new GameObject();
23 | _outlineEffect = _go.AddComponent();
24 | Init(_outlineEffect);
25 | }
26 |
27 | [TearDown]
28 | public void Dispose()
29 | {
30 | UnityEngine.Object.DestroyImmediate(_go);
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Tests/Editor/Scripts/OutlineBehaviourTests.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f7ff33caf6306d649ab2176f29f193d6
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Tests/Editor/Scripts/OutlineLayerCollectionTests.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4a6e8c8f29227c2469990a6168c53b3f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Tests/Editor/Scripts/OutlineLayerTests.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6372b061875e8a54bb7ca0dbf1bb3e4b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Tests/Editor/Scripts/OutlineSettingsTests.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2020 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using System.Collections;
6 | using System.Collections.Generic;
7 | using UnityEditor;
8 | using UnityEngine;
9 | using UnityEngine.TestTools;
10 | using NUnit.Framework;
11 |
12 | namespace UnityFx.Outline
13 | {
14 | [Category("OutlineSettings"), TestOf(typeof(OutlineSettings))]
15 | public class OutlineSettingsTests : IOutlineSettingsTests, IDisposable
16 | {
17 | private OutlineSettings _settings;
18 |
19 | [SetUp]
20 | public void Init()
21 | {
22 | _settings = ScriptableObject.CreateInstance();
23 | Init(_settings);
24 | }
25 |
26 | [TearDown]
27 | public void Dispose()
28 | {
29 | UnityEngine.Object.DestroyImmediate(_settings);
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/Tests/Editor/Scripts/OutlineSettingsTests.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ee681c20e65b7a34085cd5f07a0c03a5
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/XR.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 6a499a58476be534f9e78f45b2af3b77
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/XR/Loaders.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 393716061aba98748a018e54cfc48714
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/XR/Loaders/Mock HMD Loader.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 0660e8fc444734757ae6f6c40c2d33a0, type: 3}
13 | m_Name: Mock HMD Loader
14 | m_EditorClassIdentifier:
15 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/XR/Loaders/Mock HMD Loader.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: fcabf9da944033d4d9ca7914d91c03e7
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/XR/Settings.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 78c5f368e4f5dbb4a8473c07076933e0
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/XR/Settings/Mock HMD Build Settings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: c8bf066bf8a4947a1be502d267edb82f, type: 3}
13 | m_Name: Mock HMD Build Settings
14 | m_EditorClassIdentifier:
15 | renderMode: 1
16 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/XR/Settings/Mock HMD Build Settings.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c3521b75f8cf98d4d90d8baa975f2345
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/XR/XRGeneralSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &-6957712260415362079
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: d236b7d11115f2143951f1e14045df39, type: 3}
13 | m_Name: Standalone Settings
14 | m_EditorClassIdentifier:
15 | m_LoaderManagerInstance: {fileID: 3934069634805112854}
16 | m_InitManagerOnStart: 1
17 | --- !u!114 &11400000
18 | MonoBehaviour:
19 | m_ObjectHideFlags: 0
20 | m_CorrespondingSourceObject: {fileID: 0}
21 | m_PrefabInstance: {fileID: 0}
22 | m_PrefabAsset: {fileID: 0}
23 | m_GameObject: {fileID: 0}
24 | m_Enabled: 1
25 | m_EditorHideFlags: 0
26 | m_Script: {fileID: 11500000, guid: d2dc886499c26824283350fa532d087d, type: 3}
27 | m_Name: XRGeneralSettings
28 | m_EditorClassIdentifier:
29 | Keys: 01000000
30 | Values:
31 | - {fileID: -6957712260415362079}
32 | --- !u!114 &3934069634805112854
33 | MonoBehaviour:
34 | m_ObjectHideFlags: 0
35 | m_CorrespondingSourceObject: {fileID: 0}
36 | m_PrefabInstance: {fileID: 0}
37 | m_PrefabAsset: {fileID: 0}
38 | m_GameObject: {fileID: 0}
39 | m_Enabled: 1
40 | m_EditorHideFlags: 0
41 | m_Script: {fileID: 11500000, guid: f4c3631f5e58749a59194e0cf6baf6d5, type: 3}
42 | m_Name: Standalone Providers
43 | m_EditorClassIdentifier:
44 | m_RequiresSettingsUpdate: 0
45 | m_AutomaticLoading: 0
46 | m_AutomaticRunning: 0
47 | m_Loaders:
48 | - {fileID: 11400000, guid: fcabf9da944033d4d9ca7914d91c03e7, type: 2}
49 |
--------------------------------------------------------------------------------
/Outline.Core/Assets/XR/XRGeneralSettings.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 82aec1eceb005f64292d3e5f6108b4d6
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/CHANGELOG.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a0afeafc656ad714fbfb0e40dc4587e1
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 155cf68da709a7a4da2ba665007263f2
3 | folderAsset: yes
4 | timeCreated: 1566558257
5 | licenseType: Pro
6 | DefaultImporter:
7 | externalObjects: {}
8 | userData:
9 | assetBundleName:
10 | assetBundleVariant:
11 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 15c9c665be3d06048bebd0e20ec2b173
3 | folderAsset: yes
4 | timeCreated: 1566558344
5 | licenseType: Pro
6 | DefaultImporter:
7 | externalObjects: {}
8 | userData:
9 | assetBundleName:
10 | assetBundleVariant:
11 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts/OutlineBehaviourEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a6e77a9d499a86e4fbdc52a2977e774f
3 | timeCreated: 1566572433
4 | licenseType: Pro
5 | MonoImporter:
6 | externalObjects: {}
7 | serializedVersion: 2
8 | defaultReferences: []
9 | executionOrder: 0
10 | icon: {instanceID: 0}
11 | userData:
12 | assetBundleName:
13 | assetBundleVariant:
14 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts/OutlineBuilderEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: c2ba41e0b025a6e46abc7b69d31d1907
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts/OutlineEditorUtility.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ba087138029b59d4bbdf0783db0e2606
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts/OutlineEffectEditor.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using System.Collections;
6 | using System.Collections.Generic;
7 | using UnityEditor;
8 | using UnityEditor.SceneManagement;
9 | using UnityEngine.Rendering;
10 |
11 | namespace UnityFx.Outline
12 | {
13 | [CustomEditor(typeof(OutlineEffect))]
14 | public class OutlineEffectEditor : Editor
15 | {
16 | private OutlineEffect _effect;
17 | private bool _debugOpened;
18 | private bool _previewOpened;
19 |
20 | private void OnEnable()
21 | {
22 | _effect = (OutlineEffect)target;
23 | }
24 |
25 | public override void OnInspectorGUI()
26 | {
27 | base.OnInspectorGUI();
28 |
29 | EditorGUI.BeginChangeCheck();
30 | var e = (CameraEvent)EditorGUILayout.EnumPopup("Render Event", _effect.RenderEvent);
31 |
32 | if (e != _effect.RenderEvent)
33 | {
34 | Undo.RecordObject(_effect, "Set Render Event");
35 | _effect.RenderEvent = e;
36 | }
37 |
38 | if (EditorGUI.EndChangeCheck())
39 | {
40 | EditorUtility.SetDirty(_effect.gameObject);
41 |
42 | if (!EditorApplication.isPlayingOrWillChangePlaymode)
43 | {
44 | EditorSceneManager.MarkSceneDirty(_effect.gameObject.scene);
45 | }
46 | }
47 |
48 | if (_effect.OutlineLayers)
49 | {
50 | if (_effect.OutlineLayers.Count > 0)
51 | {
52 | _previewOpened = EditorGUILayout.Foldout(_previewOpened, "Preview", true);
53 |
54 | if (_previewOpened)
55 | {
56 | OutlineEditorUtility.RenderPreview(_effect.OutlineLayers, true);
57 | }
58 | }
59 | }
60 | }
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts/OutlineEffectEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 03c2e35bb52d2ba44882b92d7cde45bf
3 | timeCreated: 1566558360
4 | licenseType: Pro
5 | MonoImporter:
6 | externalObjects: {}
7 | serializedVersion: 2
8 | defaultReferences: []
9 | executionOrder: 0
10 | icon: {instanceID: 0}
11 | userData:
12 | assetBundleName:
13 | assetBundleVariant:
14 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts/OutlineLayerCollectionEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5f4ec5de59e58794b8e34f2ca3c00199
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts/OutlineSettingsEditor.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 28f2a32d8600f8045a4b9a9916ff8801
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts/OutlineSettingsInstanceDrawer.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using System.Collections;
6 | using System.Collections.Generic;
7 | using UnityEditor;
8 | using UnityEngine;
9 |
10 | namespace UnityFx.Outline
11 | {
12 | [CustomPropertyDrawer(typeof(OutlineSettingsInstance))]
13 | public class OutlineSettingsInstanceDrawer : PropertyDrawer
14 | {
15 | public override void OnGUI(Rect rc, SerializedProperty property, GUIContent label)
16 | {
17 | EditorGUI.BeginProperty(rc, label, property);
18 | OutlineSettingsEditor.DrawSettingsInstance(rc, property);
19 | EditorGUI.EndProperty();
20 | }
21 |
22 | public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
23 | {
24 | return OutlineSettingsEditor.GetSettingsInstanceHeight(property);
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts/OutlineSettingsInstanceDrawer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9a7d070135166b04783f98841111c742
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts/OutlineSettingsWithLayerMaskDrawer.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using System.Collections;
6 | using System.Collections.Generic;
7 | using UnityEditor;
8 | using UnityEngine;
9 |
10 | namespace UnityFx.Outline
11 | {
12 | [CustomPropertyDrawer(typeof(OutlineSettingsWithLayerMask))]
13 | public class OutlineSettingsWithLayerMaskDrawer : PropertyDrawer
14 | {
15 | public override void OnGUI(Rect rc, SerializedProperty property, GUIContent label)
16 | {
17 | EditorGUI.BeginProperty(rc, label, property);
18 | OutlineSettingsEditor.DrawSettingsWithMask(rc, property);
19 | EditorGUI.EndProperty();
20 | }
21 |
22 | public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
23 | {
24 | return OutlineSettingsEditor.GetSettingsWithMaskHeight(property);
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/Scripts/OutlineSettingsWithLayerMaskDrawer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5558cd049bcb613438115d59a4376272
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/UnityFx.Outline.Editor.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "UnityFx.Outline.Editor",
3 | "references": [
4 | "UnityFx.Outline"
5 | ],
6 | "optionalUnityReferences": [],
7 | "includePlatforms": [
8 | "Editor"
9 | ],
10 | "excludePlatforms": [],
11 | "allowUnsafeCode": false,
12 | "overrideReferences": false,
13 | "precompiledReferences": [],
14 | "autoReferenced": true,
15 | "defineConstraints": []
16 | }
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Editor/UnityFx.Outline.Editor.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9ce6758f27194b64fadf06ac518b5196
3 | timeCreated: 1566558329
4 | licenseType: Pro
5 | DefaultImporter:
6 | externalObjects: {}
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/README.md:
--------------------------------------------------------------------------------
1 | # UnityFx.Outline
2 |
3 | ## SUMMARY
4 | Screen-space outline effect for Unity.
5 |
6 | ## USEFUL LINKS
7 | * [Github project](https://github.com/Arvtesh/UnityFx.Outline)
8 | * [npm package](https://www.npmjs.com/package/com.unityfx.outline)
9 | * [Documentation](https://github.com/Arvtesh/UnityFx.Outline/blob/master/README.md)
10 | * [License](https://github.com/Arvtesh/UnityFx.Outline/blob/master/LICENSE.md)
11 | * [Support](mailto:arvtesh@gmail.com)
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/README.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4b1c4eed7166ed4429494dc10c2a3d6c
3 | timeCreated: 1566148623
4 | licenseType: Free
5 | DefaultImporter:
6 | externalObjects: {}
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: bc6bfa143e596d949867e28985573575
3 | folderAsset: yes
4 | timeCreated: 1566126961
5 | licenseType: Free
6 | DefaultImporter:
7 | externalObjects: {}
8 | userData:
9 | assetBundleName:
10 | assetBundleVariant:
11 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Prefabs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 82099d138ba6a5c40a5915c4ca5211fe
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Prefabs/OutlineResources.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: b503341e0a514e3489c4851727e68257, type: 3}
13 | m_Name: OutlineResources
14 | m_EditorClassIdentifier:
15 | _renderShader: {fileID: 4800000, guid: ac20fbf75bafe454aba5ef3c098349df, type: 3}
16 | _outlineShader: {fileID: 4800000, guid: 41c9acbf41c8245498ac9beab378de12, type: 3}
17 | _enableInstancing: 0
18 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Prefabs/OutlineResources.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d28e70f030b1a634db9a6a6d5478ef19
3 | timeCreated: 1566149572
4 | licenseType: Free
5 | NativeFormatImporter:
6 | externalObjects: {}
7 | mainObjectFileID: 11400000
8 | userData:
9 | assetBundleName:
10 | assetBundleVariant:
11 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5474ddc00e5e1574cba82c3dbad68ded
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/IOutlineSettings.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using UnityEngine;
6 |
7 | namespace UnityFx.Outline
8 | {
9 | ///
10 | /// Generic outline settings.
11 | ///
12 | public interface IOutlineSettings : IEquatable
13 | {
14 | ///
15 | /// Gets or sets outline color.
16 | ///
17 | ///
18 | ///
19 | Color OutlineColor { get; set; }
20 |
21 | ///
22 | /// Gets or sets outline width in pixels. Allowed range is [, ].
23 | ///
24 | ///
25 | ///
26 | int OutlineWidth { get; set; }
27 |
28 | ///
29 | /// Gets or sets outline intensity value. Allowed range is [, ].
30 | /// This is used for blurred oulines only (i.e. has flag).
31 | ///
32 | ///
33 | ///
34 | ///
35 | float OutlineIntensity { get; set; }
36 |
37 | ///
38 | /// Gets or sets alpha cutoff value. Allowed range is [0, 1]. This is used only when has flag.
39 | ///
40 | ///
41 | float OutlineAlphaCutoff { get; set; }
42 |
43 | ///
44 | /// Gets or sets outline render mode.
45 | ///
46 | ///
47 | ///
48 | ///
49 | OutlineRenderFlags OutlineRenderMode { get; set; }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/IOutlineSettings.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: efc18f75d5206f14a80e9306650c858a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineBehaviour.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 271c580db5fd384429cdac899152e9e0
3 | timeCreated: 1566149857
4 | licenseType: Free
5 | MonoImporter:
6 | externalObjects: {}
7 | serializedVersion: 2
8 | defaultReferences:
9 | - _outlineResources: {fileID: 11400000, guid: d28e70f030b1a634db9a6a6d5478ef19,
10 | type: 2}
11 | executionOrder: 0
12 | icon: {instanceID: 0}
13 | userData:
14 | assetBundleName:
15 | assetBundleVariant:
16 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineBuilder.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using System.Collections;
6 | using System.Collections.Generic;
7 | using UnityEngine;
8 |
9 | namespace UnityFx.Outline
10 | {
11 | ///
12 | /// A helper behaviour for managing content of via Unity Editor.
13 | ///
14 | public sealed class OutlineBuilder : MonoBehaviour
15 | {
16 | #region data
17 |
18 | [Serializable]
19 | internal class ContentItem
20 | {
21 | public GameObject Go;
22 | public int LayerIndex;
23 | }
24 |
25 | #pragma warning disable 0649
26 |
27 | [SerializeField, Tooltip(OutlineResources.OutlineLayerCollectionTooltip)]
28 | private OutlineLayerCollection _outlineLayers;
29 | [SerializeField, HideInInspector]
30 | private List _content;
31 |
32 | #pragma warning restore 0649
33 |
34 | #endregion
35 |
36 | #region interface
37 |
38 | internal List Content { get => _content; set => _content = value; }
39 |
40 | ///
41 | /// Gets or sets a collection of layers to manage.
42 | ///
43 | public OutlineLayerCollection OutlineLayers { get => _outlineLayers; set => _outlineLayers = value; }
44 |
45 | ///
46 | /// Clears content of all layers.
47 | ///
48 | ///
49 | public void Clear()
50 | {
51 | _outlineLayers?.ClearLayerContent();
52 | }
53 |
54 | #endregion
55 |
56 | #region MonoBehaviour
57 |
58 | private void OnEnable()
59 | {
60 | if (_outlineLayers && _content != null)
61 | {
62 | foreach (var item in _content)
63 | {
64 | if (item.LayerIndex >= 0 && item.LayerIndex < _outlineLayers.Count && item.Go)
65 | {
66 | _outlineLayers.GetOrAddLayer(item.LayerIndex).Add(item.Go);
67 | }
68 | }
69 | }
70 | }
71 |
72 | #if UNITY_EDITOR
73 |
74 | private void Reset()
75 | {
76 | var effect = GetComponent();
77 |
78 | if (effect)
79 | {
80 | _outlineLayers = effect.OutlineLayersInternal;
81 | }
82 | }
83 |
84 | private void OnDestroy()
85 | {
86 | _outlineLayers?.ClearLayerContent();
87 | }
88 |
89 | #endif
90 |
91 | #endregion
92 | }
93 | }
94 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineBuilder.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e746e776b0ae00d4a9d458b9430b95d7
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineEffect.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 270d3185d159bf54fb4cddbb42235437
3 | timeCreated: 1566149591
4 | licenseType: Free
5 | MonoImporter:
6 | externalObjects: {}
7 | serializedVersion: 2
8 | defaultReferences:
9 | - _outlineResources: {fileID: 11400000, guid: d28e70f030b1a634db9a6a6d5478ef19,
10 | type: 2}
11 | executionOrder: 0
12 | icon: {instanceID: 0}
13 | userData:
14 | assetBundleName:
15 | assetBundleVariant:
16 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineFilterMode.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using UnityEngine;
6 |
7 | namespace UnityFx.Outline
8 | {
9 | internal enum OutlineFilterMode
10 | {
11 | None,
12 | UseLayerMask,
13 | UseRenderingLayerMask,
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineFilterMode.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 82c9d42cc303be24d852b8db7c4b650f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineLayer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1360e19784ddfac45a7dcb6ba39595ed
3 | timeCreated: 1566130871
4 | licenseType: Free
5 | MonoImporter:
6 | externalObjects: {}
7 | serializedVersion: 2
8 | defaultReferences: []
9 | executionOrder: 0
10 | icon: {instanceID: 0}
11 | userData:
12 | assetBundleName:
13 | assetBundleVariant:
14 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineLayerCollection.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 57d0c11168277cf4eb3b4b89706e6aa5
3 | timeCreated: 1566560091
4 | licenseType: Pro
5 | MonoImporter:
6 | externalObjects: {}
7 | serializedVersion: 2
8 | defaultReferences: []
9 | executionOrder: 0
10 | icon: {instanceID: 0}
11 | userData:
12 | assetBundleName:
13 | assetBundleVariant:
14 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineResources.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b503341e0a514e3489c4851727e68257
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences:
7 | - _renderShader: {fileID: 4800000, guid: ac20fbf75bafe454aba5ef3c098349df, type: 3}
8 | - _outlineShader: {fileID: 4800000, guid: 41c9acbf41c8245498ac9beab378de12, type: 3}
9 | executionOrder: 0
10 | icon: {instanceID: 0}
11 | userData:
12 | assetBundleName:
13 | assetBundleVariant:
14 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineSettings.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b579424fd3338724cba3155ee4d53475
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineSettingsExtensions.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using System.ComponentModel;
6 | using System.Runtime.CompilerServices;
7 | using UnityEngine;
8 |
9 | namespace UnityFx.Outline
10 | {
11 | ///
12 | /// Extension methods for .
13 | ///
14 | [EditorBrowsable(EditorBrowsableState.Never)]
15 | public static class OutlineSettingsExtensions
16 | {
17 | ///
18 | /// Gets a value indicating whether outline should use alpha testing.
19 | ///
20 | ///
21 | ///
22 | [MethodImpl(MethodImplOptions.AggressiveInlining)]
23 | public static bool IsAlphaTestingEnabled(this IOutlineSettings settings)
24 | {
25 | return (settings.OutlineRenderMode & OutlineRenderFlags.EnableAlphaTesting) != 0;
26 | }
27 |
28 | ///
29 | /// Gets a value indicating whether outline should use depth testing.
30 | ///
31 | ///
32 | ///
33 | [MethodImpl(MethodImplOptions.AggressiveInlining)]
34 | public static bool IsDepthTestingEnabled(this IOutlineSettings settings)
35 | {
36 | return (settings.OutlineRenderMode & OutlineRenderFlags.EnableDepthTesting) != 0;
37 | }
38 |
39 | ///
40 | /// Gets a value indicating whether outline frame should be blurred.
41 | ///
42 | ///
43 | ///
44 | [MethodImpl(MethodImplOptions.AggressiveInlining)]
45 | public static bool IsBlurEnabled(this IOutlineSettings settings)
46 | {
47 | return (settings.OutlineRenderMode & OutlineRenderFlags.Blurred) != 0;
48 | }
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineSettingsExtensions.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1faa9de2a3d5a374b84983eae45fc559
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineSettingsInstance.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8ea4c60e473b8ef4790934bb274993cc
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineSettingsWithLayerMask.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using UnityEngine;
6 |
7 | namespace UnityFx.Outline
8 | {
9 | [Serializable]
10 | internal class OutlineSettingsWithLayerMask : OutlineSettingsInstance
11 | {
12 | #region data
13 |
14 | #pragma warning disable 0649
15 |
16 | // NOTE: There are custom editors for public components, so no need to show these in default inspector.
17 | [SerializeField, HideInInspector]
18 | private OutlineFilterMode _filterMode;
19 | [SerializeField, HideInInspector]
20 | private LayerMask _layerMask;
21 | [SerializeField, HideInInspector]
22 | private uint _renderingLayerMask = 1;
23 |
24 | #pragma warning restore 0649
25 |
26 | #endregion
27 |
28 | #region interface
29 |
30 | public int OutlineLayerMask
31 | {
32 | get
33 | {
34 | if (_filterMode == OutlineFilterMode.UseLayerMask)
35 | {
36 | return _layerMask;
37 | }
38 |
39 | if (_filterMode == OutlineFilterMode.UseRenderingLayerMask)
40 | {
41 | return -1;
42 | }
43 |
44 | return 0;
45 | }
46 | }
47 |
48 | public uint OutlineRenderingLayerMask
49 | {
50 | get
51 | {
52 | if (_filterMode == OutlineFilterMode.UseLayerMask)
53 | {
54 | return uint.MaxValue;
55 | }
56 |
57 | if (_filterMode == OutlineFilterMode.UseRenderingLayerMask)
58 | {
59 | return _renderingLayerMask;
60 | }
61 |
62 | return 0;
63 | }
64 | }
65 |
66 | #endregion
67 |
68 | #region implementation
69 | #endregion
70 | }
71 | }
72 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/OutlineSettingsWithLayerMask.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9f6645ede9c6d2346b6aee185f8261d8
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Properties.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7bd10545b6de6654b864faecdec920cd
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System.Reflection;
5 | using System.Runtime.CompilerServices;
6 | using System.Runtime.InteropServices;
7 |
8 | // General Information about an assembly is controlled through the following
9 | // set of attributes. Change these attribute values to modify the information
10 | // associated with an assembly.
11 | [assembly: AssemblyTitle("UnityFx.Outline")]
12 | [assembly: AssemblyProduct("UnityFx.Outline")]
13 | [assembly: AssemblyDescription("Screen-space outlines for Unity3d.")]
14 | #if DEBUG
15 | [assembly: AssemblyConfiguration("Debug")]
16 | #else
17 | [assembly: AssemblyConfiguration("Release")]
18 | #endif
19 | [assembly: AssemblyCompany("")]
20 | [assembly: AssemblyCopyright("Copyright © Alexander Bogarsukov 2019-2020")]
21 | [assembly: AssemblyCulture("")]
22 |
23 | // Setting ComVisible to false makes the types in this assembly not visible
24 | // to COM components. If you need to access a type in this assembly from
25 | // COM, set the ComVisible attribute to true on that type.
26 | [assembly: ComVisible(false)]
27 |
28 | // Make internals visible to the editor assembly.
29 | [assembly: InternalsVisibleTo("UnityFx.Outline.Editor")]
30 | [assembly: InternalsVisibleTo("UnityFx.Outline.URP")]
31 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Properties/AssemblyInfo.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 1613c034178676349be3282789167284
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Properties/Startup.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | #if !UNITY_2018_4_OR_NEWER
5 | #error UnityFx.Outline requires Unity 2018.4 or newer.
6 | #endif
7 |
8 | #if NET_LEGACY || NET_2_0 || NET_2_0_SUBSET
9 | #error UnityFx.Outline does not support .NET 3.5. Please set Scripting Runtime Version to .NET 4.x Equivalent in Unity Player Settings.
10 | #endif
11 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Properties/Startup.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 955bb53eefa37054cb49969575341469
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Rendering.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 263f9a02e31427d4d9d910267274bfa0
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Rendering/OutlineRenderFlags.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 |
6 | namespace UnityFx.Outline
7 | {
8 | ///
9 | /// Enumerates outline render modes.
10 | ///
11 | [Flags]
12 | public enum OutlineRenderFlags
13 | {
14 | ///
15 | /// Outline frame is a solid line.
16 | ///
17 | None = 0,
18 |
19 | ///
20 | /// Outline frame is blurred.
21 | ///
22 | Blurred = 1,
23 |
24 | ///
25 | /// Enables depth testing when rendering object outlines. Only visible parts of objects are outlined.
26 | ///
27 | EnableDepthTesting = 2,
28 |
29 | ///
30 | /// Enabled alpha testing when rendering outlines.
31 | ///
32 | EnableAlphaTesting = 4
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Rendering/OutlineRenderFlags.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 836bd13bd33c59246b1cebab92f8e62a
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Rendering/OutlineRenderObject.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using System.Collections;
6 | using System.Collections.Generic;
7 | using System.Text;
8 | using UnityEngine;
9 |
10 | namespace UnityFx.Outline
11 | {
12 | ///
13 | /// A single outline object + its outline settings.
14 | ///
15 | public readonly struct OutlineRenderObject : IEquatable
16 | {
17 | #region data
18 |
19 | private readonly string _tag;
20 | private readonly IReadOnlyList _renderers;
21 | private readonly IOutlineSettings _outlineSettings;
22 |
23 | #endregion
24 |
25 | #region interface
26 |
27 | ///
28 | /// Gets the object tag name.
29 | ///
30 | public string Tag => _tag;
31 |
32 | ///
33 | /// Gets renderers for the object.
34 | ///
35 | public IReadOnlyList Renderers => _renderers;
36 |
37 | ///
38 | /// Gets outline settings for this object.
39 | ///
40 | public IOutlineSettings OutlineSettings => _outlineSettings;
41 |
42 | ///
43 | /// Initializes a new instance of the struct.
44 | ///
45 | public OutlineRenderObject(IReadOnlyList renderers, IOutlineSettings outlineSettings, string tag = null)
46 | {
47 | _renderers = renderers;
48 | _outlineSettings = outlineSettings;
49 | _tag = tag;
50 | }
51 |
52 | #endregion
53 |
54 | #region IEquatable
55 |
56 | ///
57 | public bool Equals(OutlineRenderObject other)
58 | {
59 | return string.CompareOrdinal(_tag, other._tag) == 0 && _renderers == other._renderers && _outlineSettings == other._outlineSettings;
60 | }
61 |
62 | #endregion
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Rendering/OutlineRenderObject.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b9fa0d37014ee9049afd5e65be9f288b
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Rendering/OutlineRenderer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4271470bd9f5d5041a4a8881d8457a55
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Scripts/Rendering/OutlineRendererCollection.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 89621a3cc73c4e6498a00b2d180ed462
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Shaders.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e4ede0e617beaeb4a8781136599aa84e
3 | folderAsset: yes
4 | timeCreated: 1566126961
5 | licenseType: Free
6 | DefaultImporter:
7 | externalObjects: {}
8 | userData:
9 | assetBundleName:
10 | assetBundleVariant:
11 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Shaders/Outline.shader.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 41c9acbf41c8245498ac9beab378de12
3 | timeCreated: 1566126977
4 | licenseType: Free
5 | ShaderImporter:
6 | externalObjects: {}
7 | defaultTextures: []
8 | userData:
9 | assetBundleName:
10 | assetBundleVariant:
11 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Shaders/OutlineColor.shader:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | // Renders everything with while color.
5 | // Modified version of 'Custom/DrawSimple' shader taken from https://willweissman.wordpress.com/tutorials/shaders/unity-shaderlab-object-outlines/.
6 | Shader "Hidden/UnityFx/OutlineColor"
7 | {
8 | HLSLINCLUDE
9 |
10 | #include "UnityCG.cginc"
11 |
12 | UNITY_DECLARE_TEX2D(_MainTex);
13 | float _Cutoff;
14 |
15 | v2f_img vert(appdata_img v)
16 | {
17 | v2f_img o;
18 | UNITY_SETUP_INSTANCE_ID(v);
19 | UNITY_INITIALIZE_OUTPUT(v2f_img, o);
20 | UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
21 |
22 | o.pos = UnityObjectToClipPos(v.vertex);
23 | o.uv = v.texcoord;
24 |
25 | return o;
26 | }
27 |
28 | half4 frag() : SV_Target
29 | {
30 | return 1;
31 | }
32 |
33 | half4 frag_clip(v2f_img i) : SV_Target
34 | {
35 | UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(i);
36 |
37 | half4 c = UNITY_SAMPLE_TEX2D(_MainTex, i.uv);
38 | clip(c.a - _Cutoff);
39 | return 1;
40 | }
41 |
42 | ENDHLSL
43 |
44 | SubShader
45 | {
46 | Cull Off
47 | ZWrite Off
48 | ZTest LEqual
49 | Lighting Off
50 |
51 | Pass
52 | {
53 | Name "Opaque"
54 |
55 | HLSLPROGRAM
56 |
57 | #pragma multi_compile_instancing
58 | #pragma vertex vert
59 | #pragma fragment frag
60 |
61 | ENDHLSL
62 | }
63 |
64 | Pass
65 | {
66 | Name "Transparent"
67 |
68 | HLSLPROGRAM
69 |
70 | #pragma multi_compile_instancing
71 | #pragma vertex vert
72 | #pragma fragment frag_clip
73 |
74 | ENDHLSL
75 | }
76 | }
77 | }
78 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/Shaders/OutlineColor.shader.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ac20fbf75bafe454aba5ef3c098349df
3 | timeCreated: 1566126977
4 | licenseType: Free
5 | ShaderImporter:
6 | externalObjects: {}
7 | defaultTextures: []
8 | userData:
9 | assetBundleName:
10 | assetBundleVariant:
11 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/UnityFx.Outline.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "UnityFx.Outline"
3 | }
4 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/Runtime/UnityFx.Outline.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: de7ed7f8e7092c144bd17cbabf282ba3
3 | timeCreated: 1566126961
4 | licenseType: Free
5 | DefaultImporter:
6 | externalObjects: {}
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "com.unityfx.outline",
3 | "version": "0.8.5",
4 | "displayName": "Outline toolkit",
5 | "description": "This package contains configurable per-object and per-camera outline effect implementation for built-in render pipeline. Both solid and blurred outline modes are supported (Gauss blur), as well as depth testing. Reusable and extensible API.",
6 | "unity": "2018.4",
7 | "keywords": [
8 | "UnityFx",
9 | "UnityFx.Outline",
10 | "outline",
11 | "post-effect"
12 | ],
13 | "category": "UnityFx",
14 | "author": {
15 | "name": "Arvtesh",
16 | "email": "arvtesh@gmail.com"
17 | },
18 | "license": "MIT",
19 | "homepage": "https://github.com/Arvtesh/UnityFx.Outline",
20 | "repository": {
21 | "type": "git",
22 | "url": "https://github.com/Arvtesh/UnityFx.Outline.git"
23 | },
24 | "bugs": {
25 | "url": "https://github.com/Arvtesh/UnityFx.Outline/issues"
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/UnityFx.Outline/package.json.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 411b5b9873de2d244ac737335a5117d6
3 | timeCreated: 1566126977
4 | licenseType: Free
5 | TextScriptImporter:
6 | externalObjects: {}
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Outline.Core/Packages/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "com.unity.ide.visualstudio": "2.0.17",
4 | "com.unity.test-framework": "1.1.31",
5 | "com.unity.ugui": "1.0.0",
6 | "com.unity.xr.management": "4.2.0",
7 | "com.unity.xr.mock-hmd": "1.2.0-preview.1",
8 | "com.unity.modules.ai": "1.0.0",
9 | "com.unity.modules.androidjni": "1.0.0",
10 | "com.unity.modules.animation": "1.0.0",
11 | "com.unity.modules.assetbundle": "1.0.0",
12 | "com.unity.modules.audio": "1.0.0",
13 | "com.unity.modules.cloth": "1.0.0",
14 | "com.unity.modules.director": "1.0.0",
15 | "com.unity.modules.imageconversion": "1.0.0",
16 | "com.unity.modules.imgui": "1.0.0",
17 | "com.unity.modules.jsonserialize": "1.0.0",
18 | "com.unity.modules.particlesystem": "1.0.0",
19 | "com.unity.modules.physics": "1.0.0",
20 | "com.unity.modules.physics2d": "1.0.0",
21 | "com.unity.modules.screencapture": "1.0.0",
22 | "com.unity.modules.terrain": "1.0.0",
23 | "com.unity.modules.terrainphysics": "1.0.0",
24 | "com.unity.modules.tilemap": "1.0.0",
25 | "com.unity.modules.ui": "1.0.0",
26 | "com.unity.modules.uielements": "1.0.0",
27 | "com.unity.modules.umbra": "1.0.0",
28 | "com.unity.modules.unityanalytics": "1.0.0",
29 | "com.unity.modules.unitywebrequest": "1.0.0",
30 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
31 | "com.unity.modules.unitywebrequestaudio": "1.0.0",
32 | "com.unity.modules.unitywebrequesttexture": "1.0.0",
33 | "com.unity.modules.unitywebrequestwww": "1.0.0",
34 | "com.unity.modules.vehicles": "1.0.0",
35 | "com.unity.modules.video": "1.0.0",
36 | "com.unity.modules.vr": "1.0.0",
37 | "com.unity.modules.wind": "1.0.0",
38 | "com.unity.modules.xr": "1.0.0"
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!11 &1
4 | AudioManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Volume: 1
8 | Rolloff Scale: 1
9 | Doppler Factor: 1
10 | Default Speaker Mode: 2
11 | m_SampleRate: 0
12 | m_DSPBufferSize: 1024
13 | m_VirtualVoiceCount: 512
14 | m_RealVoiceCount: 32
15 | m_SpatializerPlugin:
16 | m_AmbisonicDecoderPlugin:
17 | m_DisableAudio: 0
18 | m_VirtualizeEffects: 1
19 | m_RequestedDSPBufferSize: 0
20 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/ClusterInputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!236 &1
4 | ClusterInputManager:
5 | m_ObjectHideFlags: 0
6 | m_Inputs: []
7 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!55 &1
4 | PhysicsManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 10
7 | m_Gravity: {x: 0, y: -9.81, z: 0}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_BounceThreshold: 2
10 | m_SleepThreshold: 0.005
11 | m_DefaultContactOffset: 0.01
12 | m_DefaultSolverIterations: 6
13 | m_DefaultSolverVelocityIterations: 1
14 | m_QueriesHitBackfaces: 0
15 | m_QueriesHitTriggers: 1
16 | m_EnableAdaptiveForce: 0
17 | m_ClothInterCollisionDistance: 0
18 | m_ClothInterCollisionStiffness: 0
19 | m_ContactsGeneration: 1
20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
21 | m_AutoSimulation: 1
22 | m_AutoSyncTransforms: 0
23 | m_ReuseCollisionCallbacks: 0
24 | m_ClothInterCollisionSettingsToggle: 0
25 | m_ContactPairsMode: 0
26 | m_BroadphaseType: 0
27 | m_WorldBounds:
28 | m_Center: {x: 0, y: 0, z: 0}
29 | m_Extent: {x: 250, y: 250, z: 250}
30 | m_WorldSubdivisions: 8
31 | m_FrictionType: 0
32 | m_EnableEnhancedDeterminism: 0
33 | m_EnableUnifiedHeightmaps: 1
34 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1045 &1
4 | EditorBuildSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Scenes:
8 | - enabled: 1
9 | path: Assets/Examples/SimplePerCamera/Outline.unity
10 | guid: e1f1f5e7ceb61b746b9f2016f0e53a93
11 | m_configObjects:
12 | com.unity.xr.management.loader_settings: {fileID: 11400000, guid: 82aec1eceb005f64292d3e5f6108b4d6,
13 | type: 2}
14 | xr.sdk.mock-hmd.settings: {fileID: 11400000, guid: c3521b75f8cf98d4d90d8baa975f2345,
15 | type: 2}
16 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!159 &1
4 | EditorSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 7
7 | m_ExternalVersionControlSupport: Hidden Meta Files
8 | m_SerializationMode: 2
9 | m_LineEndingsForNewScripts: 2
10 | m_DefaultBehaviorMode: 0
11 | m_PrefabRegularEnvironment: {fileID: 0}
12 | m_PrefabUIEnvironment: {fileID: 0}
13 | m_SpritePackerMode: 0
14 | m_SpritePackerPaddingPower: 1
15 | m_EtcTextureCompressorBehavior: 1
16 | m_EtcTextureFastCompressor: 1
17 | m_EtcTextureNormalCompressor: 2
18 | m_EtcTextureBestCompressor: 4
19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp
20 | m_ProjectGenerationRootNamespace:
21 | m_CollabEditorSettings:
22 | inProgressEnabled: 1
23 | m_EnableTextureStreamingInPlayMode: 1
24 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/GraphicsSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!30 &1
4 | GraphicsSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 12
7 | m_Deferred:
8 | m_Mode: 1
9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
10 | m_DeferredReflections:
11 | m_Mode: 1
12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0}
13 | m_ScreenSpaceShadows:
14 | m_Mode: 1
15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
16 | m_LegacyDeferred:
17 | m_Mode: 1
18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
19 | m_DepthNormals:
20 | m_Mode: 1
21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0}
22 | m_MotionVectors:
23 | m_Mode: 1
24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0}
25 | m_LightHalo:
26 | m_Mode: 1
27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0}
28 | m_LensFlare:
29 | m_Mode: 1
30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
31 | m_AlwaysIncludedShaders:
32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
38 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
39 | m_PreloadedShaders: []
40 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
41 | type: 0}
42 | m_CustomRenderPipeline: {fileID: 0}
43 | m_TransparencySortMode: 0
44 | m_TransparencySortAxis: {x: 0, y: 0, z: 1}
45 | m_DefaultRenderingPath: 1
46 | m_DefaultMobileRenderingPath: 1
47 | m_TierSettings: []
48 | m_LightmapStripping: 0
49 | m_FogStripping: 0
50 | m_InstancingStripping: 0
51 | m_LightmapKeepPlain: 1
52 | m_LightmapKeepDirCombined: 1
53 | m_LightmapKeepDynamicPlain: 1
54 | m_LightmapKeepDynamicDirCombined: 1
55 | m_LightmapKeepShadowMask: 1
56 | m_LightmapKeepSubtractive: 1
57 | m_FogKeepLinear: 1
58 | m_FogKeepExp: 1
59 | m_FogKeepExp2: 1
60 | m_AlbedoSwatchInfos: []
61 | m_LightsUseLinearIntensity: 0
62 | m_LightsUseColorTemperature: 0
63 | m_LogWhenShaderIsCompiled: 0
64 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/MemorySettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!387306366 &1
4 | MemorySettings:
5 | m_ObjectHideFlags: 0
6 | m_EditorMemorySettings:
7 | m_MainAllocatorBlockSize: -1
8 | m_ThreadAllocatorBlockSize: -1
9 | m_MainGfxBlockSize: -1
10 | m_ThreadGfxBlockSize: -1
11 | m_CacheBlockSize: -1
12 | m_TypetreeBlockSize: -1
13 | m_ProfilerBlockSize: -1
14 | m_ProfilerEditorBlockSize: -1
15 | m_BucketAllocatorGranularity: -1
16 | m_BucketAllocatorBucketsCount: -1
17 | m_BucketAllocatorBlockSize: -1
18 | m_BucketAllocatorBlockCount: -1
19 | m_ProfilerBucketAllocatorGranularity: -1
20 | m_ProfilerBucketAllocatorBucketsCount: -1
21 | m_ProfilerBucketAllocatorBlockSize: -1
22 | m_ProfilerBucketAllocatorBlockCount: -1
23 | m_TempAllocatorSizeMain: -1
24 | m_JobTempAllocatorBlockSize: -1
25 | m_BackgroundJobTempAllocatorBlockSize: -1
26 | m_JobTempAllocatorReducedBlockSize: -1
27 | m_TempAllocatorSizeGIBakingWorker: -1
28 | m_TempAllocatorSizeNavMeshWorker: -1
29 | m_TempAllocatorSizeAudioWorker: -1
30 | m_TempAllocatorSizeCloudWorker: -1
31 | m_TempAllocatorSizeGfx: -1
32 | m_TempAllocatorSizeJobWorker: -1
33 | m_TempAllocatorSizeBackgroundWorker: -1
34 | m_TempAllocatorSizePreloadManager: -1
35 | m_PlatformMemorySettings: {}
36 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/NavMeshAreas.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!126 &1
4 | NavMeshProjectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | areas:
8 | - name: Walkable
9 | cost: 1
10 | - name: Not Walkable
11 | cost: 1
12 | - name: Jump
13 | cost: 2
14 | - name:
15 | cost: 1
16 | - name:
17 | cost: 1
18 | - name:
19 | cost: 1
20 | - name:
21 | cost: 1
22 | - name:
23 | cost: 1
24 | - name:
25 | cost: 1
26 | - name:
27 | cost: 1
28 | - name:
29 | cost: 1
30 | - name:
31 | cost: 1
32 | - name:
33 | cost: 1
34 | - name:
35 | cost: 1
36 | - name:
37 | cost: 1
38 | - name:
39 | cost: 1
40 | - name:
41 | cost: 1
42 | - name:
43 | cost: 1
44 | - name:
45 | cost: 1
46 | - name:
47 | cost: 1
48 | - name:
49 | cost: 1
50 | - name:
51 | cost: 1
52 | - name:
53 | cost: 1
54 | - name:
55 | cost: 1
56 | - name:
57 | cost: 1
58 | - name:
59 | cost: 1
60 | - name:
61 | cost: 1
62 | - name:
63 | cost: 1
64 | - name:
65 | cost: 1
66 | - name:
67 | cost: 1
68 | - name:
69 | cost: 1
70 | - name:
71 | cost: 1
72 | m_LastAgentTypeID: -887442657
73 | m_Settings:
74 | - serializedVersion: 2
75 | agentTypeID: 0
76 | agentRadius: 0.5
77 | agentHeight: 2
78 | agentSlope: 45
79 | agentClimb: 0.75
80 | ledgeDropHeight: 0
81 | maxJumpAcrossDistance: 0
82 | minRegionArea: 2
83 | manualCellSize: 0
84 | cellSize: 0.16666667
85 | manualTileSize: 0
86 | tileSize: 256
87 | accuratePlacement: 0
88 | debug:
89 | m_Flags: 0
90 | m_SettingNames:
91 | - Humanoid
92 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/PackageManagerSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | m_ScopedRegistriesSettingsExpanded: 1
16 | oneTimeWarningShown: 0
17 | m_Registries:
18 | - m_Id: main
19 | m_Name:
20 | m_Url: https://packages.unity.com
21 | m_Scopes: []
22 | m_IsDefault: 1
23 | m_UserSelectedRegistryName:
24 | m_UserAddingNewScopedRegistry: 0
25 | m_RegistryInfoDraft:
26 | m_ErrorMessage:
27 | m_Original:
28 | m_Id:
29 | m_Name:
30 | m_Url:
31 | m_Scopes: []
32 | m_IsDefault: 0
33 | m_Modified: 0
34 | m_Name:
35 | m_Url:
36 | m_Scopes:
37 | -
38 | m_SelectedScopeIndex: 0
39 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!19 &1
4 | Physics2DSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 4
7 | m_Gravity: {x: 0, y: -9.81}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_VelocityIterations: 8
10 | m_PositionIterations: 3
11 | m_VelocityThreshold: 1
12 | m_MaxLinearCorrection: 0.2
13 | m_MaxAngularCorrection: 8
14 | m_MaxTranslationSpeed: 100
15 | m_MaxRotationSpeed: 360
16 | m_BaumgarteScale: 0.2
17 | m_BaumgarteTimeOfImpactScale: 0.75
18 | m_TimeToSleep: 0.5
19 | m_LinearSleepTolerance: 0.01
20 | m_AngularSleepTolerance: 2
21 | m_DefaultContactOffset: 0.01
22 | m_JobOptions:
23 | serializedVersion: 2
24 | useMultithreading: 0
25 | useConsistencySorting: 0
26 | m_InterpolationPosesPerJob: 100
27 | m_NewContactsPerJob: 30
28 | m_CollideContactsPerJob: 100
29 | m_ClearFlagsPerJob: 200
30 | m_ClearBodyForcesPerJob: 200
31 | m_SyncDiscreteFixturesPerJob: 50
32 | m_SyncContinuousFixturesPerJob: 50
33 | m_FindNearestContactsPerJob: 100
34 | m_UpdateTriggerContactsPerJob: 100
35 | m_IslandSolverCostThreshold: 100
36 | m_IslandSolverBodyCostScale: 1
37 | m_IslandSolverContactCostScale: 10
38 | m_IslandSolverJointCostScale: 10
39 | m_IslandSolverBodiesPerJob: 50
40 | m_IslandSolverContactsPerJob: 50
41 | m_AutoSimulation: 1
42 | m_QueriesHitTriggers: 1
43 | m_QueriesStartInColliders: 1
44 | m_CallbacksOnDisable: 1
45 | m_ReuseCollisionCallbacks: 0
46 | m_AutoSyncTransforms: 0
47 | m_AlwaysShowColliders: 0
48 | m_ShowColliderSleep: 1
49 | m_ShowColliderContacts: 0
50 | m_ShowColliderAABB: 0
51 | m_ContactArrowScale: 0.2
52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
57 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/PresetManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1386491679 &1
4 | PresetManager:
5 | m_ObjectHideFlags: 0
6 | m_DefaultList: []
7 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 2021.3.19f1
2 | m_EditorVersionWithRevision: 2021.3.19f1 (c9714fde33b6)
3 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!78 &1
4 | TagManager:
5 | serializedVersion: 2
6 | tags: []
7 | layers:
8 | - Default
9 | - TransparentFX
10 | - Ignore Raycast
11 | -
12 | - Water
13 | - UI
14 | -
15 | -
16 | -
17 | -
18 | -
19 | -
20 | -
21 | -
22 | -
23 | -
24 | -
25 | -
26 | -
27 | -
28 | -
29 | -
30 | -
31 | -
32 | -
33 | -
34 | -
35 | -
36 | -
37 | -
38 | -
39 | -
40 | m_SortingLayers:
41 | - name: Default
42 | uniqueID: 0
43 | locked: 0
44 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!5 &1
4 | TimeManager:
5 | m_ObjectHideFlags: 0
6 | Fixed Timestep: 0.02
7 | Maximum Allowed Timestep: 0.33333334
8 | m_TimeScale: 1
9 | Maximum Particle Timestep: 0.03
10 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/UnityConnectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!310 &1
4 | UnityConnectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 1
7 | m_Enabled: 0
8 | m_TestMode: 0
9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com
12 | m_TestInitMode: 0
13 | CrashReportingSettings:
14 | m_EventUrl: https://perf-events.cloud.unity3d.com
15 | m_Enabled: 0
16 | m_LogBufferSize: 10
17 | m_CaptureEditorExceptions: 1
18 | UnityPurchasingSettings:
19 | m_Enabled: 0
20 | m_TestMode: 0
21 | UnityAnalyticsSettings:
22 | m_Enabled: 0
23 | m_TestMode: 0
24 | m_InitializeOnStartup: 1
25 | UnityAdsSettings:
26 | m_Enabled: 0
27 | m_InitializeOnStartup: 1
28 | m_TestMode: 0
29 | m_IosGameId:
30 | m_AndroidGameId:
31 | m_GameIds: {}
32 | m_GameId:
33 | PerformanceReportingSettings:
34 | m_Enabled: 0
35 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/VFXManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!937362698 &1
4 | VFXManager:
5 | m_ObjectHideFlags: 0
6 | m_IndirectShader: {fileID: 0}
7 | m_CopyBufferShader: {fileID: 0}
8 | m_SortShader: {fileID: 0}
9 | m_RenderPipeSettingsPath:
10 | m_FixedTimeStep: 0.016666668
11 | m_MaxDeltaTime: 0.05
12 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/VersionControlSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!890905787 &1
4 | VersionControlSettings:
5 | m_ObjectHideFlags: 0
6 | m_Mode: Visible Meta Files
7 | m_CollabEditorSettings:
8 | inProgressEnabled: 1
9 |
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/XRPackageSettings.asset:
--------------------------------------------------------------------------------
1 | {
2 | "m_Settings": [
3 | "RemoveLegacyInputHelpersForReload",
4 | "ShouldQueryLegacyPackageRemoval"
5 | ]
6 | }
--------------------------------------------------------------------------------
/Outline.Core/ProjectSettings/XRSettings.asset:
--------------------------------------------------------------------------------
1 | {
2 | "m_SettingKeys": [
3 | "VR Device Disabled",
4 | "VR Device User Alert"
5 | ],
6 | "m_SettingValues": [
7 | "False",
8 | "False"
9 | ]
10 | }
--------------------------------------------------------------------------------
/Outline.Core/UserSettings/EditorUserSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!162 &1
4 | EditorUserSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 4
7 | m_ConfigSettings:
8 | RecentlyUsedSceneGuid-0:
9 | value: 0600525703000c0c0e0b0e74412108444015412c7e7877662b791866b1e16d6b
10 | flags: 0
11 | vcSharedLogLevel:
12 | value: 0d5e400f0650
13 | flags: 0
14 | m_VCAutomaticAdd: 1
15 | m_VCDebugCom: 0
16 | m_VCDebugCmd: 0
17 | m_VCDebugOut: 0
18 | m_SemanticMergeMode: 2
19 | m_DesiredImportWorkerCount: 3
20 | m_StandbyImportWorkerCount: 2
21 | m_IdleImportWorkerShutdownDelay: 60000
22 | m_VCShowFailedCheckout: 1
23 | m_VCOverwriteFailedCheckoutAssets: 1
24 | m_VCProjectOverlayIcons: 1
25 | m_VCHierarchyOverlayIcons: 1
26 | m_VCOtherOverlayIcons: 1
27 | m_VCAllowAsyncUpdate: 1
28 | m_ArtifactGarbageCollection: 1
29 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/Example.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: e3460f9c82b74f04094738b4630a3156
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/Example/OutlineLayerCollection.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 57d0c11168277cf4eb3b4b89706e6aa5, type: 3}
13 | m_Name: OutlineLayerCollection
14 | m_EditorClassIdentifier:
15 | _layers:
16 | - _settings:
17 | _outlineSettings: {fileID: 0}
18 | _outlineColor: {r: 1, g: 0, b: 0, a: 1}
19 | _outlineWidth: 4
20 | _outlineIntensity: 2
21 | _outlineMode: 0
22 | _name:
23 | _zOrder: 0
24 | _enabled: 1
25 | - _settings:
26 | _outlineSettings: {fileID: 0}
27 | _outlineColor: {r: 0, g: 1, b: 0.060156345, a: 1}
28 | _outlineWidth: 7
29 | _outlineIntensity: 2
30 | _outlineMode: 1
31 | _name:
32 | _zOrder: 0
33 | _enabled: 1
34 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/Example/OutlineLayerCollection.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 65159dc68f867cd4f90261bae63e29a7
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/Example/OutlineTest.cs:
--------------------------------------------------------------------------------
1 | using System.Collections;
2 | using System.Collections.Generic;
3 | using UnityEngine;
4 | using UnityFx.Outline;
5 |
6 | public class OutlineTest : MonoBehaviour
7 | {
8 | #pragma warning disable 0649
9 |
10 | [SerializeField]
11 | private GameObject[] _layer0;
12 | [SerializeField]
13 | private GameObject[] _layer1;
14 | [SerializeField]
15 | private OutlineLayerCollection _layers;
16 |
17 | #pragma warning restore 0649
18 |
19 | void Start()
20 | {
21 | foreach (var go in _layer0)
22 | {
23 | _layers[0].Add(go);
24 | }
25 |
26 | foreach (var go in _layer1)
27 | {
28 | _layers[1].Add(go);
29 | }
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/Example/OutlineTest.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 22d06c15672ad2440afbe792e641c411
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/Example/Test.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4e135944522226a4f865fc46db4f82b9
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/HDRPDefaultResources.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8f3d33c32408aac48b821ee51ce221cd
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/HDRPDefaultResources/DefaultSceneRoot.prefab.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: de1884a706667b84cbf9c4195ee402ca
3 | PrefabImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/HDRPDefaultResources/Foliage Diffusion Profile.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: b2686e09ec7aef44bad2843e4416f057, type: 3}
13 | m_Name: Foliage Diffusion Profile
14 | m_EditorClassIdentifier:
15 | profile:
16 | name: Foliage
17 | scatteringDistance: {r: 0.7568628, g: 0.7019608, b: 0.24313727, a: 1}
18 | transmissionTint: {r: 1, g: 1, b: 1, a: 1}
19 | texturingMode: 0
20 | transmissionMode: 1
21 | thicknessRemap: {x: 0, y: 0.2873168}
22 | worldScale: 1
23 | ior: 1.4
24 | hash: 1081692787
25 | m_Version: 1
26 | profiles: []
27 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/HDRPDefaultResources/Foliage Diffusion Profile.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 343dd26a4b998f943bd55742e4e98058
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/HDRPDefaultResources/HDRenderPipelineAsset.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 63e769e3f0d41094da311c3c96418947
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/HDRPDefaultResources/HDRenderPipelineGlobalSettings.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 79a4630269b414f37a9234a1dee43562
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/HDRPDefaultResources/Scene PostProcess Profile.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: aab0876a9ec74194fb766183257d02c9
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/HDRPDefaultResources/Skin Diffusion Profile.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: b2686e09ec7aef44bad2843e4416f057, type: 3}
13 | m_Name: Skin Diffusion Profile
14 | m_EditorClassIdentifier:
15 | profile:
16 | name: Skin
17 | scatteringDistance: {r: 0.7568628, g: 0.32156864, b: 0.20000002, a: 1}
18 | transmissionTint: {r: 0.7568628, g: 0.32156864, b: 0.20000002, a: 1}
19 | texturingMode: 0
20 | transmissionMode: 0
21 | thicknessRemap: {x: 0, y: 8.152544}
22 | worldScale: 1
23 | ior: 1.4
24 | hash: 1075477546
25 | m_Version: 1
26 | profiles: []
27 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/HDRPDefaultResources/Skin Diffusion Profile.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f2b3cca394e674d4e8b508f6db8af781
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/Assets/HDRPDefaultResources/Sky and Fog Settings Profile.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f7fdecfb0943ec9438e95d4c4e13123f
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # UnityFx.Outline.HDRP changelog
2 | All notable changes to this project will be documented in this file.
3 |
4 | The format is based on [Keep a Changelog](http://keepachangelog.com/); this project adheres to [Semantic Versioning](http://semver.org/).
5 |
6 | ## [0.1.0] - unreleased
7 |
8 | ### Added
9 | - Initial release.
10 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/CHANGELOG.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d2731cfdae865ee439fd0fef782fa994
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/README.md:
--------------------------------------------------------------------------------
1 | # UnityFx.Outline.HDRP
2 |
3 | ## SUMMARY
4 | Screen-space outline effects for HDRP.
5 |
6 | ## USEFUL LINKS
7 | * [Github project](https://github.com/Arvtesh/UnityFx.Outline)
8 | * [npm package](https://www.npmjs.com/package/com.unityfx.outline.hdrp)
9 | * [Documentation](https://github.com/Arvtesh/UnityFx.Outline/blob/master/README.md)
10 | * [License](https://github.com/Arvtesh/UnityFx.Outline/blob/master/LICENSE.md)
11 | * [Support](mailto:arvtesh@gmail.com)
12 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/README.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3db1fff9dd9ae804888eebc4382e1fb8
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/Runtime.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 58d8c6c8330ffc042ade41ba15f8da23
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/Runtime/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 85518f862b075044bbd76d57354f8f3e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/Runtime/Scripts/OutlinePass.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2020 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using System.Collections.Generic;
6 | using UnityEngine;
7 | using UnityEngine.Rendering;
8 | using UnityEngine.Rendering.HighDefinition;
9 |
10 | namespace UnityFx.Outline.HDRP
11 | {
12 | ///
13 | ///
14 | ///
15 | public sealed class OutlinePass : CustomPass
16 | {
17 | #region data
18 |
19 | #pragma warning disable 0649
20 |
21 | [SerializeField, Tooltip(OutlineResources.OutlineResourcesTooltip)]
22 | private OutlineResources _outlineResources;
23 | [SerializeField, Tooltip(OutlineResources.OutlineLayerCollectionTooltip)]
24 | private OutlineLayerCollection _outlineLayers;
25 |
26 | #pragma warning restore 0649
27 |
28 | private List _renderList;
29 |
30 | #endregion
31 |
32 | #region CustomPass
33 |
34 | protected override void Setup(ScriptableRenderContext renderContext, CommandBuffer cmd)
35 | {
36 | if (_renderList is null)
37 | {
38 | _renderList = new List();
39 | }
40 | }
41 |
42 | protected override void Execute(ScriptableRenderContext renderContext, CommandBuffer cmd, HDCamera hdCamera, CullingResults cullingResult)
43 | {
44 | if (_outlineResources && _outlineLayers)
45 | {
46 | GetCameraBuffers(out var colorBuffer, out var depthBuffer);
47 |
48 | using (var renderer = new OutlineRenderer(cmd, _outlineResources, colorBuffer.nameID, depthBuffer.nameID, colorBuffer.rt.descriptor))
49 | {
50 | _renderList.Clear();
51 | _outlineLayers.GetRenderObjects(_renderList);
52 |
53 | foreach (var obj in _renderList)
54 | {
55 | renderer.Render(obj);
56 | }
57 | }
58 | }
59 | }
60 |
61 | #endregion
62 | }
63 | }
64 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/Runtime/Scripts/OutlinePass.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: dcdde7b7f13f9c745ae31e38f089fdf8
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences:
7 | - _defaultResources: {fileID: 11400000, guid: d28e70f030b1a634db9a6a6d5478ef19,
8 | type: 2}
9 | executionOrder: 0
10 | icon: {instanceID: 0}
11 | userData:
12 | assetBundleName:
13 | assetBundleVariant:
14 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/Runtime/UnityFx.Outline.HDRP.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "UnityFx.Outline.HDRP",
3 | "references": [
4 | "Unity.RenderPipelines.Core.Runtime",
5 | "Unity.RenderPipelines.HighDefinition.Runtime",
6 | "UnityFx.Outline"
7 | ],
8 | "includePlatforms": [],
9 | "excludePlatforms": [],
10 | "allowUnsafeCode": false,
11 | "overrideReferences": false,
12 | "precompiledReferences": [],
13 | "autoReferenced": true,
14 | "defineConstraints": [],
15 | "versionDefines": [],
16 | "noEngineReferences": false
17 | }
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/Runtime/UnityFx.Outline.HDRP.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8130e23c3199afb43ae1c34b3e328d00
3 | AssemblyDefinitionImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "com.unityfx.outline.hdrp",
3 | "version": "0.1.0",
4 | "displayName": "Screen-space outline (HDRP)",
5 | "description": "Configurable outline for HDRP.",
6 | "unity": "2019.3",
7 | "dependencies": {
8 | "com.unityfx.outline": "0.8.0",
9 | "com.unity.render-pipelines.high-definition": "7.0.0"
10 | },
11 | "keywords": [
12 | "UnityFx",
13 | "UnityFx.Outline",
14 | "UnityFx.Outline.HDRP",
15 | "Outline",
16 | "Post-processing",
17 | "HDRP"
18 | ],
19 | "category": "UnityFx",
20 | "author": {
21 | "name": "Arvtesh",
22 | "email": "arvtesh@gmail.com"
23 | },
24 | "license": "MIT",
25 | "homepage": "https://github.com/Arvtesh/UnityFx.Outline",
26 | "repository": {
27 | "type": "git",
28 | "url": "https://github.com/Arvtesh/UnityFx.Outline.git"
29 | },
30 | "bugs": {
31 | "url": "https://github.com/Arvtesh/UnityFx.Outline/issues"
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/UnityFx.Outline.HDRP/package.json.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 761dcd9f6f741bd4b9a86aa1fc1f11b7
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.HDRP/Packages/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "com.unity.ide.visualstudio": "2.0.17",
4 | "com.unityfx.outline": "file:../../Outline.Core/Packages/UnityFx.Outline",
5 | "com.unity.modules.ai": "1.0.0",
6 | "com.unity.modules.androidjni": "1.0.0",
7 | "com.unity.modules.animation": "1.0.0",
8 | "com.unity.modules.assetbundle": "1.0.0",
9 | "com.unity.modules.audio": "1.0.0",
10 | "com.unity.modules.cloth": "1.0.0",
11 | "com.unity.modules.director": "1.0.0",
12 | "com.unity.modules.imageconversion": "1.0.0",
13 | "com.unity.modules.imgui": "1.0.0",
14 | "com.unity.modules.jsonserialize": "1.0.0",
15 | "com.unity.modules.particlesystem": "1.0.0",
16 | "com.unity.modules.physics": "1.0.0",
17 | "com.unity.modules.physics2d": "1.0.0",
18 | "com.unity.modules.screencapture": "1.0.0",
19 | "com.unity.modules.terrain": "1.0.0",
20 | "com.unity.modules.terrainphysics": "1.0.0",
21 | "com.unity.modules.tilemap": "1.0.0",
22 | "com.unity.modules.ui": "1.0.0",
23 | "com.unity.modules.uielements": "1.0.0",
24 | "com.unity.modules.umbra": "1.0.0",
25 | "com.unity.modules.unityanalytics": "1.0.0",
26 | "com.unity.modules.unitywebrequest": "1.0.0",
27 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
28 | "com.unity.modules.unitywebrequestaudio": "1.0.0",
29 | "com.unity.modules.unitywebrequesttexture": "1.0.0",
30 | "com.unity.modules.unitywebrequestwww": "1.0.0",
31 | "com.unity.modules.vehicles": "1.0.0",
32 | "com.unity.modules.video": "1.0.0",
33 | "com.unity.modules.vr": "1.0.0",
34 | "com.unity.modules.wind": "1.0.0",
35 | "com.unity.modules.xr": "1.0.0"
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!11 &1
4 | AudioManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Volume: 1
8 | Rolloff Scale: 1
9 | Doppler Factor: 1
10 | Default Speaker Mode: 2
11 | m_SampleRate: 0
12 | m_DSPBufferSize: 1024
13 | m_VirtualVoiceCount: 512
14 | m_RealVoiceCount: 32
15 | m_SpatializerPlugin:
16 | m_AmbisonicDecoderPlugin:
17 | m_DisableAudio: 0
18 | m_VirtualizeEffects: 1
19 | m_RequestedDSPBufferSize: 0
20 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/ClusterInputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!236 &1
4 | ClusterInputManager:
5 | m_ObjectHideFlags: 0
6 | m_Inputs: []
7 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!55 &1
4 | PhysicsManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 13
7 | m_Gravity: {x: 0, y: -9.81, z: 0}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_BounceThreshold: 2
10 | m_SleepThreshold: 0.005
11 | m_DefaultContactOffset: 0.01
12 | m_DefaultSolverIterations: 6
13 | m_DefaultSolverVelocityIterations: 1
14 | m_QueriesHitBackfaces: 0
15 | m_QueriesHitTriggers: 1
16 | m_EnableAdaptiveForce: 0
17 | m_ClothInterCollisionDistance: 0.1
18 | m_ClothInterCollisionStiffness: 0.2
19 | m_ContactsGeneration: 1
20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
21 | m_AutoSimulation: 1
22 | m_AutoSyncTransforms: 0
23 | m_ReuseCollisionCallbacks: 0
24 | m_ClothInterCollisionSettingsToggle: 0
25 | m_ClothGravity: {x: 0, y: -9.81, z: 0}
26 | m_ContactPairsMode: 0
27 | m_BroadphaseType: 0
28 | m_WorldBounds:
29 | m_Center: {x: 0, y: 0, z: 0}
30 | m_Extent: {x: 250, y: 250, z: 250}
31 | m_WorldSubdivisions: 8
32 | m_FrictionType: 0
33 | m_EnableEnhancedDeterminism: 0
34 | m_EnableUnifiedHeightmaps: 1
35 | m_SolverType: 0
36 | m_DefaultMaxAngularSpeed: 50
37 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1045 &1
4 | EditorBuildSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Scenes: []
8 | m_configObjects: {}
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!159 &1
4 | EditorSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 11
7 | m_SerializationMode: 2
8 | m_LineEndingsForNewScripts: 2
9 | m_DefaultBehaviorMode: 0
10 | m_PrefabRegularEnvironment: {fileID: 0}
11 | m_PrefabUIEnvironment: {fileID: 0}
12 | m_SpritePackerMode: 0
13 | m_SpritePackerPaddingPower: 1
14 | m_Bc7TextureCompressor: 0
15 | m_EtcTextureCompressorBehavior: 1
16 | m_EtcTextureFastCompressor: 1
17 | m_EtcTextureNormalCompressor: 2
18 | m_EtcTextureBestCompressor: 4
19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref;rsp
20 | m_ProjectGenerationRootNamespace:
21 | m_EnableTextureStreamingInEditMode: 1
22 | m_EnableTextureStreamingInPlayMode: 1
23 | m_AsyncShaderCompilation: 1
24 | m_CachingShaderPreprocessor: 1
25 | m_PrefabModeAllowAutoSave: 1
26 | m_EnterPlayModeOptionsEnabled: 0
27 | m_EnterPlayModeOptions: 3
28 | m_GameObjectNamingDigits: 1
29 | m_GameObjectNamingScheme: 0
30 | m_AssetNamingUsesSpace: 1
31 | m_UseLegacyProbeSampleCount: 0
32 | m_SerializeInlineMappingsOnOneLine: 0
33 | m_DisableCookiesInLightmapper: 0
34 | m_AssetPipelineMode: 1
35 | m_RefreshImportMode: 0
36 | m_CacheServerMode: 0
37 | m_CacheServerEndpoint:
38 | m_CacheServerNamespacePrefix: default
39 | m_CacheServerEnableDownload: 1
40 | m_CacheServerEnableUpload: 1
41 | m_CacheServerEnableAuth: 0
42 | m_CacheServerEnableTls: 0
43 | m_CacheServerValidationMode: 2
44 | m_CacheServerDownloadBatchSize: 128
45 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/GraphicsSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!30 &1
4 | GraphicsSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 14
7 | m_Deferred:
8 | m_Mode: 1
9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
10 | m_DeferredReflections:
11 | m_Mode: 1
12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0}
13 | m_ScreenSpaceShadows:
14 | m_Mode: 1
15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
16 | m_LegacyDeferred:
17 | m_Mode: 1
18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
19 | m_DepthNormals:
20 | m_Mode: 1
21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0}
22 | m_MotionVectors:
23 | m_Mode: 1
24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0}
25 | m_LightHalo:
26 | m_Mode: 1
27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0}
28 | m_LensFlare:
29 | m_Mode: 1
30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
31 | m_VideoShadersIncludeMode: 2
32 | m_AlwaysIncludedShaders:
33 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
34 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
35 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
36 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
37 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
38 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
39 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
40 | m_PreloadedShaders: []
41 | m_PreloadShadersBatchTimeLimit: -1
42 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
43 | type: 0}
44 | m_CustomRenderPipeline: {fileID: 11400000, guid: 63e769e3f0d41094da311c3c96418947,
45 | type: 2}
46 | m_TransparencySortMode: 0
47 | m_TransparencySortAxis: {x: 0, y: 0, z: 1}
48 | m_DefaultRenderingPath: 1
49 | m_DefaultMobileRenderingPath: 1
50 | m_TierSettings: []
51 | m_LightmapStripping: 0
52 | m_FogStripping: 0
53 | m_InstancingStripping: 0
54 | m_LightmapKeepPlain: 1
55 | m_LightmapKeepDirCombined: 1
56 | m_LightmapKeepDynamicPlain: 1
57 | m_LightmapKeepDynamicDirCombined: 1
58 | m_LightmapKeepShadowMask: 1
59 | m_LightmapKeepSubtractive: 1
60 | m_FogKeepLinear: 1
61 | m_FogKeepExp: 1
62 | m_FogKeepExp2: 1
63 | m_AlbedoSwatchInfos: []
64 | m_LightsUseLinearIntensity: 1
65 | m_LightsUseColorTemperature: 1
66 | m_DefaultRenderingLayerMask: 1
67 | m_LogWhenShaderIsCompiled: 0
68 | m_SRPDefaultSettings:
69 | UnityEngine.Rendering.HighDefinition.HDRenderPipeline: {fileID: 11400000, guid: ee88084f3ebba4ae3a4d1a5c523ae64b,
70 | type: 2}
71 | m_CameraRelativeLightCulling: 0
72 | m_CameraRelativeShadowCulling: 0
73 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/HDRPProjectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 63a2978a97e4fc04cb9d905947216f3d, type: 3}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | m_ProjectSettingFolderPath: HDRPDefaultResources
16 | m_WizardPopupAtStart: 0
17 | m_LastMaterialVersion: 12
18 | m_HDShaderGraphLastSeenVersion: 0
19 | m_PluginMaterialVersions:
20 | m_Keys: []
21 | m_Values:
22 | m_PluginSubTargetVersions:
23 | m_Keys: []
24 | m_Values:
25 | m_Version: 2
26 | m_ObsoleteWizardPopupAlreadyShownOnce: 0
27 | m_ObsoleteWizardActiveTab: 0
28 | m_ObsoleteWizardNeedRestartAfterChangingToDX12: 0
29 | m_ObsoleteWizardNeedToRunFixAllAgainAfterDomainReload: 0
30 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/MemorySettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!387306366 &1
4 | MemorySettings:
5 | m_ObjectHideFlags: 0
6 | m_EditorMemorySettings:
7 | m_MainAllocatorBlockSize: -1
8 | m_ThreadAllocatorBlockSize: -1
9 | m_MainGfxBlockSize: -1
10 | m_ThreadGfxBlockSize: -1
11 | m_CacheBlockSize: -1
12 | m_TypetreeBlockSize: -1
13 | m_ProfilerBlockSize: -1
14 | m_ProfilerEditorBlockSize: -1
15 | m_BucketAllocatorGranularity: -1
16 | m_BucketAllocatorBucketsCount: -1
17 | m_BucketAllocatorBlockSize: -1
18 | m_BucketAllocatorBlockCount: -1
19 | m_ProfilerBucketAllocatorGranularity: -1
20 | m_ProfilerBucketAllocatorBucketsCount: -1
21 | m_ProfilerBucketAllocatorBlockSize: -1
22 | m_ProfilerBucketAllocatorBlockCount: -1
23 | m_TempAllocatorSizeMain: -1
24 | m_JobTempAllocatorBlockSize: -1
25 | m_BackgroundJobTempAllocatorBlockSize: -1
26 | m_JobTempAllocatorReducedBlockSize: -1
27 | m_TempAllocatorSizeGIBakingWorker: -1
28 | m_TempAllocatorSizeNavMeshWorker: -1
29 | m_TempAllocatorSizeAudioWorker: -1
30 | m_TempAllocatorSizeCloudWorker: -1
31 | m_TempAllocatorSizeGfx: -1
32 | m_TempAllocatorSizeJobWorker: -1
33 | m_TempAllocatorSizeBackgroundWorker: -1
34 | m_TempAllocatorSizePreloadManager: -1
35 | m_PlatformMemorySettings: {}
36 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/NavMeshAreas.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!126 &1
4 | NavMeshProjectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | areas:
8 | - name: Walkable
9 | cost: 1
10 | - name: Not Walkable
11 | cost: 1
12 | - name: Jump
13 | cost: 2
14 | - name:
15 | cost: 1
16 | - name:
17 | cost: 1
18 | - name:
19 | cost: 1
20 | - name:
21 | cost: 1
22 | - name:
23 | cost: 1
24 | - name:
25 | cost: 1
26 | - name:
27 | cost: 1
28 | - name:
29 | cost: 1
30 | - name:
31 | cost: 1
32 | - name:
33 | cost: 1
34 | - name:
35 | cost: 1
36 | - name:
37 | cost: 1
38 | - name:
39 | cost: 1
40 | - name:
41 | cost: 1
42 | - name:
43 | cost: 1
44 | - name:
45 | cost: 1
46 | - name:
47 | cost: 1
48 | - name:
49 | cost: 1
50 | - name:
51 | cost: 1
52 | - name:
53 | cost: 1
54 | - name:
55 | cost: 1
56 | - name:
57 | cost: 1
58 | - name:
59 | cost: 1
60 | - name:
61 | cost: 1
62 | - name:
63 | cost: 1
64 | - name:
65 | cost: 1
66 | - name:
67 | cost: 1
68 | - name:
69 | cost: 1
70 | - name:
71 | cost: 1
72 | m_LastAgentTypeID: -887442657
73 | m_Settings:
74 | - serializedVersion: 2
75 | agentTypeID: 0
76 | agentRadius: 0.5
77 | agentHeight: 2
78 | agentSlope: 45
79 | agentClimb: 0.75
80 | ledgeDropHeight: 0
81 | maxJumpAcrossDistance: 0
82 | minRegionArea: 2
83 | manualCellSize: 0
84 | cellSize: 0.16666667
85 | manualTileSize: 0
86 | tileSize: 256
87 | accuratePlacement: 0
88 | debug:
89 | m_Flags: 0
90 | m_SettingNames:
91 | - Humanoid
92 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/PackageManagerSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | m_EnablePreReleasePackages: 0
16 | m_EnablePackageDependencies: 0
17 | m_AdvancedSettingsExpanded: 1
18 | m_ScopedRegistriesSettingsExpanded: 1
19 | m_SeeAllPackageVersions: 0
20 | oneTimeWarningShown: 0
21 | m_Registries:
22 | - m_Id: main
23 | m_Name:
24 | m_Url: https://packages.unity.com
25 | m_Scopes: []
26 | m_IsDefault: 1
27 | m_Capabilities: 7
28 | m_ConfigSource: 0
29 | m_UserSelectedRegistryName:
30 | m_UserAddingNewScopedRegistry: 0
31 | m_RegistryInfoDraft:
32 | m_Modified: 0
33 | m_ErrorMessage:
34 | m_UserModificationsInstanceId: -830
35 | m_OriginalInstanceId: -832
36 | m_LoadAssets: 0
37 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!19 &1
4 | Physics2DSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 4
7 | m_Gravity: {x: 0, y: -9.81}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_VelocityIterations: 8
10 | m_PositionIterations: 3
11 | m_VelocityThreshold: 1
12 | m_MaxLinearCorrection: 0.2
13 | m_MaxAngularCorrection: 8
14 | m_MaxTranslationSpeed: 100
15 | m_MaxRotationSpeed: 360
16 | m_BaumgarteScale: 0.2
17 | m_BaumgarteTimeOfImpactScale: 0.75
18 | m_TimeToSleep: 0.5
19 | m_LinearSleepTolerance: 0.01
20 | m_AngularSleepTolerance: 2
21 | m_DefaultContactOffset: 0.01
22 | m_JobOptions:
23 | serializedVersion: 2
24 | useMultithreading: 0
25 | useConsistencySorting: 0
26 | m_InterpolationPosesPerJob: 100
27 | m_NewContactsPerJob: 30
28 | m_CollideContactsPerJob: 100
29 | m_ClearFlagsPerJob: 200
30 | m_ClearBodyForcesPerJob: 200
31 | m_SyncDiscreteFixturesPerJob: 50
32 | m_SyncContinuousFixturesPerJob: 50
33 | m_FindNearestContactsPerJob: 100
34 | m_UpdateTriggerContactsPerJob: 100
35 | m_IslandSolverCostThreshold: 100
36 | m_IslandSolverBodyCostScale: 1
37 | m_IslandSolverContactCostScale: 10
38 | m_IslandSolverJointCostScale: 10
39 | m_IslandSolverBodiesPerJob: 50
40 | m_IslandSolverContactsPerJob: 50
41 | m_AutoSimulation: 1
42 | m_QueriesHitTriggers: 1
43 | m_QueriesStartInColliders: 1
44 | m_CallbacksOnDisable: 1
45 | m_ReuseCollisionCallbacks: 0
46 | m_AutoSyncTransforms: 0
47 | m_AlwaysShowColliders: 0
48 | m_ShowColliderSleep: 1
49 | m_ShowColliderContacts: 0
50 | m_ShowColliderAABB: 0
51 | m_ContactArrowScale: 0.2
52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
57 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/PresetManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1386491679 &1
4 | PresetManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_DefaultPresets: {}
8 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 2021.3.19f1
2 | m_EditorVersionWithRevision: 2021.3.19f1 (c9714fde33b6)
3 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!78 &1
4 | TagManager:
5 | serializedVersion: 2
6 | tags: []
7 | layers:
8 | - Default
9 | - TransparentFX
10 | - Ignore Raycast
11 | -
12 | - Water
13 | - UI
14 | -
15 | -
16 | -
17 | -
18 | -
19 | -
20 | -
21 | -
22 | -
23 | -
24 | -
25 | -
26 | -
27 | -
28 | -
29 | -
30 | -
31 | -
32 | -
33 | -
34 | -
35 | -
36 | -
37 | -
38 | -
39 | -
40 | m_SortingLayers:
41 | - name: Default
42 | uniqueID: 0
43 | locked: 0
44 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!5 &1
4 | TimeManager:
5 | m_ObjectHideFlags: 0
6 | Fixed Timestep: 0.02
7 | Maximum Allowed Timestep: 0.33333334
8 | m_TimeScale: 1
9 | Maximum Particle Timestep: 0.03
10 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/UnityConnectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!310 &1
4 | UnityConnectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 1
7 | m_Enabled: 0
8 | m_TestMode: 0
9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com
12 | m_TestInitMode: 0
13 | CrashReportingSettings:
14 | m_EventUrl: https://perf-events.cloud.unity3d.com
15 | m_Enabled: 0
16 | m_LogBufferSize: 10
17 | m_CaptureEditorExceptions: 1
18 | UnityPurchasingSettings:
19 | m_Enabled: 0
20 | m_TestMode: 0
21 | UnityAnalyticsSettings:
22 | m_Enabled: 0
23 | m_TestMode: 0
24 | m_InitializeOnStartup: 1
25 | UnityAdsSettings:
26 | m_Enabled: 0
27 | m_InitializeOnStartup: 1
28 | m_TestMode: 0
29 | m_IosGameId:
30 | m_AndroidGameId:
31 | m_GameIds: {}
32 | m_GameId:
33 | PerformanceReportingSettings:
34 | m_Enabled: 0
35 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/VFXManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!937362698 &1
4 | VFXManager:
5 | m_ObjectHideFlags: 0
6 | m_IndirectShader: {fileID: 7200000, guid: 84a17cfa13e40ae4082ef42714f0a81c, type: 3}
7 | m_CopyBufferShader: {fileID: 7200000, guid: 23c51f21a3503f6428b527b01f8a2f4e, type: 3}
8 | m_SortShader: {fileID: 7200000, guid: ea257ca3cfb12a642a5025e612af6b2a, type: 3}
9 | m_StripUpdateShader: {fileID: 7200000, guid: 8fa6c4009fe2a4d4486c62736fc30ad8, type: 3}
10 | m_RenderPipeSettingsPath:
11 | m_FixedTimeStep: 0.016666668
12 | m_MaxDeltaTime: 0.05
13 | m_CompiledVersion: 4
14 | m_RuntimeVersion: 22
15 | m_RuntimeResources: {fileID: 11400000, guid: bc10b42afe3813544bffd38ae2cd893d, type: 2}
16 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/VersionControlSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!890905787 &1
4 | VersionControlSettings:
5 | m_ObjectHideFlags: 0
6 | m_Mode: Visible Meta Files
7 | m_CollabEditorSettings:
8 | inProgressEnabled: 1
9 |
--------------------------------------------------------------------------------
/Outline.HDRP/ProjectSettings/XRSettings.asset:
--------------------------------------------------------------------------------
1 | {
2 | "m_SettingKeys": [
3 | "VR Device Disabled",
4 | "VR Device User Alert"
5 | ],
6 | "m_SettingValues": [
7 | "False",
8 | "False"
9 | ]
10 | }
--------------------------------------------------------------------------------
/Outline.HDRP/UserSettings/EditorUserSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!162 &1
4 | EditorUserSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 4
7 | m_ConfigSettings:
8 | RecentlyUsedSceneGuid-0:
9 | value: 57540555500c5d0f585c5e7042755e44104f4e7f2a2b7266292b4935bab23661
10 | flags: 0
11 | vcSharedLogLevel:
12 | value: 0d5e400f0650
13 | flags: 0
14 | m_VCAutomaticAdd: 1
15 | m_VCDebugCom: 0
16 | m_VCDebugCmd: 0
17 | m_VCDebugOut: 0
18 | m_SemanticMergeMode: 2
19 | m_DesiredImportWorkerCount: 3
20 | m_StandbyImportWorkerCount: 2
21 | m_IdleImportWorkerShutdownDelay: 60000
22 | m_VCShowFailedCheckout: 1
23 | m_VCOverwriteFailedCheckoutAssets: 1
24 | m_VCProjectOverlayIcons: 1
25 | m_VCHierarchyOverlayIcons: 1
26 | m_VCOtherOverlayIcons: 1
27 | m_VCAllowAsyncUpdate: 1
28 | m_ArtifactGarbageCollection: 1
29 |
--------------------------------------------------------------------------------
/Outline.HDRP/UserSettings/HDRPUserSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: ef3b9f3ac26b8524bab7722d06b49724, type: 3}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | m_WizardPopupAlreadyShownOnce: 0
16 | m_WizardActiveTab: 0
17 | m_WizardNeedRestartAfterChangingToDX12: 0
18 | m_WizardNeedToRunFixAllAgainAfterDomainReload: 0
19 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Assets/Examples.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: a810a4ae77829ce4d90d97e71431392f
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Assets/Examples/PostProcessing.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 0afa5bb63d529a84daf887e3dc44b420
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Assets/Examples/PostProcessing/OutlineLayerCollection.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 57d0c11168277cf4eb3b4b89706e6aa5, type: 3}
13 | m_Name: OutlineLayerCollection
14 | m_EditorClassIdentifier:
15 | _layers:
16 | - _settings:
17 | _outlineSettings: {fileID: 0}
18 | _outlineColor: {r: 1, g: 0, b: 0.970881, a: 1}
19 | _outlineWidth: 4
20 | _outlineIntensity: 2
21 | _outlineMode: 0
22 | _name:
23 | _enabled: 1
24 | - _settings:
25 | _outlineSettings: {fileID: 0}
26 | _outlineColor: {r: 1, g: 0, b: 0, a: 1}
27 | _outlineWidth: 6
28 | _outlineIntensity: 2
29 | _outlineMode: 2
30 | _name:
31 | _enabled: 1
32 | - _settings:
33 | _outlineSettings: {fileID: 0}
34 | _outlineColor: {r: 0, g: 0.23238373, b: 1, a: 1}
35 | _outlineWidth: 10
36 | _outlineIntensity: 2
37 | _outlineMode: 1
38 | _name:
39 | _enabled: 1
40 | _layerMask: 0
41 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Assets/Examples/PostProcessing/OutlineLayerCollection.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 747aa7f9a78f24945a8d07c0ba1511c6
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Assets/Examples/PostProcessing/PostProcessingProfile.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 8e6292b2c06870d4495f009f912b9600, type: 3}
13 | m_Name: PostProcessingProfile
14 | m_EditorClassIdentifier:
15 | settings:
16 | - {fileID: 114600372921182068}
17 | --- !u!114 &114600372921182068
18 | MonoBehaviour:
19 | m_ObjectHideFlags: 3
20 | m_CorrespondingSourceObject: {fileID: 0}
21 | m_PrefabInstance: {fileID: 0}
22 | m_PrefabAsset: {fileID: 0}
23 | m_GameObject: {fileID: 0}
24 | m_Enabled: 1
25 | m_EditorHideFlags: 0
26 | m_Script: {fileID: 11500000, guid: 362f6fe821115814693a671c047d5f31, type: 3}
27 | m_Name: Outline
28 | m_EditorClassIdentifier:
29 | active: 1
30 | enabled:
31 | overrideState: 1
32 | value: 1
33 | _defaultResources: {fileID: 11400000, guid: d28e70f030b1a634db9a6a6d5478ef19, type: 2}
34 | Resources:
35 | overrideState: 0
36 | value: {fileID: 11400000, guid: d28e70f030b1a634db9a6a6d5478ef19, type: 2}
37 | Layers:
38 | overrideState: 1
39 | value: {fileID: 11400000, guid: 747aa7f9a78f24945a8d07c0ba1511c6, type: 2}
40 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Assets/Examples/PostProcessing/PostProcessingProfile.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d4e92bcee87e63243abc9035c870abe2
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Assets/Examples/PostProcessing/PostProcessingSample.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 4d21e5bd8f334a040a5dd6da35054df4
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # UnityFx.Outline.PostProcessing changelog
2 | All notable changes to this project will be documented in this file.
3 |
4 | The format is based on [Keep a Changelog](http://keepachangelog.com/); this project adheres to [Semantic Versioning](http://semver.org/).
5 |
6 | ## [0.2.0] - 2020.05.30
7 |
8 | Minor improvements and bugfixes.
9 |
10 | ### Fixed
11 | - Fixed post-ptocessing implementation to require depth texture.
12 |
13 | ### Removed
14 | - Dropped .NET 3.5 support, minimal Unity version is set to 2018.4.
15 |
16 | ## [0.1.0] - 2020.04.08
17 |
18 | ### Added
19 | - Initial release.
20 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/CHANGELOG.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d5d97340f52aca745b5b5d55c881ebc5
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/README.md:
--------------------------------------------------------------------------------
1 | # UnityFx.Outline.PostProcessing
2 |
3 | ## SUMMARY
4 | Screen-space outline effect for Unity Post-processing Stack v2.
5 |
6 | ## USEFUL LINKS
7 | * [Github project](https://github.com/Arvtesh/UnityFx.Outline)
8 | * [npm package](https://www.npmjs.com/package/com.unityfx.outline.postprocessing)
9 | * [Documentation](https://github.com/Arvtesh/UnityFx.Outline/blob/master/README.md)
10 | * [License](https://github.com/Arvtesh/UnityFx.Outline/blob/master/LICENSE.md)
11 | * [Support](mailto:arvtesh@gmail.com)
12 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/README.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9b8ad98b0bcd54241b6b9c186551ecc3
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/Runtime.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 58b0863f5e2afd341a39b8095514add5
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/Runtime/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 96bc3f6fffa960f4691dcc70b0dc8a02
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/Runtime/Scripts/Outline.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2020 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using UnityEngine;
6 | using UnityEngine.Rendering.PostProcessing;
7 |
8 | namespace UnityFx.Outline.PostProcessing
9 | {
10 | [Serializable]
11 | [PostProcess(typeof(OutlineEffectRenderer), PostProcessEvent.BeforeStack, "UnityFx/Outline", false)]
12 | public sealed class Outline : PostProcessEffectSettings
13 | {
14 | #pragma warning disable 0649
15 |
16 | [SerializeField]
17 | private OutlineResources _defaultResources;
18 |
19 | #pragma warning restore 0649
20 |
21 | [Serializable]
22 | public class OutlineResourcesParameter : ParameterOverride
23 | {
24 | internal Outline Settings;
25 |
26 | protected override void OnEnable()
27 | {
28 | if (value is null)
29 | {
30 | value = Settings._defaultResources;
31 | }
32 | }
33 | }
34 |
35 | [Serializable]
36 | public class OutlineLayersParameter : ParameterOverride
37 | {
38 | }
39 |
40 | // NOTE: PostProcessEffectSettings.OnEnable implementation requires the fields to be public to function properly.
41 | [Tooltip(OutlineResources.OutlineResourcesTooltip)]
42 | public OutlineResourcesParameter Resources = new OutlineResourcesParameter();
43 | [Tooltip(OutlineResources.OutlineLayerCollectionTooltip)]
44 | public OutlineLayersParameter Layers = new OutlineLayersParameter();
45 |
46 | public Outline()
47 | {
48 | // NOTE: The better way to do this is implementing OnEnable(), but it is already implemented as private (!!!) method in PostProcessEffectSettings.
49 | Resources.Settings = this;
50 | }
51 |
52 | public override bool IsEnabledAndSupported(PostProcessRenderContext context)
53 | {
54 | #if UNITY_EDITOR
55 |
56 | // Don't render outline preview when the editor is not playing.
57 | if (!Application.isPlaying)
58 | {
59 | return false;
60 | }
61 |
62 | #endif
63 |
64 | return base.IsEnabledAndSupported(context) && Resources != null && Layers != null && Layers.value != null;
65 | }
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/Runtime/Scripts/Outline.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 362f6fe821115814693a671c047d5f31
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences:
7 | - _defaultResources: {fileID: 11400000, guid: d28e70f030b1a634db9a6a6d5478ef19,
8 | type: 2}
9 | executionOrder: 0
10 | icon: {instanceID: 0}
11 | userData:
12 | assetBundleName:
13 | assetBundleVariant:
14 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/Runtime/Scripts/OutlineEffectRenderer.cs:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2020 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | using System;
5 | using System.Collections.Generic;
6 | using UnityEngine;
7 | using UnityEngine.Rendering.PostProcessing;
8 | using UnityEngine.Scripting;
9 |
10 | namespace UnityFx.Outline.PostProcessing
11 | {
12 | [Preserve]
13 | public sealed class OutlineEffectRenderer : PostProcessEffectRenderer
14 | {
15 | private OutlineResources _defaultResources;
16 | private List _objects = new List();
17 |
18 | public override DepthTextureMode GetCameraFlags()
19 | {
20 | return DepthTextureMode.Depth;
21 | }
22 |
23 | public override void Render(PostProcessRenderContext context)
24 | {
25 | OutlineResources resources;
26 |
27 | if (settings.Resources.value)
28 | {
29 | resources = settings.Resources;
30 | }
31 | else
32 | {
33 | if (!_defaultResources)
34 | {
35 | _defaultResources = ScriptableObject.CreateInstance();
36 | _defaultResources.ResetToDefaults();
37 | _defaultResources.FullscreenTriangleMesh = RuntimeUtilities.fullscreenTriangle;
38 | }
39 |
40 | resources = _defaultResources;
41 | }
42 |
43 | if (resources && resources.IsValid)
44 | {
45 | RuntimeUtilities.CopyTexture(context.command, context.source, context.destination);
46 |
47 | using (var renderer = new OutlineRenderer(context.command, resources, context.destination, context.camera.actualRenderingPath, new Vector2Int(context.width, context.height)))
48 | {
49 | _objects.Clear();
50 | settings.Layers.value.GetRenderObjects(_objects);
51 |
52 | foreach (var obj in _objects)
53 | {
54 | renderer.Render(obj);
55 | }
56 | }
57 | }
58 | }
59 |
60 | public override void Release()
61 | {
62 | if (_defaultResources)
63 | {
64 | ScriptableObject.Destroy(_defaultResources);
65 | }
66 |
67 | base.Release();
68 | }
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/Runtime/Scripts/OutlineEffectRenderer.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 94b195a6784c3664eb4f501e87f38ce3
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/Runtime/UnityFx.Outline.PostProcessing.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "UnityFx.Outline.PostProcessing",
3 | "references": [
4 | "Unity.Postprocessing.Runtime",
5 | "UnityFx.Outline"
6 | ],
7 | "optionalUnityReferences": [],
8 | "includePlatforms": [],
9 | "excludePlatforms": [],
10 | "allowUnsafeCode": false,
11 | "overrideReferences": false,
12 | "precompiledReferences": [],
13 | "autoReferenced": true,
14 | "defineConstraints": []
15 | }
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/Runtime/UnityFx.Outline.PostProcessing.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8e3d165dc2f9115429adabaabad94f93
3 | AssemblyDefinitionImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "com.unityfx.outline.postprocessing",
3 | "version": "0.2.0",
4 | "displayName": "Outline toolkit (Post-processing v2)",
5 | "description": "This package contains configurable outline implementation for Unity post-processing stack (v2).",
6 | "unity": "2018.4",
7 | "dependencies": {
8 | "com.unityfx.outline": "0.8.0",
9 | "com.unity.postprocessing": "2.3.0"
10 | },
11 | "keywords": [
12 | "UnityFx",
13 | "UnityFx.Outline",
14 | "UnityFx.Outline.PostProcessing",
15 | "Outline",
16 | "Post-processing",
17 | "Post-effect"
18 | ],
19 | "category": "UnityFx",
20 | "author": {
21 | "name": "Arvtesh",
22 | "email": "arvtesh@gmail.com"
23 | },
24 | "license": "MIT",
25 | "homepage": "https://github.com/Arvtesh/UnityFx.Outline",
26 | "repository": {
27 | "type": "git",
28 | "url": "https://github.com/Arvtesh/UnityFx.Outline.git"
29 | },
30 | "bugs": {
31 | "url": "https://github.com/Arvtesh/UnityFx.Outline/issues"
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/UnityFx.Outline.PostProcessing/package.json.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5e0ccba19a9670b46ad359a388c4ddc5
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/Packages/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "com.unity.2d.sprite": "1.0.0",
4 | "com.unity.2d.tilemap": "1.0.0",
5 | "com.unity.ide.rider": "3.0.18",
6 | "com.unity.ide.visualstudio": "2.0.17",
7 | "com.unity.ide.vscode": "1.2.5",
8 | "com.unity.test-framework": "1.1.31",
9 | "com.unity.timeline": "1.6.4",
10 | "com.unity.ugui": "1.0.0",
11 | "com.unity.xr.legacyinputhelpers": "2.1.10",
12 | "com.unityfx.outline": "file:../../Outline.Core/Packages/UnityFx.Outline",
13 | "com.unity.modules.ai": "1.0.0",
14 | "com.unity.modules.androidjni": "1.0.0",
15 | "com.unity.modules.animation": "1.0.0",
16 | "com.unity.modules.assetbundle": "1.0.0",
17 | "com.unity.modules.audio": "1.0.0",
18 | "com.unity.modules.cloth": "1.0.0",
19 | "com.unity.modules.director": "1.0.0",
20 | "com.unity.modules.imageconversion": "1.0.0",
21 | "com.unity.modules.imgui": "1.0.0",
22 | "com.unity.modules.jsonserialize": "1.0.0",
23 | "com.unity.modules.particlesystem": "1.0.0",
24 | "com.unity.modules.physics": "1.0.0",
25 | "com.unity.modules.physics2d": "1.0.0",
26 | "com.unity.modules.screencapture": "1.0.0",
27 | "com.unity.modules.terrain": "1.0.0",
28 | "com.unity.modules.terrainphysics": "1.0.0",
29 | "com.unity.modules.tilemap": "1.0.0",
30 | "com.unity.modules.ui": "1.0.0",
31 | "com.unity.modules.uielements": "1.0.0",
32 | "com.unity.modules.umbra": "1.0.0",
33 | "com.unity.modules.unityanalytics": "1.0.0",
34 | "com.unity.modules.unitywebrequest": "1.0.0",
35 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
36 | "com.unity.modules.unitywebrequestaudio": "1.0.0",
37 | "com.unity.modules.unitywebrequesttexture": "1.0.0",
38 | "com.unity.modules.unitywebrequestwww": "1.0.0",
39 | "com.unity.modules.vehicles": "1.0.0",
40 | "com.unity.modules.video": "1.0.0",
41 | "com.unity.modules.vr": "1.0.0",
42 | "com.unity.modules.wind": "1.0.0",
43 | "com.unity.modules.xr": "1.0.0"
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!11 &1
4 | AudioManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Volume: 1
8 | Rolloff Scale: 1
9 | Doppler Factor: 1
10 | Default Speaker Mode: 2
11 | m_SampleRate: 0
12 | m_DSPBufferSize: 1024
13 | m_VirtualVoiceCount: 512
14 | m_RealVoiceCount: 32
15 | m_EnableOutputSuspension: 1
16 | m_SpatializerPlugin:
17 | m_AmbisonicDecoderPlugin:
18 | m_DisableAudio: 0
19 | m_VirtualizeEffects: 1
20 | m_RequestedDSPBufferSize: 0
21 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/ClusterInputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!236 &1
4 | ClusterInputManager:
5 | m_ObjectHideFlags: 0
6 | m_Inputs: []
7 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!55 &1
4 | PhysicsManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 13
7 | m_Gravity: {x: 0, y: -9.81, z: 0}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_BounceThreshold: 2
10 | m_DefaultMaxDepenetrationVelocity: 10
11 | m_SleepThreshold: 0.005
12 | m_DefaultContactOffset: 0.01
13 | m_DefaultSolverIterations: 6
14 | m_DefaultSolverVelocityIterations: 1
15 | m_QueriesHitBackfaces: 0
16 | m_QueriesHitTriggers: 1
17 | m_EnableAdaptiveForce: 0
18 | m_ClothInterCollisionDistance: 0
19 | m_ClothInterCollisionStiffness: 0
20 | m_ContactsGeneration: 1
21 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
22 | m_AutoSimulation: 1
23 | m_AutoSyncTransforms: 0
24 | m_ReuseCollisionCallbacks: 0
25 | m_ClothInterCollisionSettingsToggle: 0
26 | m_ClothGravity: {x: 0, y: -9.81, z: 0}
27 | m_ContactPairsMode: 0
28 | m_BroadphaseType: 0
29 | m_WorldBounds:
30 | m_Center: {x: 0, y: 0, z: 0}
31 | m_Extent: {x: 250, y: 250, z: 250}
32 | m_WorldSubdivisions: 8
33 | m_FrictionType: 0
34 | m_EnableEnhancedDeterminism: 0
35 | m_EnableUnifiedHeightmaps: 1
36 | m_ImprovedPatchFriction: 0
37 | m_SolverType: 0
38 | m_DefaultMaxAngularSpeed: 7
39 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1045 &1
4 | EditorBuildSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Scenes: []
8 | m_configObjects: {}
9 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!159 &1
4 | EditorSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 11
7 | m_SerializationMode: 2
8 | m_LineEndingsForNewScripts: 2
9 | m_DefaultBehaviorMode: 0
10 | m_PrefabRegularEnvironment: {fileID: 0}
11 | m_PrefabUIEnvironment: {fileID: 0}
12 | m_SpritePackerMode: 0
13 | m_SpritePackerPaddingPower: 1
14 | m_Bc7TextureCompressor: 0
15 | m_EtcTextureCompressorBehavior: 1
16 | m_EtcTextureFastCompressor: 1
17 | m_EtcTextureNormalCompressor: 2
18 | m_EtcTextureBestCompressor: 4
19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref
20 | m_ProjectGenerationRootNamespace:
21 | m_EnableTextureStreamingInEditMode: 1
22 | m_EnableTextureStreamingInPlayMode: 1
23 | m_AsyncShaderCompilation: 1
24 | m_CachingShaderPreprocessor: 1
25 | m_PrefabModeAllowAutoSave: 1
26 | m_EnterPlayModeOptionsEnabled: 0
27 | m_EnterPlayModeOptions: 3
28 | m_GameObjectNamingDigits: 1
29 | m_GameObjectNamingScheme: 0
30 | m_AssetNamingUsesSpace: 1
31 | m_UseLegacyProbeSampleCount: 1
32 | m_SerializeInlineMappingsOnOneLine: 0
33 | m_DisableCookiesInLightmapper: 1
34 | m_AssetPipelineMode: 1
35 | m_RefreshImportMode: 0
36 | m_CacheServerMode: 0
37 | m_CacheServerEndpoint:
38 | m_CacheServerNamespacePrefix: default
39 | m_CacheServerEnableDownload: 1
40 | m_CacheServerEnableUpload: 1
41 | m_CacheServerEnableAuth: 0
42 | m_CacheServerEnableTls: 0
43 | m_CacheServerValidationMode: 2
44 | m_CacheServerDownloadBatchSize: 128
45 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/MemorySettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!387306366 &1
4 | MemorySettings:
5 | m_ObjectHideFlags: 0
6 | m_EditorMemorySettings:
7 | m_MainAllocatorBlockSize: -1
8 | m_ThreadAllocatorBlockSize: -1
9 | m_MainGfxBlockSize: -1
10 | m_ThreadGfxBlockSize: -1
11 | m_CacheBlockSize: -1
12 | m_TypetreeBlockSize: -1
13 | m_ProfilerBlockSize: -1
14 | m_ProfilerEditorBlockSize: -1
15 | m_BucketAllocatorGranularity: -1
16 | m_BucketAllocatorBucketsCount: -1
17 | m_BucketAllocatorBlockSize: -1
18 | m_BucketAllocatorBlockCount: -1
19 | m_ProfilerBucketAllocatorGranularity: -1
20 | m_ProfilerBucketAllocatorBucketsCount: -1
21 | m_ProfilerBucketAllocatorBlockSize: -1
22 | m_ProfilerBucketAllocatorBlockCount: -1
23 | m_TempAllocatorSizeMain: -1
24 | m_JobTempAllocatorBlockSize: -1
25 | m_BackgroundJobTempAllocatorBlockSize: -1
26 | m_JobTempAllocatorReducedBlockSize: -1
27 | m_TempAllocatorSizeGIBakingWorker: -1
28 | m_TempAllocatorSizeNavMeshWorker: -1
29 | m_TempAllocatorSizeAudioWorker: -1
30 | m_TempAllocatorSizeCloudWorker: -1
31 | m_TempAllocatorSizeGfx: -1
32 | m_TempAllocatorSizeJobWorker: -1
33 | m_TempAllocatorSizeBackgroundWorker: -1
34 | m_TempAllocatorSizePreloadManager: -1
35 | m_PlatformMemorySettings: {}
36 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/NavMeshAreas.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!126 &1
4 | NavMeshProjectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | areas:
8 | - name: Walkable
9 | cost: 1
10 | - name: Not Walkable
11 | cost: 1
12 | - name: Jump
13 | cost: 2
14 | - name:
15 | cost: 1
16 | - name:
17 | cost: 1
18 | - name:
19 | cost: 1
20 | - name:
21 | cost: 1
22 | - name:
23 | cost: 1
24 | - name:
25 | cost: 1
26 | - name:
27 | cost: 1
28 | - name:
29 | cost: 1
30 | - name:
31 | cost: 1
32 | - name:
33 | cost: 1
34 | - name:
35 | cost: 1
36 | - name:
37 | cost: 1
38 | - name:
39 | cost: 1
40 | - name:
41 | cost: 1
42 | - name:
43 | cost: 1
44 | - name:
45 | cost: 1
46 | - name:
47 | cost: 1
48 | - name:
49 | cost: 1
50 | - name:
51 | cost: 1
52 | - name:
53 | cost: 1
54 | - name:
55 | cost: 1
56 | - name:
57 | cost: 1
58 | - name:
59 | cost: 1
60 | - name:
61 | cost: 1
62 | - name:
63 | cost: 1
64 | - name:
65 | cost: 1
66 | - name:
67 | cost: 1
68 | - name:
69 | cost: 1
70 | - name:
71 | cost: 1
72 | m_LastAgentTypeID: -887442657
73 | m_Settings:
74 | - serializedVersion: 2
75 | agentTypeID: 0
76 | agentRadius: 0.5
77 | agentHeight: 2
78 | agentSlope: 45
79 | agentClimb: 0.75
80 | ledgeDropHeight: 0
81 | maxJumpAcrossDistance: 0
82 | minRegionArea: 2
83 | manualCellSize: 0
84 | cellSize: 0.16666667
85 | manualTileSize: 0
86 | tileSize: 256
87 | accuratePlacement: 0
88 | maxJobWorkers: 0
89 | preserveTilesOutsideBounds: 0
90 | debug:
91 | m_Flags: 0
92 | m_SettingNames:
93 | - Humanoid
94 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/PackageManagerSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | m_EnablePreReleasePackages: 0
16 | m_EnablePackageDependencies: 0
17 | m_AdvancedSettingsExpanded: 1
18 | m_ScopedRegistriesSettingsExpanded: 1
19 | m_SeeAllPackageVersions: 0
20 | oneTimeWarningShown: 0
21 | m_Registries:
22 | - m_Id: main
23 | m_Name:
24 | m_Url: https://packages.unity.com
25 | m_Scopes: []
26 | m_IsDefault: 1
27 | m_Capabilities: 7
28 | m_ConfigSource: 0
29 | m_UserSelectedRegistryName:
30 | m_UserAddingNewScopedRegistry: 0
31 | m_RegistryInfoDraft:
32 | m_Modified: 0
33 | m_ErrorMessage:
34 | m_UserModificationsInstanceId: -854
35 | m_OriginalInstanceId: -856
36 | m_LoadAssets: 0
37 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!19 &1
4 | Physics2DSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 5
7 | m_Gravity: {x: 0, y: -9.81}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_VelocityIterations: 8
10 | m_PositionIterations: 3
11 | m_VelocityThreshold: 1
12 | m_MaxLinearCorrection: 0.2
13 | m_MaxAngularCorrection: 8
14 | m_MaxTranslationSpeed: 100
15 | m_MaxRotationSpeed: 360
16 | m_BaumgarteScale: 0.2
17 | m_BaumgarteTimeOfImpactScale: 0.75
18 | m_TimeToSleep: 0.5
19 | m_LinearSleepTolerance: 0.01
20 | m_AngularSleepTolerance: 2
21 | m_DefaultContactOffset: 0.01
22 | m_JobOptions:
23 | serializedVersion: 2
24 | useMultithreading: 0
25 | useConsistencySorting: 0
26 | m_InterpolationPosesPerJob: 100
27 | m_NewContactsPerJob: 30
28 | m_CollideContactsPerJob: 100
29 | m_ClearFlagsPerJob: 200
30 | m_ClearBodyForcesPerJob: 200
31 | m_SyncDiscreteFixturesPerJob: 50
32 | m_SyncContinuousFixturesPerJob: 50
33 | m_FindNearestContactsPerJob: 100
34 | m_UpdateTriggerContactsPerJob: 100
35 | m_IslandSolverCostThreshold: 100
36 | m_IslandSolverBodyCostScale: 1
37 | m_IslandSolverContactCostScale: 10
38 | m_IslandSolverJointCostScale: 10
39 | m_IslandSolverBodiesPerJob: 50
40 | m_IslandSolverContactsPerJob: 50
41 | m_SimulationMode: 0
42 | m_QueriesHitTriggers: 1
43 | m_QueriesStartInColliders: 1
44 | m_CallbacksOnDisable: 1
45 | m_ReuseCollisionCallbacks: 0
46 | m_AutoSyncTransforms: 0
47 | m_AlwaysShowColliders: 0
48 | m_ShowColliderSleep: 1
49 | m_ShowColliderContacts: 0
50 | m_ShowColliderAABB: 0
51 | m_ContactArrowScale: 0.2
52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
57 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/PresetManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1386491679 &1
4 | PresetManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_DefaultPresets: {}
8 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 2021.3.19f1
2 | m_EditorVersionWithRevision: 2021.3.19f1 (c9714fde33b6)
3 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!78 &1
4 | TagManager:
5 | serializedVersion: 2
6 | tags: []
7 | layers:
8 | - Default
9 | - TransparentFX
10 | - Ignore Raycast
11 | -
12 | - Water
13 | - UI
14 | -
15 | -
16 | -
17 | -
18 | -
19 | -
20 | -
21 | -
22 | -
23 | -
24 | -
25 | -
26 | -
27 | -
28 | -
29 | -
30 | -
31 | -
32 | -
33 | -
34 | -
35 | -
36 | -
37 | -
38 | -
39 | -
40 | m_SortingLayers:
41 | - name: Default
42 | uniqueID: 0
43 | locked: 0
44 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!5 &1
4 | TimeManager:
5 | m_ObjectHideFlags: 0
6 | Fixed Timestep: 0.02
7 | Maximum Allowed Timestep: 0.33333334
8 | m_TimeScale: 1
9 | Maximum Particle Timestep: 0.03
10 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/UnityConnectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!310 &1
4 | UnityConnectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 1
7 | m_Enabled: 0
8 | m_TestMode: 0
9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com
12 | m_DashboardUrl: https://dashboard.unity3d.com
13 | m_TestInitMode: 0
14 | CrashReportingSettings:
15 | m_EventUrl: https://perf-events.cloud.unity3d.com
16 | m_Enabled: 0
17 | m_LogBufferSize: 10
18 | m_CaptureEditorExceptions: 1
19 | UnityPurchasingSettings:
20 | m_Enabled: 0
21 | m_TestMode: 0
22 | UnityAnalyticsSettings:
23 | m_Enabled: 0
24 | m_TestMode: 0
25 | m_InitializeOnStartup: 1
26 | m_PackageRequiringCoreStatsPresent: 0
27 | UnityAdsSettings:
28 | m_Enabled: 0
29 | m_InitializeOnStartup: 1
30 | m_TestMode: 0
31 | m_IosGameId:
32 | m_AndroidGameId:
33 | m_GameIds: {}
34 | m_GameId:
35 | PerformanceReportingSettings:
36 | m_Enabled: 0
37 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/VFXManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!937362698 &1
4 | VFXManager:
5 | m_ObjectHideFlags: 0
6 | m_IndirectShader: {fileID: 0}
7 | m_CopyBufferShader: {fileID: 0}
8 | m_SortShader: {fileID: 0}
9 | m_StripUpdateShader: {fileID: 0}
10 | m_RenderPipeSettingsPath:
11 | m_FixedTimeStep: 0.016666668
12 | m_MaxDeltaTime: 0.05
13 | m_CompiledVersion: 0
14 | m_RuntimeVersion: 0
15 | m_RuntimeResources: {fileID: 0}
16 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/VersionControlSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!890905787 &1
4 | VersionControlSettings:
5 | m_ObjectHideFlags: 0
6 | m_Mode: Visible Meta Files
7 | m_CollabEditorSettings:
8 | inProgressEnabled: 1
9 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/ProjectSettings/graphicssettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!30 &1
4 | GraphicsSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 14
7 | m_Deferred:
8 | m_Mode: 1
9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
10 | m_DeferredReflections:
11 | m_Mode: 1
12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0}
13 | m_ScreenSpaceShadows:
14 | m_Mode: 1
15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
16 | m_LegacyDeferred:
17 | m_Mode: 1
18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
19 | m_DepthNormals:
20 | m_Mode: 1
21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0}
22 | m_MotionVectors:
23 | m_Mode: 1
24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0}
25 | m_LightHalo:
26 | m_Mode: 1
27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0}
28 | m_LensFlare:
29 | m_Mode: 1
30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
31 | m_VideoShadersIncludeMode: 2
32 | m_AlwaysIncludedShaders:
33 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
34 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0}
35 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0}
36 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0}
37 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
38 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
39 | - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
40 | m_PreloadedShaders: []
41 | m_PreloadShadersBatchTimeLimit: -1
42 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
43 | type: 0}
44 | m_CustomRenderPipeline: {fileID: 0}
45 | m_TransparencySortMode: 0
46 | m_TransparencySortAxis: {x: 0, y: 0, z: 1}
47 | m_DefaultRenderingPath: 1
48 | m_DefaultMobileRenderingPath: 1
49 | m_TierSettings: []
50 | m_LightmapStripping: 0
51 | m_FogStripping: 0
52 | m_InstancingStripping: 0
53 | m_LightmapKeepPlain: 1
54 | m_LightmapKeepDirCombined: 1
55 | m_LightmapKeepDynamicPlain: 1
56 | m_LightmapKeepDynamicDirCombined: 1
57 | m_LightmapKeepShadowMask: 1
58 | m_LightmapKeepSubtractive: 1
59 | m_FogKeepLinear: 1
60 | m_FogKeepExp: 1
61 | m_FogKeepExp2: 1
62 | m_AlbedoSwatchInfos: []
63 | m_LightsUseLinearIntensity: 0
64 | m_LightsUseColorTemperature: 0
65 | m_DefaultRenderingLayerMask: 1
66 | m_LogWhenShaderIsCompiled: 0
67 | m_SRPDefaultSettings: {}
68 | m_CameraRelativeLightCulling: 0
69 | m_CameraRelativeShadowCulling: 0
70 |
--------------------------------------------------------------------------------
/Outline.PostProcessing/UserSettings/EditorUserSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!162 &1
4 | EditorUserSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 4
7 | m_ConfigSettings:
8 | RecentlyUsedSceneGuid-0:
9 | value: 5755065700000b5f55085f7144220f4446164d2e287e22317e7c4d66b6e4326c
10 | flags: 0
11 | vcSharedLogLevel:
12 | value: 0d5e400f0650
13 | flags: 0
14 | m_VCAutomaticAdd: 1
15 | m_VCDebugCom: 0
16 | m_VCDebugCmd: 0
17 | m_VCDebugOut: 0
18 | m_SemanticMergeMode: 2
19 | m_DesiredImportWorkerCount: 3
20 | m_StandbyImportWorkerCount: 2
21 | m_IdleImportWorkerShutdownDelay: 60000
22 | m_VCShowFailedCheckout: 1
23 | m_VCOverwriteFailedCheckoutAssets: 1
24 | m_VCProjectOverlayIcons: 1
25 | m_VCHierarchyOverlayIcons: 1
26 | m_VCOtherOverlayIcons: 1
27 | m_VCAllowAsyncUpdate: 1
28 | m_ArtifactGarbageCollection: 1
29 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/Example.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: ea27ed3498ff43e40aab89c627664573
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/Example/OutlineLayerCollection.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 57d0c11168277cf4eb3b4b89706e6aa5, type: 3}
13 | m_Name: OutlineLayerCollection
14 | m_EditorClassIdentifier:
15 | _layers:
16 | - _settings:
17 | _outlineSettings: {fileID: 0}
18 | _outlineColor: {r: 1, g: 0, b: 0, a: 1}
19 | _outlineWidth: 25
20 | _outlineIntensity: 2
21 | _outlineAlphaCutoff: 0.9
22 | _outlineMode: 1
23 | _name:
24 | _enabled: 1
25 | - _settings:
26 | _outlineSettings: {fileID: 0}
27 | _outlineColor: {r: 0, g: 1, b: 0.060156345, a: 1}
28 | _outlineWidth: 16
29 | _outlineIntensity: 2
30 | _outlineAlphaCutoff: 0.9
31 | _outlineMode: 1
32 | _name:
33 | _enabled: 1
34 | _layerMask: 2
35 | _mergeLayerObjects: 0
36 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/Example/OutlineLayerCollection.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 059d229f23209a74687769672d1084b8
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/Example/TestImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Arvtesh/UnityFx.Outline/8d246c734e0c7ad687c0f44952862a28431fe3e7/Outline.URP/Assets/Example/TestImage.png
--------------------------------------------------------------------------------
/Outline.URP/Assets/Example/TestScene.unity.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: de30e76e0b738334f8e043d91d10419d
3 | DefaultImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/URP.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 10050ed397807bc4289f21067a025607
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/URP/UniversalRenderPipelineAsset.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: bf2edee5c58d82540a51f03df9d42094, type: 3}
13 | m_Name: UniversalRenderPipelineAsset
14 | m_EditorClassIdentifier:
15 | k_AssetVersion: 9
16 | k_AssetPreviousVersion: 9
17 | m_RendererType: 1
18 | m_RendererData: {fileID: 0}
19 | m_RendererDataList:
20 | - {fileID: 11400000, guid: f1ccc14d55573e14f80806280c11d740, type: 2}
21 | m_DefaultRendererIndex: 0
22 | m_RequireDepthTexture: 1
23 | m_RequireOpaqueTexture: 0
24 | m_OpaqueDownsampling: 1
25 | m_SupportsTerrainHoles: 0
26 | m_StoreActionsOptimization: 0
27 | m_SupportsHDR: 0
28 | m_MSAA: 1
29 | m_RenderScale: 1
30 | m_UpscalingFilter: 0
31 | m_FsrOverrideSharpness: 0
32 | m_FsrSharpness: 0.92
33 | m_MainLightRenderingMode: 1
34 | m_MainLightShadowsSupported: 1
35 | m_MainLightShadowmapResolution: 2048
36 | m_AdditionalLightsRenderingMode: 1
37 | m_AdditionalLightsPerObjectLimit: 4
38 | m_AdditionalLightShadowsSupported: 0
39 | m_AdditionalLightsShadowmapResolution: 512
40 | m_AdditionalLightsShadowResolutionTierLow: 128
41 | m_AdditionalLightsShadowResolutionTierMedium: 256
42 | m_AdditionalLightsShadowResolutionTierHigh: 512
43 | m_ReflectionProbeBlending: 0
44 | m_ReflectionProbeBoxProjection: 0
45 | m_ShadowDistance: 50
46 | m_ShadowCascadeCount: 1
47 | m_Cascade2Split: 0.25
48 | m_Cascade3Split: {x: 0.1, y: 0.3}
49 | m_Cascade4Split: {x: 0.067, y: 0.2, z: 0.467}
50 | m_CascadeBorder: 0.1
51 | m_ShadowDepthBias: 1
52 | m_ShadowNormalBias: 1
53 | m_AnyShadowsSupported: 1
54 | m_SoftShadowsSupported: 0
55 | m_ConservativeEnclosingSphere: 0
56 | m_NumIterationsEnclosingSphere: 64
57 | m_AdditionalLightsCookieResolution: 2048
58 | m_AdditionalLightsCookieFormat: 3
59 | m_UseSRPBatcher: 1
60 | m_SupportsDynamicBatching: 0
61 | m_MixedLightingSupported: 1
62 | m_SupportsLightLayers: 0
63 | m_DebugLevel: 0
64 | m_UseAdaptivePerformance: 1
65 | m_ColorGradingMode: 0
66 | m_ColorGradingLutSize: 32
67 | m_UseFastSRGBLinearConversion: 0
68 | m_ShadowType: 1
69 | m_LocalShadowsSupported: 0
70 | m_LocalShadowsAtlasResolution: 256
71 | m_MaxPixelLights: 0
72 | m_ShadowAtlasResolution: 256
73 | m_ShaderVariantLogLevel: 0
74 | m_VolumeFrameworkUpdateMode: 0
75 | m_ShadowCascades: 0
76 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/URP/UniversalRenderPipelineAsset.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3d47f01a90fe56d43b0cfac27039c94c
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/URP/UniversalRenderPipelineAsset_Renderer.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: f1ccc14d55573e14f80806280c11d740
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/UniversalRenderPipelineGlobalSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 2ec995e51a6e251468d2a3fd8a686257, type: 3}
13 | m_Name: UniversalRenderPipelineGlobalSettings
14 | m_EditorClassIdentifier:
15 | k_AssetVersion: 2
16 | lightLayerName0: Light Layer default
17 | lightLayerName1: Light Layer 1
18 | lightLayerName2: Light Layer 2
19 | lightLayerName3: Light Layer 3
20 | lightLayerName4: Light Layer 4
21 | lightLayerName5: Light Layer 5
22 | lightLayerName6: Light Layer 6
23 | lightLayerName7: Light Layer 7
24 | m_StripDebugVariants: 1
25 | m_StripUnusedPostProcessingVariants: 0
26 | m_StripUnusedVariants: 1
27 | supportRuntimeDebugDisplay: 0
28 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/UniversalRenderPipelineGlobalSettings.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: af1564b9756a546769f04b22857e0e90
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 11400000
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/XR.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 781de6db0bab45440927a6ee375e1f4d
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/XR/Loaders.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d639b41f55f4dca479b013c086776a76
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/XR/Loaders/Mock HMD Loader.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 0660e8fc444734757ae6f6c40c2d33a0, type: 3}
13 | m_Name: Mock HMD Loader
14 | m_EditorClassIdentifier:
15 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/XR/Loaders/Mock HMD Loader.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: b47a0f7b0527ae44db15a0764dff21b2
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/XR/Settings.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d8c6947503a4eb64ea86e3f9ccb51ee9
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/XR/Settings/Mock HMD Build Settings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: c8bf066bf8a4947a1be502d267edb82f, type: 3}
13 | m_Name: Mock HMD Build Settings
14 | m_EditorClassIdentifier:
15 | renderMode: 1
16 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/XR/Settings/Mock HMD Build Settings.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 9f4f6d6934c0789498be8661b6841eb3
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/XR/XRGeneralSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &-1144483682558570013
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: f4c3631f5e58749a59194e0cf6baf6d5, type: 3}
13 | m_Name: Standalone Providers
14 | m_EditorClassIdentifier:
15 | m_RequiresSettingsUpdate: 0
16 | m_AutomaticLoading: 0
17 | m_AutomaticRunning: 0
18 | m_Loaders:
19 | - {fileID: 11400000, guid: b47a0f7b0527ae44db15a0764dff21b2, type: 2}
20 | --- !u!114 &11400000
21 | MonoBehaviour:
22 | m_ObjectHideFlags: 0
23 | m_CorrespondingSourceObject: {fileID: 0}
24 | m_PrefabInstance: {fileID: 0}
25 | m_PrefabAsset: {fileID: 0}
26 | m_GameObject: {fileID: 0}
27 | m_Enabled: 1
28 | m_EditorHideFlags: 0
29 | m_Script: {fileID: 11500000, guid: d2dc886499c26824283350fa532d087d, type: 3}
30 | m_Name: XRGeneralSettings
31 | m_EditorClassIdentifier:
32 | Keys: 01000000
33 | Values:
34 | - {fileID: 4691281026663128798}
35 | --- !u!114 &4691281026663128798
36 | MonoBehaviour:
37 | m_ObjectHideFlags: 0
38 | m_CorrespondingSourceObject: {fileID: 0}
39 | m_PrefabInstance: {fileID: 0}
40 | m_PrefabAsset: {fileID: 0}
41 | m_GameObject: {fileID: 0}
42 | m_Enabled: 1
43 | m_EditorHideFlags: 0
44 | m_Script: {fileID: 11500000, guid: d236b7d11115f2143951f1e14045df39, type: 3}
45 | m_Name: Standalone Settings
46 | m_EditorClassIdentifier:
47 | m_LoaderManagerInstance: {fileID: -1144483682558570013}
48 | m_InitManagerOnStart: 1
49 |
--------------------------------------------------------------------------------
/Outline.URP/Assets/XR/XRGeneralSettings.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: eda8954ba10e80042a18b4c29190bbd4
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # UnityFx.Outline.URP changelog
2 | All notable changes to this project will be documented in this file.
3 |
4 | The format is based on [Keep a Changelog](http://keepachangelog.com/); this project adheres to [Semantic Versioning](http://semver.org/).
5 |
6 | ## [0.5.0] - 2021.11.18
7 |
8 | Bugfixes and improvements.
9 |
10 | ### Added
11 | - Added support for HDR color pickers ([#42](https://github.com/Arvtesh/UnityFx.Outline/issues/42)).
12 |
13 | ### Fixed
14 | - Fixed URP depth testing with MSAA enabled when using `OutlineLayerCollection`, thanks @AGM-GR for the help ([#39](https://github.com/Arvtesh/UnityFx.Outline/issues/39)).
15 | - Added loop unroll statement to make shaders compatible with some platforms (WebGL 1.0) ([#45](https://github.com/Arvtesh/UnityFx.Outline/issues/45)).
16 | - Removed `BeginSample`/`EndSample` profiler calls when rendering outlines to get rid of the editor errors ([#44](https://github.com/Arvtesh/UnityFx.Outline/issues/44)).
17 |
18 | ## [0.4.0] - 2021.08.17
19 | Misc improvements.
20 |
21 | ### Added
22 | - Added support for URP sprite outlines ([#28](https://github.com/Arvtesh/UnityFx.Outline/issues/28)).
23 |
24 | ## [0.3.0] - 2021.01.25
25 |
26 | Misc improvements and bugfixes.
27 |
28 | ### Added
29 | - Added possibility to set custom shader tags for URP outlines.
30 | - Added support for filtering URP outline renderers by [rendering layer mask](https://docs.unity3d.com/ScriptReference/Renderer-renderingLayerMask.html) ([#22](https://github.com/Arvtesh/UnityFx.Outline/issues/22)).
31 |
32 | ### Fixed
33 | - Fixed URP outlines rendering issue when both depth-testing and MSAA are enabled ([#23](https://github.com/Arvtesh/UnityFx.Outline/issues/23)).
34 |
35 | ## [0.2.0] - 2020.11.10
36 |
37 | ### Added
38 | - Added URP-specific shader versions.
39 | - Added URP layer-based outline rendering ([#9](https://github.com/Arvtesh/UnityFx.Outline/issues/9)).
40 | - Added support for URP Single Pass Instanced XR rendering ([#13](https://github.com/Arvtesh/UnityFx.Outline/issues/13)).
41 |
42 | ### Fixed
43 | - Fixed URP outlines rendering issue in Unity 2020.2 ([#21](https://github.com/Arvtesh/UnityFx.Outline/issues/21)).
44 |
45 | ## [0.1.0] - 2020.05.30
46 |
47 | ### Added
48 | - Initial release.
49 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/CHANGELOG.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: d2731cfdae865ee439fd0fef782fa994
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/README.md:
--------------------------------------------------------------------------------
1 | # UnityFx.Outline.URP
2 |
3 | ## SUMMARY
4 | Screen-space outline effects for URP.
5 |
6 | ## USEFUL LINKS
7 | * [Github project](https://github.com/Arvtesh/UnityFx.Outline)
8 | * [npm package](https://www.npmjs.com/package/com.unityfx.outline.urp)
9 | * [Documentation](https://github.com/Arvtesh/UnityFx.Outline/blob/master/README.md)
10 | * [License](https://github.com/Arvtesh/UnityFx.Outline/blob/master/LICENSE.md)
11 | * [Support](mailto:arvtesh@gmail.com)
12 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/README.md.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 3db1fff9dd9ae804888eebc4382e1fb8
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 58d8c6c8330ffc042ade41ba15f8da23
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/Prefabs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 66d913784d1955a4fbf8279b0a0f5d7b
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/Prefabs/OutlineResources.URP.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &11400000
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 0
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: b503341e0a514e3489c4851727e68257, type: 3}
13 | m_Name: OutlineResources.URP
14 | m_EditorClassIdentifier:
15 | _renderShader: {fileID: 4800000, guid: 2140fc327e711b549bc9fe301e6f4621, type: 3}
16 | _outlineShader: {fileID: 4800000, guid: da6518c999b52e743bff80732b460ff4, type: 3}
17 | _enableInstancing: 0
18 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/Prefabs/OutlineResources.URP.asset.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 231d88937a104094b8e4e0fdb8d2e77b
3 | NativeFormatImporter:
4 | externalObjects: {}
5 | mainObjectFileID: 0
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/Scripts.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 85518f862b075044bbd76d57354f8f3e
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/Scripts/OutlineFeature.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: dd37d03d18ee9584d881763c34816b35
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences:
7 | - _outlineResources: {fileID: 11400000, guid: 231d88937a104094b8e4e0fdb8d2e77b,
8 | type: 2}
9 | - _outlineLayers: {instanceID: 0}
10 | executionOrder: 0
11 | icon: {instanceID: 0}
12 | userData:
13 | assetBundleName:
14 | assetBundleVariant:
15 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/Scripts/OutlinePass.cs.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 7fda4bd4356b87c4a93e27fbc5390d5f
3 | MonoImporter:
4 | externalObjects: {}
5 | serializedVersion: 2
6 | defaultReferences: []
7 | executionOrder: 0
8 | icon: {instanceID: 0}
9 | userData:
10 | assetBundleName:
11 | assetBundleVariant:
12 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/Shaders.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 5e29d2be8edefda438a2865a7030dad6
3 | folderAsset: yes
4 | DefaultImporter:
5 | externalObjects: {}
6 | userData:
7 | assetBundleName:
8 | assetBundleVariant:
9 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/Shaders/Outline.URP.shader.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: da6518c999b52e743bff80732b460ff4
3 | ShaderImporter:
4 | externalObjects: {}
5 | defaultTextures: []
6 | nonModifiableTextures: []
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/Shaders/OutlineColor.URP.shader:
--------------------------------------------------------------------------------
1 | // Copyright (C) 2019-2021 Alexander Bogarsukov. All rights reserved.
2 | // See the LICENSE.md file in the project root for more information.
3 |
4 | // Renders everything with while color.
5 | // Modified version of 'Custom/DrawSimple' shader taken from https://willweissman.wordpress.com/tutorials/shaders/unity-shaderlab-object-outlines/.
6 | Shader "Hidden/UnityFx/OutlineColor.URP"
7 | {
8 | HLSLINCLUDE
9 |
10 | #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl"
11 | #include "Packages/com.unity.render-pipelines.universal/Shaders/PostProcessing/Common.hlsl"
12 |
13 | TEXTURE2D(_MainTex);
14 | SAMPLER(sampler_MainTex);
15 |
16 | half _Cutoff;
17 |
18 | half4 FragmentSimple(Varyings input) : SV_Target
19 | {
20 | return 1;
21 | }
22 |
23 | half4 FragmentAlphaTest(Varyings input) : SV_Target
24 | {
25 | half4 c = SAMPLE_TEXTURE2D(_MainTex, sampler_MainTex, input.uv);
26 | clip(c.a - _Cutoff);
27 | return 1;
28 | }
29 |
30 | ENDHLSL
31 |
32 | SubShader
33 | {
34 | Tags { "RenderPipeline" = "UniversalPipeline" }
35 |
36 | Cull Off
37 | ZWrite Off
38 | ZTest LEqual
39 | Lighting Off
40 |
41 | Pass
42 | {
43 | Name "Opaque"
44 |
45 | HLSLPROGRAM
46 |
47 | #pragma multi_compile_instancing
48 | #pragma vertex Vert
49 | #pragma fragment FragmentSimple
50 |
51 | ENDHLSL
52 | }
53 |
54 | Pass
55 | {
56 | Name "Transparent"
57 |
58 | HLSLPROGRAM
59 |
60 | #pragma multi_compile_instancing
61 | #pragma vertex Vert
62 | #pragma fragment FragmentAlphaTest
63 |
64 | ENDHLSL
65 | }
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/Shaders/OutlineColor.URP.shader.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 2140fc327e711b549bc9fe301e6f4621
3 | ShaderImporter:
4 | externalObjects: {}
5 | defaultTextures: []
6 | nonModifiableTextures: []
7 | userData:
8 | assetBundleName:
9 | assetBundleVariant:
10 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/UnityFx.Outline.URP.asmdef:
--------------------------------------------------------------------------------
1 | {
2 | "name": "UnityFx.Outline.URP",
3 | "references": [
4 | "Unity.RenderPipelines.Core.Runtime",
5 | "Unity.RenderPipelines.Universal.Runtime",
6 | "UnityFx.Outline"
7 | ],
8 | "includePlatforms": [],
9 | "excludePlatforms": [],
10 | "allowUnsafeCode": false,
11 | "overrideReferences": false,
12 | "precompiledReferences": [],
13 | "autoReferenced": true,
14 | "defineConstraints": [],
15 | "versionDefines": [],
16 | "noEngineReferences": false
17 | }
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/Runtime/UnityFx.Outline.URP.asmdef.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 8130e23c3199afb43ae1c34b3e328d00
3 | AssemblyDefinitionImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "com.unityfx.outline.urp",
3 | "version": "0.5.0",
4 | "displayName": "Outline toolkit (URP)",
5 | "description": "This package contains configurable outline implementation for Universal Render Pipeline.",
6 | "unity": "2019.4",
7 | "dependencies": {
8 | "com.unityfx.outline": "0.8.5",
9 | "com.unity.render-pipelines.universal": "7.0.0"
10 | },
11 | "keywords": [
12 | "UnityFx",
13 | "UnityFx.Outline",
14 | "UnityFx.Outline.URP",
15 | "Outline",
16 | "URP"
17 | ],
18 | "category": "UnityFx",
19 | "author": {
20 | "name": "Arvtesh",
21 | "email": "arvtesh@gmail.com"
22 | },
23 | "license": "MIT",
24 | "homepage": "https://github.com/Arvtesh/UnityFx.Outline",
25 | "repository": {
26 | "type": "git",
27 | "url": "https://github.com/Arvtesh/UnityFx.Outline.git"
28 | },
29 | "bugs": {
30 | "url": "https://github.com/Arvtesh/UnityFx.Outline/issues"
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/UnityFx.Outline.URP/package.json.meta:
--------------------------------------------------------------------------------
1 | fileFormatVersion: 2
2 | guid: 761dcd9f6f741bd4b9a86aa1fc1f11b7
3 | TextScriptImporter:
4 | externalObjects: {}
5 | userData:
6 | assetBundleName:
7 | assetBundleVariant:
8 |
--------------------------------------------------------------------------------
/Outline.URP/Packages/manifest.json:
--------------------------------------------------------------------------------
1 | {
2 | "dependencies": {
3 | "com.unity.ide.visualstudio": "2.0.17",
4 | "com.unity.render-pipelines.universal": "12.1.10",
5 | "com.unity.xr.management": "4.2.0",
6 | "com.unity.xr.mock-hmd": "1.2.0-preview.1",
7 | "com.unityfx.outline": "file:../../Outline.Core/Packages/UnityFx.Outline",
8 | "com.unity.modules.ai": "1.0.0",
9 | "com.unity.modules.androidjni": "1.0.0",
10 | "com.unity.modules.animation": "1.0.0",
11 | "com.unity.modules.assetbundle": "1.0.0",
12 | "com.unity.modules.audio": "1.0.0",
13 | "com.unity.modules.cloth": "1.0.0",
14 | "com.unity.modules.director": "1.0.0",
15 | "com.unity.modules.imageconversion": "1.0.0",
16 | "com.unity.modules.imgui": "1.0.0",
17 | "com.unity.modules.jsonserialize": "1.0.0",
18 | "com.unity.modules.particlesystem": "1.0.0",
19 | "com.unity.modules.physics": "1.0.0",
20 | "com.unity.modules.physics2d": "1.0.0",
21 | "com.unity.modules.screencapture": "1.0.0",
22 | "com.unity.modules.terrain": "1.0.0",
23 | "com.unity.modules.terrainphysics": "1.0.0",
24 | "com.unity.modules.tilemap": "1.0.0",
25 | "com.unity.modules.ui": "1.0.0",
26 | "com.unity.modules.uielements": "1.0.0",
27 | "com.unity.modules.umbra": "1.0.0",
28 | "com.unity.modules.unityanalytics": "1.0.0",
29 | "com.unity.modules.unitywebrequest": "1.0.0",
30 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0",
31 | "com.unity.modules.unitywebrequestaudio": "1.0.0",
32 | "com.unity.modules.unitywebrequesttexture": "1.0.0",
33 | "com.unity.modules.unitywebrequestwww": "1.0.0",
34 | "com.unity.modules.vehicles": "1.0.0",
35 | "com.unity.modules.video": "1.0.0",
36 | "com.unity.modules.vr": "1.0.0",
37 | "com.unity.modules.wind": "1.0.0",
38 | "com.unity.modules.xr": "1.0.0"
39 | }
40 | }
41 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/AudioManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!11 &1
4 | AudioManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Volume: 1
8 | Rolloff Scale: 1
9 | Doppler Factor: 1
10 | Default Speaker Mode: 2
11 | m_SampleRate: 0
12 | m_DSPBufferSize: 1024
13 | m_VirtualVoiceCount: 512
14 | m_RealVoiceCount: 32
15 | m_SpatializerPlugin:
16 | m_AmbisonicDecoderPlugin:
17 | m_DisableAudio: 0
18 | m_VirtualizeEffects: 1
19 | m_RequestedDSPBufferSize: 0
20 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/ClusterInputManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!236 &1
4 | ClusterInputManager:
5 | m_ObjectHideFlags: 0
6 | m_Inputs: []
7 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/DynamicsManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!55 &1
4 | PhysicsManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 13
7 | m_Gravity: {x: 0, y: -9.81, z: 0}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_BounceThreshold: 2
10 | m_SleepThreshold: 0.005
11 | m_DefaultContactOffset: 0.01
12 | m_DefaultSolverIterations: 6
13 | m_DefaultSolverVelocityIterations: 1
14 | m_QueriesHitBackfaces: 0
15 | m_QueriesHitTriggers: 1
16 | m_EnableAdaptiveForce: 0
17 | m_ClothInterCollisionDistance: 0.1
18 | m_ClothInterCollisionStiffness: 0.2
19 | m_ContactsGeneration: 1
20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
21 | m_AutoSimulation: 1
22 | m_AutoSyncTransforms: 0
23 | m_ReuseCollisionCallbacks: 0
24 | m_ClothInterCollisionSettingsToggle: 0
25 | m_ClothGravity: {x: 0, y: -9.81, z: 0}
26 | m_ContactPairsMode: 0
27 | m_BroadphaseType: 0
28 | m_WorldBounds:
29 | m_Center: {x: 0, y: 0, z: 0}
30 | m_Extent: {x: 250, y: 250, z: 250}
31 | m_WorldSubdivisions: 8
32 | m_FrictionType: 0
33 | m_EnableEnhancedDeterminism: 0
34 | m_EnableUnifiedHeightmaps: 1
35 | m_SolverType: 0
36 | m_DefaultMaxAngularSpeed: 50
37 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/EditorBuildSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1045 &1
4 | EditorBuildSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_Scenes: []
8 | m_configObjects:
9 | com.unity.xr.management.loader_settings: {fileID: 11400000, guid: eda8954ba10e80042a18b4c29190bbd4,
10 | type: 2}
11 | xr.sdk.mock-hmd.settings: {fileID: 11400000, guid: 9f4f6d6934c0789498be8661b6841eb3,
12 | type: 2}
13 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/EditorSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!159 &1
4 | EditorSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 9
7 | m_ExternalVersionControlSupport: Visible Meta Files
8 | m_SerializationMode: 2
9 | m_LineEndingsForNewScripts: 2
10 | m_DefaultBehaviorMode: 0
11 | m_PrefabRegularEnvironment: {fileID: 0}
12 | m_PrefabUIEnvironment: {fileID: 0}
13 | m_SpritePackerMode: 0
14 | m_SpritePackerPaddingPower: 1
15 | m_EtcTextureCompressorBehavior: 1
16 | m_EtcTextureFastCompressor: 1
17 | m_EtcTextureNormalCompressor: 2
18 | m_EtcTextureBestCompressor: 4
19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref;rsp
20 | m_ProjectGenerationRootNamespace:
21 | m_CollabEditorSettings:
22 | inProgressEnabled: 1
23 | m_EnableTextureStreamingInEditMode: 1
24 | m_EnableTextureStreamingInPlayMode: 1
25 | m_AsyncShaderCompilation: 1
26 | m_EnterPlayModeOptionsEnabled: 0
27 | m_EnterPlayModeOptions: 3
28 | m_ShowLightmapResolutionOverlay: 1
29 | m_UseLegacyProbeSampleCount: 0
30 | m_AssetPipelineMode: 1
31 | m_CacheServerMode: 0
32 | m_CacheServerEndpoint:
33 | m_CacheServerNamespacePrefix: default
34 | m_CacheServerEnableDownload: 1
35 | m_CacheServerEnableUpload: 1
36 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/HDRPProjectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 63a2978a97e4fc04cb9d905947216f3d, type: 3}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | version: 1
16 | m_DefaultScenePrefabSaved: {fileID: 0}
17 | m_DefaultDXRScenePrefabSaved: {fileID: 0}
18 | m_ProjectSettingFolderPath: HDRPDefaultResources
19 | m_WizardPopupAtStart: 0
20 | m_WizardActiveTab: 0
21 | m_PackageVersionForMaterials: 7.1.8
22 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/MemorySettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!387306366 &1
4 | MemorySettings:
5 | m_ObjectHideFlags: 0
6 | m_EditorMemorySettings:
7 | m_MainAllocatorBlockSize: -1
8 | m_ThreadAllocatorBlockSize: -1
9 | m_MainGfxBlockSize: -1
10 | m_ThreadGfxBlockSize: -1
11 | m_CacheBlockSize: -1
12 | m_TypetreeBlockSize: -1
13 | m_ProfilerBlockSize: -1
14 | m_ProfilerEditorBlockSize: -1
15 | m_BucketAllocatorGranularity: -1
16 | m_BucketAllocatorBucketsCount: -1
17 | m_BucketAllocatorBlockSize: -1
18 | m_BucketAllocatorBlockCount: -1
19 | m_ProfilerBucketAllocatorGranularity: -1
20 | m_ProfilerBucketAllocatorBucketsCount: -1
21 | m_ProfilerBucketAllocatorBlockSize: -1
22 | m_ProfilerBucketAllocatorBlockCount: -1
23 | m_TempAllocatorSizeMain: -1
24 | m_JobTempAllocatorBlockSize: -1
25 | m_BackgroundJobTempAllocatorBlockSize: -1
26 | m_JobTempAllocatorReducedBlockSize: -1
27 | m_TempAllocatorSizeGIBakingWorker: -1
28 | m_TempAllocatorSizeNavMeshWorker: -1
29 | m_TempAllocatorSizeAudioWorker: -1
30 | m_TempAllocatorSizeCloudWorker: -1
31 | m_TempAllocatorSizeGfx: -1
32 | m_TempAllocatorSizeJobWorker: -1
33 | m_TempAllocatorSizeBackgroundWorker: -1
34 | m_TempAllocatorSizePreloadManager: -1
35 | m_PlatformMemorySettings: {}
36 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/NavMeshAreas.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!126 &1
4 | NavMeshProjectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | areas:
8 | - name: Walkable
9 | cost: 1
10 | - name: Not Walkable
11 | cost: 1
12 | - name: Jump
13 | cost: 2
14 | - name:
15 | cost: 1
16 | - name:
17 | cost: 1
18 | - name:
19 | cost: 1
20 | - name:
21 | cost: 1
22 | - name:
23 | cost: 1
24 | - name:
25 | cost: 1
26 | - name:
27 | cost: 1
28 | - name:
29 | cost: 1
30 | - name:
31 | cost: 1
32 | - name:
33 | cost: 1
34 | - name:
35 | cost: 1
36 | - name:
37 | cost: 1
38 | - name:
39 | cost: 1
40 | - name:
41 | cost: 1
42 | - name:
43 | cost: 1
44 | - name:
45 | cost: 1
46 | - name:
47 | cost: 1
48 | - name:
49 | cost: 1
50 | - name:
51 | cost: 1
52 | - name:
53 | cost: 1
54 | - name:
55 | cost: 1
56 | - name:
57 | cost: 1
58 | - name:
59 | cost: 1
60 | - name:
61 | cost: 1
62 | - name:
63 | cost: 1
64 | - name:
65 | cost: 1
66 | - name:
67 | cost: 1
68 | - name:
69 | cost: 1
70 | - name:
71 | cost: 1
72 | m_LastAgentTypeID: -887442657
73 | m_Settings:
74 | - serializedVersion: 2
75 | agentTypeID: 0
76 | agentRadius: 0.5
77 | agentHeight: 2
78 | agentSlope: 45
79 | agentClimb: 0.75
80 | ledgeDropHeight: 0
81 | maxJumpAcrossDistance: 0
82 | minRegionArea: 2
83 | manualCellSize: 0
84 | cellSize: 0.16666667
85 | manualTileSize: 0
86 | tileSize: 256
87 | accuratePlacement: 0
88 | debug:
89 | m_Flags: 0
90 | m_SettingNames:
91 | - Humanoid
92 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/PackageManagerSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | m_EnablePreReleasePackages: 0
16 | m_EnablePackageDependencies: 0
17 | m_AdvancedSettingsExpanded: 1
18 | m_ScopedRegistriesSettingsExpanded: 1
19 | m_SeeAllPackageVersions: 0
20 | oneTimeWarningShown: 0
21 | m_Registries:
22 | - m_Id: main
23 | m_Name:
24 | m_Url: https://packages.unity.com
25 | m_Scopes: []
26 | m_IsDefault: 1
27 | m_Capabilities: 7
28 | m_ConfigSource: 0
29 | m_UserSelectedRegistryName:
30 | m_UserAddingNewScopedRegistry: 0
31 | m_RegistryInfoDraft:
32 | m_Modified: 0
33 | m_ErrorMessage:
34 | m_UserModificationsInstanceId: -854
35 | m_OriginalInstanceId: -856
36 | m_LoadAssets: 0
37 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/Physics2DSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!19 &1
4 | Physics2DSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 4
7 | m_Gravity: {x: 0, y: -9.81}
8 | m_DefaultMaterial: {fileID: 0}
9 | m_VelocityIterations: 8
10 | m_PositionIterations: 3
11 | m_VelocityThreshold: 1
12 | m_MaxLinearCorrection: 0.2
13 | m_MaxAngularCorrection: 8
14 | m_MaxTranslationSpeed: 100
15 | m_MaxRotationSpeed: 360
16 | m_BaumgarteScale: 0.2
17 | m_BaumgarteTimeOfImpactScale: 0.75
18 | m_TimeToSleep: 0.5
19 | m_LinearSleepTolerance: 0.01
20 | m_AngularSleepTolerance: 2
21 | m_DefaultContactOffset: 0.01
22 | m_JobOptions:
23 | serializedVersion: 2
24 | useMultithreading: 0
25 | useConsistencySorting: 0
26 | m_InterpolationPosesPerJob: 100
27 | m_NewContactsPerJob: 30
28 | m_CollideContactsPerJob: 100
29 | m_ClearFlagsPerJob: 200
30 | m_ClearBodyForcesPerJob: 200
31 | m_SyncDiscreteFixturesPerJob: 50
32 | m_SyncContinuousFixturesPerJob: 50
33 | m_FindNearestContactsPerJob: 100
34 | m_UpdateTriggerContactsPerJob: 100
35 | m_IslandSolverCostThreshold: 100
36 | m_IslandSolverBodyCostScale: 1
37 | m_IslandSolverContactCostScale: 10
38 | m_IslandSolverJointCostScale: 10
39 | m_IslandSolverBodiesPerJob: 50
40 | m_IslandSolverContactsPerJob: 50
41 | m_AutoSimulation: 1
42 | m_QueriesHitTriggers: 1
43 | m_QueriesStartInColliders: 1
44 | m_CallbacksOnDisable: 1
45 | m_ReuseCollisionCallbacks: 0
46 | m_AutoSyncTransforms: 0
47 | m_AlwaysShowColliders: 0
48 | m_ShowColliderSleep: 1
49 | m_ShowColliderContacts: 0
50 | m_ShowColliderAABB: 0
51 | m_ContactArrowScale: 0.2
52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412}
53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432}
54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745}
55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804}
56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
57 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/PresetManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!1386491679 &1
4 | PresetManager:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 2
7 | m_DefaultPresets: {}
8 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/ProjectVersion.txt:
--------------------------------------------------------------------------------
1 | m_EditorVersion: 2021.3.19f1
2 | m_EditorVersionWithRevision: 2021.3.19f1 (c9714fde33b6)
3 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/ShaderGraphSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: de02f9e1d18f588468e474319d09a723, type: 3}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | customInterpolatorErrorThreshold: 32
16 | customInterpolatorWarningThreshold: 16
17 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/TagManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!78 &1
4 | TagManager:
5 | serializedVersion: 2
6 | tags: []
7 | layers:
8 | - Default
9 | - TransparentFX
10 | - Ignore Raycast
11 | -
12 | - Water
13 | - UI
14 | -
15 | -
16 | - OutlineLayer
17 | - OutlineLayer2
18 | -
19 | -
20 | -
21 | -
22 | -
23 | -
24 | -
25 | -
26 | -
27 | -
28 | -
29 | -
30 | -
31 | -
32 | -
33 | -
34 | -
35 | -
36 | -
37 | -
38 | -
39 | -
40 | m_SortingLayers:
41 | - name: Default
42 | uniqueID: 0
43 | locked: 0
44 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/TimeManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!5 &1
4 | TimeManager:
5 | m_ObjectHideFlags: 0
6 | Fixed Timestep: 0.02
7 | Maximum Allowed Timestep: 0.33333334
8 | m_TimeScale: 1
9 | Maximum Particle Timestep: 0.03
10 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/URPProjectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!114 &1
4 | MonoBehaviour:
5 | m_ObjectHideFlags: 61
6 | m_CorrespondingSourceObject: {fileID: 0}
7 | m_PrefabInstance: {fileID: 0}
8 | m_PrefabAsset: {fileID: 0}
9 | m_GameObject: {fileID: 0}
10 | m_Enabled: 1
11 | m_EditorHideFlags: 0
12 | m_Script: {fileID: 11500000, guid: 247994e1f5a72c2419c26a37e9334c01, type: 3}
13 | m_Name:
14 | m_EditorClassIdentifier:
15 | m_LastMaterialVersion: 5
16 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/UnityConnectSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!310 &1
4 | UnityConnectSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 1
7 | m_Enabled: 0
8 | m_TestMode: 0
9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events
10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events
11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com
12 | m_TestInitMode: 0
13 | CrashReportingSettings:
14 | m_EventUrl: https://perf-events.cloud.unity3d.com
15 | m_Enabled: 0
16 | m_LogBufferSize: 10
17 | m_CaptureEditorExceptions: 1
18 | UnityPurchasingSettings:
19 | m_Enabled: 0
20 | m_TestMode: 0
21 | UnityAnalyticsSettings:
22 | m_Enabled: 0
23 | m_TestMode: 0
24 | m_InitializeOnStartup: 1
25 | UnityAdsSettings:
26 | m_Enabled: 0
27 | m_InitializeOnStartup: 1
28 | m_TestMode: 0
29 | m_IosGameId:
30 | m_AndroidGameId:
31 | m_GameIds: {}
32 | m_GameId:
33 | PerformanceReportingSettings:
34 | m_Enabled: 0
35 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/VFXManager.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!937362698 &1
4 | VFXManager:
5 | m_ObjectHideFlags: 0
6 | m_IndirectShader: {fileID: 0}
7 | m_CopyBufferShader: {fileID: 0}
8 | m_SortShader: {fileID: 0}
9 | m_StripUpdateShader: {fileID: 0}
10 | m_RenderPipeSettingsPath:
11 | m_FixedTimeStep: 0.016666668
12 | m_MaxDeltaTime: 0.05
13 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/VersionControlSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!890905787 &1
4 | VersionControlSettings:
5 | m_ObjectHideFlags: 0
6 | m_Mode: Visible Meta Files
7 | m_CollabEditorSettings:
8 | inProgressEnabled: 1
9 |
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/XRPackageSettings.asset:
--------------------------------------------------------------------------------
1 | {
2 | "m_Settings": [
3 | "RemoveLegacyInputHelpersForReload"
4 | ]
5 | }
--------------------------------------------------------------------------------
/Outline.URP/ProjectSettings/XRSettings.asset:
--------------------------------------------------------------------------------
1 | {
2 | "m_SettingKeys": [
3 | "VR Device Disabled",
4 | "VR Device User Alert"
5 | ],
6 | "m_SettingValues": [
7 | "False",
8 | "False"
9 | ]
10 | }
--------------------------------------------------------------------------------
/Outline.URP/UserSettings/EditorUserSettings.asset:
--------------------------------------------------------------------------------
1 | %YAML 1.1
2 | %TAG !u! tag:unity3d.com,2011:
3 | --- !u!162 &1
4 | EditorUserSettings:
5 | m_ObjectHideFlags: 0
6 | serializedVersion: 4
7 | m_ConfigSettings:
8 | RecentlyUsedSceneGuid-0:
9 | value: 0754075600025f5e5d0c5b7148700c44104f1d7a787b22697c2d4c63b6b16d3c
10 | flags: 0
11 | vcSharedLogLevel:
12 | value: 0d5e400f0650
13 | flags: 0
14 | m_VCAutomaticAdd: 1
15 | m_VCDebugCom: 0
16 | m_VCDebugCmd: 0
17 | m_VCDebugOut: 0
18 | m_SemanticMergeMode: 2
19 | m_DesiredImportWorkerCount: 3
20 | m_StandbyImportWorkerCount: 2
21 | m_IdleImportWorkerShutdownDelay: 60000
22 | m_VCShowFailedCheckout: 1
23 | m_VCOverwriteFailedCheckoutAssets: 1
24 | m_VCProjectOverlayIcons: 1
25 | m_VCHierarchyOverlayIcons: 1
26 | m_VCOtherOverlayIcons: 1
27 | m_VCAllowAsyncUpdate: 1
28 | m_ArtifactGarbageCollection: 1
29 |
--------------------------------------------------------------------------------