├── .gitattribute ├── ProjectSettings ├── ProjectVersion.txt ├── ClusterInputManager.asset ├── NetworkManager.asset ├── TimeManager.asset ├── EditorBuildSettings.asset ├── AudioManager.asset ├── EditorSettings.asset ├── TagManager.asset ├── DynamicsManager.asset ├── UnityConnectSettings.asset ├── QualitySettings.asset ├── Physics2DSettings.asset ├── NavMeshAreas.asset ├── GraphicsSettings.asset ├── InputManager.asset └── ProjectSettings.asset ├── .gitignore ├── Assets ├── ThreeDScans │ ├── DeChalon │ │ ├── DeChalon.fbx │ │ ├── DeChalon_normals.png │ │ ├── DeChalon_curvature.png │ │ ├── DeChalon_occlusion.png │ │ ├── Materials │ │ │ ├── DeChalon.mat.meta │ │ │ └── DeChalon.mat │ │ ├── Materials.meta │ │ ├── DeChalon_normals.png.meta │ │ ├── DeChalon_curvature.png.meta │ │ ├── DeChalon_occlusion.png.meta │ │ └── DeChalon.fbx.meta │ ├── Acknowledgement.txt.meta │ ├── DeChalon.meta │ └── Acknowledgement.txt ├── sIBL Archive │ ├── LA_Downtown_Helipad_GoldenHour_Env.hdr │ ├── Acknowledgement.txt.meta │ ├── Acknowledgement.txt │ └── LA_Downtown_Helipad_GoldenHour_Env.hdr.meta ├── Test.unity.meta ├── Kino.meta ├── Klak.meta ├── Editor.meta ├── Klak │ ├── Math.meta │ ├── Motion.meta │ ├── Motion │ │ ├── Editor.meta │ │ ├── BrownianMotion.cs.meta │ │ ├── ConstantMotion.cs.meta │ │ ├── Editor │ │ │ ├── BrownianMotionEditor.cs.meta │ │ │ ├── ConstantMotionEditor.cs.meta │ │ │ ├── ConstantMotionEditor.cs │ │ │ └── BrownianMotionEditor.cs │ │ ├── ConstantMotion.cs │ │ └── BrownianMotion.cs │ └── Math │ │ ├── Perlin.cs.meta │ │ └── Perlin.cs ├── Kino │ ├── Streak.meta │ └── Streak │ │ ├── Editor.meta │ │ ├── Shader.meta │ │ ├── Shader │ │ ├── Streak.cginc.meta │ │ ├── Streak.shader.meta │ │ ├── Streak.shader │ │ └── Streak.cginc │ │ ├── Editor │ │ ├── StreakEditor.cs.meta │ │ └── StreakEditor.cs │ │ ├── Streak.cs.meta │ │ └── Streak.cs ├── ThreeDScans.meta ├── sIBL Archive.meta ├── Emission.mat.meta ├── Metallic.mat.meta ├── Skybox.mat.meta ├── Editor │ ├── PackageTool.cs │ └── PackageTool.cs.meta ├── Metallic.mat ├── Emission.mat ├── Skybox.mat └── Test.unity ├── README.md └── LICENSE.txt /.gitattribute: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.cs diff=csharp 3 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2017.1.0p3 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | Desktop.ini 4 | *.swp 5 | 6 | /Library 7 | /Temp 8 | /*.unitypackage 9 | -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon/DeChalon.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/KinoStreak/HEAD/Assets/ThreeDScans/DeChalon/DeChalon.fbx -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon/DeChalon_normals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/KinoStreak/HEAD/Assets/ThreeDScans/DeChalon/DeChalon_normals.png -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon/DeChalon_curvature.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/KinoStreak/HEAD/Assets/ThreeDScans/DeChalon/DeChalon_curvature.png -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon/DeChalon_occlusion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/KinoStreak/HEAD/Assets/ThreeDScans/DeChalon/DeChalon_occlusion.png -------------------------------------------------------------------------------- /Assets/sIBL Archive/LA_Downtown_Helipad_GoldenHour_Env.hdr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/keijiro/KinoStreak/HEAD/Assets/sIBL Archive/LA_Downtown_Helipad_GoldenHour_Env.hdr -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /Assets/Test.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6d154cffbc4a2e4f9a5ba43916625e5 3 | timeCreated: 1503495726 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Kino.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96d6f0c23b5b349a39907f19574573ef 3 | folderAsset: yes 4 | timeCreated: 1435811145 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d80c83752a75c40649d0a3c49a424bd4 3 | folderAsset: yes 4 | timeCreated: 1452473625 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ThreeDScans/Acknowledgement.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ce463ee0c74438489ad119db8743a65 3 | timeCreated: 1469799280 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/sIBL Archive/Acknowledgement.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 539994cd5da974df4aa624b1efbfc35e 3 | timeCreated: 1457256437 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4fd2d5583441d464f8fa120133849ecb 3 | folderAsset: yes 4 | timeCreated: 1435928023 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak/Math.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb9dc05a19a2fad4caf8b1a87a2c484c 3 | folderAsset: yes 4 | timeCreated: 1452843589 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Kino/Streak.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d243ebd1a0845e34b86f651515a1534a 3 | folderAsset: yes 4 | timeCreated: 1503495081 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak/Motion.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b04e253fd90e09646b7032c3100d8444 3 | folderAsset: yes 4 | timeCreated: 1452843621 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ThreeDScans.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd11a343a91fdc7438c40a483f7b606e 3 | folderAsset: yes 4 | timeCreated: 1469544838 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/sIBL Archive.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a45feb57f31d6431b9c70826bad20276 3 | folderAsset: yes 4 | timeCreated: 1457256397 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Kino/Streak/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a303940674e8bb643a70217a8922cfba 3 | folderAsset: yes 4 | timeCreated: 1503583856 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Kino/Streak/Shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65dd695ecceea6246b97ef6e57e41b87 3 | folderAsset: yes 4 | timeCreated: 1503506184 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Klak/Motion/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f2b8436fbb9bd045ab8bdccf8490ae1 3 | folderAsset: yes 4 | timeCreated: 1452853741 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon/Materials/DeChalon.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbf60cf975eed83428a193c41f33ad17 3 | timeCreated: 1475761565 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66d3128a5104f9d4d9d8c034bb0e4fa9 3 | folderAsset: yes 4 | timeCreated: 1475761197 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/sIBL Archive/Acknowledgement.txt: -------------------------------------------------------------------------------- 1 | The HDR images in this directory are provided from sIBL Archive under the 2 | Creative Commons license (CC BY-NC-SA 3.0 US). Please see the page below for 3 | further details. 4 | 5 | http://www.hdrlabs.com/sibl/archive.html 6 | -------------------------------------------------------------------------------- /Assets/Emission.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17a41713e0e45eb46a7b3ae948be7698 3 | timeCreated: 1503498801 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Metallic.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 584cc37974c696647a1fa3cb974f4678 3 | timeCreated: 1503500304 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Skybox.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e7100284521fbf64285d12c0727c874b 3 | timeCreated: 1503503861 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | mainObjectFileID: 2100000 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bad18b23ab9d873478fc97ee6af91b3b 3 | folderAsset: yes 4 | timeCreated: 1475761565 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/Kino/Streak/Shader/Streak.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f01d17d0d77ca6a4cb4c8279594a1a9b 3 | timeCreated: 1503495200 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Kino/Streak/Shader/Streak.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10949a53e15fb4a4589953320ecc54b6 3 | timeCreated: 1503495122 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /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/Test.unity 10 | guid: b6d154cffbc4a2e4f9a5ba43916625e5 11 | -------------------------------------------------------------------------------- /Assets/Editor/PackageTool.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | public class PackageTool 5 | { 6 | [MenuItem("Package/Update Package")] 7 | static void UpdatePackage() 8 | { 9 | AssetDatabase.ExportPackage("Assets/Kino", "KinoStreak.unitypackage", ExportPackageOptions.Recurse); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Assets/Editor/PackageTool.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ac54410b610f47b18249055e1f9b668 3 | timeCreated: 1435928053 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak/Math/Perlin.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b05ef48e04bc4e4385bbbecb990f874 3 | timeCreated: 1452487793 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak/Motion/BrownianMotion.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 543ddbe12367a4899b011d43ef41f357 3 | timeCreated: 1452493080 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak/Motion/ConstantMotion.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3db4c4a72731246b2b1ad1e73178c04e 3 | timeCreated: 1452494131 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Kino/Streak/Editor/StreakEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f9b882e122c02034aa8b19c896e3b11d 3 | timeCreated: 1503583918 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak/Motion/Editor/BrownianMotionEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ff30deb1b277747ecb72302943759563 3 | timeCreated: 1452493920 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Klak/Motion/Editor/ConstantMotionEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6fc5aa7ff4bc94e60a8415d6b0755c76 3 | timeCreated: 1452496761 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Kino/Streak/Streak.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70081bef98ab8dd459e38072395393ac 3 | timeCreated: 1503495205 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - _shader: {fileID: 4800000, guid: 10949a53e15fb4a4589953320ecc54b6, type: 3} 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /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 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /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: 4 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_DefaultBehaviorMode: 0 10 | m_SpritePackerMode: 0 11 | m_SpritePackerPaddingPower: 1 12 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 13 | m_ProjectGenerationRootNamespace: 14 | m_UserGeneratedProjectSuffix: 15 | m_CollabEditorSettings: 16 | inProgressEnabled: 1 17 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /Assets/ThreeDScans/Acknowledgement.txt: -------------------------------------------------------------------------------- 1 | The models contained in this directory were originally scanned by the Three D 2 | Scans project. These models are not copyrighted, and thus you can use them 3 | without restriction. 4 | 5 | For further details of the scans, please see the project page below. 6 | 7 | http://threedscans.com/ 8 | 9 | These models were decimated and retopologized with Instant Meshes (auto-retopo 10 | software) and UV-unwrapped in Houdini. Normal maps and occlusion maps were 11 | generated with xNormal. 12 | 13 | The latest version of the models are available from the GitHub repository. 14 | 15 | https://github.com/keijiro/ThreeDScans 16 | 17 | Keijiro 18 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Kino/Streak 2 | =========== 3 | 4 | **Streak** is a quick implementation of anamorphic lens flares for Unity. 5 | 6 | ![screenshot](http://i.imgur.com/OfBdhkdl.png) 7 | 8 | ![gif](http://i.imgur.com/BEb05iy.gif) 9 | 10 | System requirements 11 | ------------------- 12 | 13 | Unity 2017.1.0 or later 14 | 15 | Installation 16 | ------------ 17 | 18 | Download one of the unitypackage files from the [Releases] page and import it 19 | to a project. 20 | 21 | [Releases]: https://github.com/keijiro/KinoStreak/releases 22 | 23 | Note 24 | ---- 25 | 26 | This is just a quick and dirty hack -- not physically correct nor aesthetically 27 | polished. Its use case is quite limited. Please don't expect that this can give 28 | good effects to your visuals. 29 | 30 | License 31 | ------- 32 | 33 | [MIT](LICENSE.txt) 34 | -------------------------------------------------------------------------------- /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: 3 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_EnablePCM: 1 18 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 19 | m_AutoSimulation: 1 20 | -------------------------------------------------------------------------------- /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 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_Enabled: 0 14 | m_CaptureEditorExceptions: 1 15 | UnityPurchasingSettings: 16 | m_Enabled: 0 17 | m_TestMode: 0 18 | UnityAnalyticsSettings: 19 | m_Enabled: 0 20 | m_InitializeOnStartup: 1 21 | m_TestMode: 0 22 | m_TestEventUrl: 23 | m_TestConfigUrl: 24 | UnityAdsSettings: 25 | m_Enabled: 0 26 | m_InitializeOnStartup: 1 27 | m_TestMode: 0 28 | m_EnabledPlatforms: 4294967295 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Keijiro Takahashi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Assets/Kino/Streak/Editor/StreakEditor.cs: -------------------------------------------------------------------------------- 1 | // Kino/Streak - Anamorphic lens flare effect for Unity 2 | // https://github.com/keijiro/KinoStreak 3 | 4 | using UnityEngine; 5 | using UnityEditor; 6 | 7 | namespace Kino 8 | { 9 | [CanEditMultipleObjects] 10 | [CustomEditor(typeof(Streak))] 11 | public class StreakEditor : Editor 12 | { 13 | SerializedProperty _threshold; 14 | SerializedProperty _stretch; 15 | SerializedProperty _intensity; 16 | SerializedProperty _tint; 17 | 18 | void OnEnable() 19 | { 20 | _threshold = serializedObject.FindProperty("_threshold"); 21 | _stretch = serializedObject.FindProperty("_stretch"); 22 | _intensity = serializedObject.FindProperty("_intensity"); 23 | _tint = serializedObject.FindProperty("_tint"); 24 | } 25 | 26 | public override void OnInspectorGUI() 27 | { 28 | serializedObject.Update(); 29 | 30 | EditorGUILayout.PropertyField(_threshold); 31 | EditorGUILayout.PropertyField(_stretch); 32 | EditorGUILayout.PropertyField(_intensity); 33 | EditorGUILayout.PropertyField(_tint); 34 | 35 | serializedObject.ApplyModifiedProperties(); 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 0 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: High 11 | pixelLightCount: 2 12 | shadows: 2 13 | shadowResolution: 1 14 | shadowProjection: 1 15 | shadowCascades: 2 16 | shadowDistance: 40 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 1 21 | blendWeights: 2 22 | textureQuality: 0 23 | anisotropicTextures: 1 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 1 27 | realtimeReflectionProbes: 1 28 | billboardsFaceCameraPosition: 1 29 | vSyncCount: 1 30 | lodBias: 1 31 | maximumLODLevel: 0 32 | particleRaycastBudget: 256 33 | asyncUploadTimeSlice: 2 34 | asyncUploadBufferSize: 4 35 | resolutionScalingFixedDPIFactor: 1 36 | excludedTargetPlatforms: [] 37 | m_PerPlatformDefaultQuality: 38 | Android: 0 39 | Nintendo 3DS: 0 40 | Nintendo Switch: 0 41 | PS4: 0 42 | PSM: 0 43 | PSP2: 0 44 | Samsung TV: 0 45 | Standalone: 0 46 | Tizen: 0 47 | Web: 0 48 | WebGL: 0 49 | WiiU: 0 50 | Windows Store Apps: 0 51 | XboxOne: 0 52 | iPhone: 0 53 | tvOS: 0 54 | -------------------------------------------------------------------------------- /Assets/Kino/Streak/Shader/Streak.shader: -------------------------------------------------------------------------------- 1 | // Kino/Streak - Anamorphic lens flare effect for Unity 2 | // https://github.com/keijiro/KinoStreak 3 | 4 | Shader "Hidden/Kino/Streak" 5 | { 6 | Properties 7 | { 8 | _MainTex("", 2D) = ""{} 9 | _HighTex("", 2D) = ""{} 10 | _Color("", Color) = (1, 1, 1) 11 | [Gamma] _Intensity("", Float) = 1 12 | } 13 | SubShader 14 | { 15 | Cull Off ZWrite Off ZTest Always 16 | 17 | // Prefilter 18 | Pass 19 | { 20 | CGPROGRAM 21 | #pragma vertex vert_img 22 | #pragma fragment frag_prefilter 23 | #include "Streak.cginc" 24 | ENDCG 25 | } 26 | 27 | // Downsampler 28 | Pass 29 | { 30 | CGPROGRAM 31 | #pragma vertex vert_img 32 | #pragma fragment frag_down 33 | #include "Streak.cginc" 34 | ENDCG 35 | } 36 | 37 | // Upsampler 38 | Pass 39 | { 40 | CGPROGRAM 41 | #pragma vertex vert_img 42 | #pragma fragment frag_up 43 | #include "Streak.cginc" 44 | ENDCG 45 | } 46 | 47 | // Final composition 48 | Pass 49 | { 50 | CGPROGRAM 51 | #pragma vertex vert_img 52 | #pragma fragment frag_composite 53 | #include "Streak.cginc" 54 | ENDCG 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /Assets/sIBL Archive/LA_Downtown_Helipad_GoldenHour_Env.hdr.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a484b152a713c486e98ed7a992f53a51 3 | timeCreated: 1457255178 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: 7 | 8900000: generatedCubemap 8 | serializedVersion: 2 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 1 12 | linearTexture: 0 13 | correctGamma: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: .25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | grayScaleToAlpha: 0 25 | generateCubemap: 6 26 | cubemapConvolution: 0 27 | cubemapConvolutionSteps: 8 28 | cubemapConvolutionExponent: 1.5 29 | seamlessCubemap: 0 30 | textureFormat: -3 31 | maxTextureSize: 2048 32 | textureSettings: 33 | filterMode: -1 34 | aniso: -1 35 | mipBias: -1 36 | wrapMode: 1 37 | nPOTScale: 1 38 | lightmap: 0 39 | rGBM: 0 40 | compressionQuality: 50 41 | allowsAlphaSplitting: 0 42 | spriteMode: 0 43 | spriteExtrude: 1 44 | spriteMeshType: 1 45 | alignment: 0 46 | spritePivot: {x: .5, y: .5} 47 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 48 | spritePixelsToUnits: 100 49 | alphaIsTransparency: 0 50 | textureType: 3 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | sprites: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /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: 3 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_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_AlwaysShowColliders: 0 28 | m_ShowColliderSleep: 1 29 | m_ShowColliderContacts: 0 30 | m_ShowColliderAABB: 0 31 | m_ContactArrowScale: 0.2 32 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 33 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 34 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 35 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 36 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 37 | -------------------------------------------------------------------------------- /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 | m_SettingNames: 89 | - Humanoid 90 | -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon/DeChalon_normals.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 604cf1392e2a0864e9c766f5f91595e5 3 | timeCreated: 1475761788 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | sRGBTexture: 0 12 | linearTexture: 1 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 1 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 6 25 | cubemapConvolution: 0 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: 2 31 | aniso: 2 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | compressionQuality: 50 37 | spriteMode: 0 38 | spriteExtrude: 1 39 | spriteMeshType: 1 40 | alignment: 0 41 | spritePivot: {x: 0.5, y: 0.5} 42 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 43 | spritePixelsToUnits: 100 44 | alphaUsage: 1 45 | alphaIsTransparency: 0 46 | spriteTessellationDetail: -1 47 | textureType: 1 48 | textureShape: 1 49 | maxTextureSizeSet: 0 50 | compressionQualitySet: 0 51 | textureFormatSet: 0 52 | platformSettings: 53 | - buildTarget: DefaultTexturePlatform 54 | maxTextureSize: 2048 55 | textureFormat: -1 56 | textureCompression: 1 57 | compressionQuality: 50 58 | crunchedCompression: 0 59 | allowsAlphaSplitting: 0 60 | overridden: 0 61 | - buildTarget: Standalone 62 | maxTextureSize: 2048 63 | textureFormat: -1 64 | textureCompression: 1 65 | compressionQuality: 50 66 | crunchedCompression: 0 67 | allowsAlphaSplitting: 0 68 | overridden: 0 69 | spriteSheet: 70 | serializedVersion: 2 71 | sprites: [] 72 | outline: [] 73 | spritePackingTag: 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon/DeChalon_curvature.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1459c7eb3e73c57409542f316b062a86 3 | timeCreated: 1475763944 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | sRGBTexture: 0 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 6 25 | cubemapConvolution: 0 26 | seamlessCubemap: 0 27 | textureFormat: 10 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: 2 31 | aniso: 2 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | compressionQuality: 50 37 | spriteMode: 0 38 | spriteExtrude: 1 39 | spriteMeshType: 1 40 | alignment: 0 41 | spritePivot: {x: 0.5, y: 0.5} 42 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 43 | spritePixelsToUnits: 100 44 | alphaUsage: 0 45 | alphaIsTransparency: 0 46 | spriteTessellationDetail: -1 47 | textureType: 0 48 | textureShape: 1 49 | maxTextureSizeSet: 0 50 | compressionQualitySet: 0 51 | textureFormatSet: 0 52 | platformSettings: 53 | - buildTarget: DefaultTexturePlatform 54 | maxTextureSize: 2048 55 | textureFormat: -1 56 | textureCompression: 1 57 | compressionQuality: 50 58 | crunchedCompression: 0 59 | allowsAlphaSplitting: 0 60 | overridden: 0 61 | - buildTarget: Standalone 62 | maxTextureSize: 2048 63 | textureFormat: -1 64 | textureCompression: 1 65 | compressionQuality: 50 66 | crunchedCompression: 0 67 | allowsAlphaSplitting: 0 68 | overridden: 0 69 | spriteSheet: 70 | serializedVersion: 2 71 | sprites: [] 72 | outline: [] 73 | spritePackingTag: 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon/DeChalon_occlusion.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb7ec09b6c6c3cf4a822aedff19fd343 3 | timeCreated: 1475761789 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | sRGBTexture: 0 12 | linearTexture: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 6 25 | cubemapConvolution: 0 26 | seamlessCubemap: 0 27 | textureFormat: 10 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: 2 31 | aniso: 2 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | compressionQuality: 50 37 | spriteMode: 0 38 | spriteExtrude: 1 39 | spriteMeshType: 1 40 | alignment: 0 41 | spritePivot: {x: 0.5, y: 0.5} 42 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 43 | spritePixelsToUnits: 100 44 | alphaUsage: 0 45 | alphaIsTransparency: 0 46 | spriteTessellationDetail: -1 47 | textureType: 0 48 | textureShape: 1 49 | maxTextureSizeSet: 0 50 | compressionQualitySet: 0 51 | textureFormatSet: 0 52 | platformSettings: 53 | - buildTarget: DefaultTexturePlatform 54 | maxTextureSize: 2048 55 | textureFormat: -1 56 | textureCompression: 1 57 | compressionQuality: 50 58 | crunchedCompression: 0 59 | allowsAlphaSplitting: 0 60 | overridden: 0 61 | - buildTarget: Standalone 62 | maxTextureSize: 2048 63 | textureFormat: -1 64 | textureCompression: 1 65 | compressionQuality: 50 66 | crunchedCompression: 0 67 | allowsAlphaSplitting: 0 68 | overridden: 0 69 | spriteSheet: 70 | serializedVersion: 2 71 | sprites: [] 72 | outline: [] 73 | spritePackingTag: 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon/DeChalon.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e9d3047624229e4297136d92f5ac58e 3 | timeCreated: 1475761565 4 | licenseType: Pro 5 | ModelImporter: 6 | serializedVersion: 19 7 | fileIDToRecycleName: 8 | 100000: //RootNode 9 | 400000: //RootNode 10 | 2300000: //RootNode 11 | 3300000: //RootNode 12 | 4300000: Low 13 | materials: 14 | importMaterials: 1 15 | materialName: 0 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 4 19 | bakeSimulation: 0 20 | resampleCurves: 1 21 | optimizeGameObjects: 0 22 | motionNodeName: 23 | animationImportErrors: 24 | animationImportWarnings: 25 | animationRetargetingWarnings: 26 | animationDoRetargetingWarnings: 0 27 | animationCompression: 1 28 | animationRotationError: 0.5 29 | animationPositionError: 0.5 30 | animationScaleError: 0.5 31 | animationWrapMode: 0 32 | extraExposedTransformPaths: [] 33 | clipAnimations: [] 34 | isReadable: 0 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 100 38 | meshCompression: 0 39 | addColliders: 0 40 | importBlendShapes: 0 41 | swapUVChannels: 0 42 | generateSecondaryUV: 0 43 | useFileUnits: 1 44 | optimizeMeshForGPU: 1 45 | keepQuads: 0 46 | weldVertices: 1 47 | secondaryUVAngleDistortion: 8 48 | secondaryUVAreaDistortion: 15.000001 49 | secondaryUVHardAngle: 88 50 | secondaryUVPackMargin: 4 51 | useFileScale: 1 52 | tangentSpace: 53 | normalSmoothAngle: 60 54 | normalImportMode: 0 55 | tangentImportMode: 3 56 | importAnimation: 0 57 | copyAvatar: 0 58 | humanDescription: 59 | human: [] 60 | skeleton: [] 61 | armTwist: 0.5 62 | foreArmTwist: 0.5 63 | upperLegTwist: 0.5 64 | legTwist: 0.5 65 | armStretch: 0.05 66 | legStretch: 0.05 67 | feetSpacing: 0 68 | rootMotionBoneName: 69 | hasTranslationDoF: 0 70 | lastHumanDescriptionAvatarSource: {instanceID: 0} 71 | animationType: 0 72 | humanoidOversampling: 1 73 | additionalBone: 0 74 | userData: 75 | assetBundleName: 76 | assetBundleVariant: 77 | -------------------------------------------------------------------------------- /Assets/Metallic.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_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Metallic 10 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _BumpMap: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _DetailAlbedoMap: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _DetailMask: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | - _DetailNormalMap: 34 | m_Texture: {fileID: 0} 35 | m_Scale: {x: 1, y: 1} 36 | m_Offset: {x: 0, y: 0} 37 | - _EmissionMap: 38 | m_Texture: {fileID: 0} 39 | m_Scale: {x: 1, y: 1} 40 | m_Offset: {x: 0, y: 0} 41 | - _MainTex: 42 | m_Texture: {fileID: 0} 43 | m_Scale: {x: 1, y: 1} 44 | m_Offset: {x: 0, y: 0} 45 | - _MetallicGlossMap: 46 | m_Texture: {fileID: 0} 47 | m_Scale: {x: 1, y: 1} 48 | m_Offset: {x: 0, y: 0} 49 | - _OcclusionMap: 50 | m_Texture: {fileID: 0} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | - _ParallaxMap: 54 | m_Texture: {fileID: 0} 55 | m_Scale: {x: 1, y: 1} 56 | m_Offset: {x: 0, y: 0} 57 | m_Floats: 58 | - _BumpScale: 1 59 | - _Cutoff: 0.5 60 | - _DetailNormalMapScale: 1 61 | - _DstBlend: 0 62 | - _GlossMapScale: 1 63 | - _Glossiness: 0.95 64 | - _GlossyReflections: 1 65 | - _Metallic: 1 66 | - _Mode: 0 67 | - _OcclusionStrength: 1 68 | - _Parallax: 0.02 69 | - _SmoothnessTextureChannel: 0 70 | - _SpecularHighlights: 1 71 | - _SrcBlend: 1 72 | - _UVSec: 0 73 | - _ZWrite: 1 74 | m_Colors: 75 | - _Color: {r: 1, g: 1, b: 1, a: 1} 76 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 77 | -------------------------------------------------------------------------------- /Assets/Emission.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_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Emission 10 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: _EMISSION 12 | m_LightmapFlags: 1 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _BumpMap: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _DetailAlbedoMap: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _DetailMask: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | - _DetailNormalMap: 34 | m_Texture: {fileID: 0} 35 | m_Scale: {x: 1, y: 1} 36 | m_Offset: {x: 0, y: 0} 37 | - _EmissionMap: 38 | m_Texture: {fileID: 0} 39 | m_Scale: {x: 1, y: 1} 40 | m_Offset: {x: 0, y: 0} 41 | - _MainTex: 42 | m_Texture: {fileID: 0} 43 | m_Scale: {x: 1, y: 1} 44 | m_Offset: {x: 0, y: 0} 45 | - _MetallicGlossMap: 46 | m_Texture: {fileID: 0} 47 | m_Scale: {x: 1, y: 1} 48 | m_Offset: {x: 0, y: 0} 49 | - _OcclusionMap: 50 | m_Texture: {fileID: 0} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | - _ParallaxMap: 54 | m_Texture: {fileID: 0} 55 | m_Scale: {x: 1, y: 1} 56 | m_Offset: {x: 0, y: 0} 57 | m_Floats: 58 | - _BumpScale: 1 59 | - _Cutoff: 0.5 60 | - _DetailNormalMapScale: 1 61 | - _DstBlend: 0 62 | - _GlossMapScale: 1 63 | - _Glossiness: 0 64 | - _GlossyReflections: 1 65 | - _Metallic: 0 66 | - _Mode: 0 67 | - _OcclusionStrength: 1 68 | - _Parallax: 0.02 69 | - _SmoothnessTextureChannel: 0 70 | - _SpecularHighlights: 1 71 | - _SrcBlend: 1 72 | - _UVSec: 0 73 | - _ZWrite: 1 74 | m_Colors: 75 | - _Color: {r: 0, g: 0, b: 0, a: 1} 76 | - _EmissionColor: {r: 9.085, g: 3.6948113, b: 1.2692264, a: 1} 77 | -------------------------------------------------------------------------------- /Assets/ThreeDScans/DeChalon/Materials/DeChalon.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_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: DeChalon 10 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: _EMISSION _NORMALMAP 12 | m_LightmapFlags: 1 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _BumpMap: 22 | m_Texture: {fileID: 2800000, guid: 604cf1392e2a0864e9c766f5f91595e5, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _DetailAlbedoMap: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _DetailMask: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | - _DetailNormalMap: 34 | m_Texture: {fileID: 0} 35 | m_Scale: {x: 1, y: 1} 36 | m_Offset: {x: 0, y: 0} 37 | - _EmissionMap: 38 | m_Texture: {fileID: 0} 39 | m_Scale: {x: 1, y: 1} 40 | m_Offset: {x: 0, y: 0} 41 | - _MainTex: 42 | m_Texture: {fileID: 0} 43 | m_Scale: {x: 1, y: 1} 44 | m_Offset: {x: 0, y: 0} 45 | - _MetallicGlossMap: 46 | m_Texture: {fileID: 0} 47 | m_Scale: {x: 1, y: 1} 48 | m_Offset: {x: 0, y: 0} 49 | - _OcclusionMap: 50 | m_Texture: {fileID: 2800000, guid: cb7ec09b6c6c3cf4a822aedff19fd343, type: 3} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | - _ParallaxMap: 54 | m_Texture: {fileID: 0} 55 | m_Scale: {x: 1, y: 1} 56 | m_Offset: {x: 0, y: 0} 57 | m_Floats: 58 | - _BumpScale: 1 59 | - _Cutoff: 0.5 60 | - _DetailNormalMapScale: 1 61 | - _DstBlend: 0 62 | - _GlossMapScale: 1 63 | - _Glossiness: 0.8 64 | - _GlossyReflections: 1 65 | - _Metallic: 1 66 | - _Mode: 0 67 | - _OcclusionStrength: 0.686 68 | - _Parallax: 0.02 69 | - _SmoothnessTextureChannel: 0 70 | - _SpecularHighlights: 1 71 | - _SrcBlend: 1 72 | - _UVSec: 0 73 | - _ZWrite: 1 74 | m_Colors: 75 | - _Color: {r: 0.75, g: 0.75, b: 0.75, a: 1} 76 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 77 | -------------------------------------------------------------------------------- /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: 16000, 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 | -------------------------------------------------------------------------------- /Assets/Kino/Streak/Shader/Streak.cginc: -------------------------------------------------------------------------------- 1 | // Kino/Streak - Anamorphic lens flare effect for Unity 2 | // https://github.com/keijiro/KinoStreak 3 | 4 | #include "UnityCG.cginc" 5 | 6 | sampler2D _MainTex; 7 | float4 _MainTex_TexelSize; 8 | 9 | sampler2D _HighTex; 10 | float4 _HighTex_TexelSize; 11 | 12 | float _Threshold; 13 | float _Stretch; 14 | float _Intensity; 15 | half3 _Color; 16 | 17 | // Prefilter: Shrink horizontally and apply threshold. 18 | half4 frag_prefilter(v2f_img i) : SV_Target 19 | { 20 | // Actually this should be 1, but we assume you need more blur... 21 | const float vscale = 1.5; 22 | const float dy = _MainTex_TexelSize.y * vscale / 2; 23 | 24 | half3 c0 = tex2D(_MainTex, float2(i.uv.x, i.uv.y - dy)); 25 | half3 c1 = tex2D(_MainTex, float2(i.uv.x, i.uv.y + dy)); 26 | half3 c = (c0 + c1) / 2; 27 | 28 | float br = max(c.r, max(c.g, c.b)); 29 | c *= max(0, br - _Threshold) / max(br, 1e-5); 30 | 31 | return half4(c, 1); 32 | } 33 | 34 | // Downsampler 35 | half4 frag_down(v2f_img i) : SV_Target 36 | { 37 | // Actually this should be 1, but we assume you need more blur... 38 | const float hscale = 1.25; 39 | const float dx = _MainTex_TexelSize.x * hscale; 40 | 41 | float u0 = i.uv.x - dx * 5; 42 | float u1 = i.uv.x - dx * 3; 43 | float u2 = i.uv.x - dx * 1; 44 | float u3 = i.uv.x + dx * 1; 45 | float u4 = i.uv.x + dx * 3; 46 | float u5 = i.uv.x + dx * 5; 47 | 48 | half3 c0 = tex2D(_MainTex, float2(u0, i.uv.y)); 49 | half3 c1 = tex2D(_MainTex, float2(u1, i.uv.y)); 50 | half3 c2 = tex2D(_MainTex, float2(u2, i.uv.y)); 51 | half3 c3 = tex2D(_MainTex, float2(u3, i.uv.y)); 52 | half3 c4 = tex2D(_MainTex, float2(u4, i.uv.y)); 53 | half3 c5 = tex2D(_MainTex, float2(u5, i.uv.y)); 54 | 55 | // Simple box filter 56 | half3 c = (c0 + c1 + c2 + c3 + c4 + c5) / 6; 57 | 58 | return half4(c, 1); 59 | } 60 | 61 | // Upsampler 62 | half4 frag_up(v2f_img i) : SV_Target 63 | { 64 | half3 c0 = tex2D(_MainTex, i.uv) / 4; 65 | half3 c1 = tex2D(_MainTex, i.uv) / 2; 66 | half3 c2 = tex2D(_MainTex, i.uv) / 4; 67 | half3 c3 = tex2D(_HighTex, i.uv); 68 | return half4(lerp(c3, c0 + c1 + c2, _Stretch), 1); 69 | } 70 | 71 | // Final composition 72 | half4 frag_composite(v2f_img i) : SV_Target 73 | { 74 | half3 c0 = tex2D(_MainTex, i.uv) / 4; 75 | half3 c1 = tex2D(_MainTex, i.uv) / 2; 76 | half3 c2 = tex2D(_MainTex, i.uv) / 4; 77 | half3 c3 = tex2D(_HighTex, i.uv); 78 | half3 cf = (c0 + c1 + c2) * _Color * _Intensity * 5; 79 | return half4(cf + c3, 1); 80 | } 81 | -------------------------------------------------------------------------------- /Assets/Skybox.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_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Skybox 10 | m_Shader: {fileID: 103, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 0 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _BumpMap: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _DetailAlbedoMap: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _DetailMask: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | - _DetailNormalMap: 34 | m_Texture: {fileID: 0} 35 | m_Scale: {x: 1, y: 1} 36 | m_Offset: {x: 0, y: 0} 37 | - _EmissionMap: 38 | m_Texture: {fileID: 0} 39 | m_Scale: {x: 1, y: 1} 40 | m_Offset: {x: 0, y: 0} 41 | - _MainTex: 42 | m_Texture: {fileID: 0} 43 | m_Scale: {x: 1, y: 1} 44 | m_Offset: {x: 0, y: 0} 45 | - _MetallicGlossMap: 46 | m_Texture: {fileID: 0} 47 | m_Scale: {x: 1, y: 1} 48 | m_Offset: {x: 0, y: 0} 49 | - _OcclusionMap: 50 | m_Texture: {fileID: 0} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | - _ParallaxMap: 54 | m_Texture: {fileID: 0} 55 | m_Scale: {x: 1, y: 1} 56 | m_Offset: {x: 0, y: 0} 57 | - _Tex: 58 | m_Texture: {fileID: 8900000, guid: a484b152a713c486e98ed7a992f53a51, type: 3} 59 | m_Scale: {x: 1, y: 1} 60 | m_Offset: {x: 0, y: 0} 61 | m_Floats: 62 | - _BumpScale: 1 63 | - _Cutoff: 0.5 64 | - _DetailNormalMapScale: 1 65 | - _DstBlend: 0 66 | - _Exposure: 1.5 67 | - _GlossMapScale: 1 68 | - _Glossiness: 0.5 69 | - _GlossyReflections: 1 70 | - _Metallic: 0 71 | - _Mode: 0 72 | - _OcclusionStrength: 1 73 | - _Parallax: 0.02 74 | - _Rotation: 0 75 | - _SmoothnessTextureChannel: 0 76 | - _SpecularHighlights: 1 77 | - _SrcBlend: 1 78 | - _UVSec: 0 79 | - _ZWrite: 1 80 | m_Colors: 81 | - _Color: {r: 1, g: 1, b: 1, a: 1} 82 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 83 | - _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} 84 | -------------------------------------------------------------------------------- /Assets/Klak/Motion/Editor/ConstantMotionEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Motion 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(ConstantMotion))] 31 | public class ConstantMotionEditor : Editor 32 | { 33 | SerializedProperty _translationMode; 34 | SerializedProperty _translationVector; 35 | SerializedProperty _translationSpeed; 36 | 37 | SerializedProperty _rotationMode; 38 | SerializedProperty _rotationAxis; 39 | SerializedProperty _rotationSpeed; 40 | 41 | SerializedProperty _useLocalCoordinate; 42 | 43 | static GUIContent _textLocalCoordinate = new GUIContent("Local Coordinate"); 44 | static GUIContent _textRotation = new GUIContent("Rotation"); 45 | static GUIContent _textSpeed = new GUIContent("Speed"); 46 | static GUIContent _textTranslation = new GUIContent("Translation"); 47 | static GUIContent _textVector = new GUIContent("Vector"); 48 | 49 | void OnEnable() 50 | { 51 | _translationMode = serializedObject.FindProperty("_translationMode"); 52 | _translationVector = serializedObject.FindProperty("_translationVector"); 53 | _translationSpeed = serializedObject.FindProperty("_translationSpeed"); 54 | 55 | _rotationMode = serializedObject.FindProperty("_rotationMode"); 56 | _rotationAxis = serializedObject.FindProperty("_rotationAxis"); 57 | _rotationSpeed = serializedObject.FindProperty("_rotationSpeed"); 58 | 59 | _useLocalCoordinate = serializedObject.FindProperty("_useLocalCoordinate"); 60 | } 61 | 62 | public override void OnInspectorGUI() 63 | { 64 | serializedObject.Update(); 65 | 66 | EditorGUILayout.PropertyField(_translationMode, _textTranslation); 67 | 68 | EditorGUI.indentLevel++; 69 | 70 | if (_translationMode.hasMultipleDifferentValues || 71 | _translationMode.enumValueIndex == (int)ConstantMotion.TranslationMode.Vector) 72 | EditorGUILayout.PropertyField(_translationVector, _textVector); 73 | 74 | if (_translationMode.hasMultipleDifferentValues || 75 | _translationMode.enumValueIndex != 0) 76 | EditorGUILayout.PropertyField(_translationSpeed, _textSpeed); 77 | 78 | EditorGUI.indentLevel--; 79 | 80 | EditorGUILayout.PropertyField(_rotationMode, _textRotation); 81 | 82 | EditorGUI.indentLevel++; 83 | 84 | if (_rotationMode.hasMultipleDifferentValues || 85 | _rotationMode.enumValueIndex == (int)ConstantMotion.RotationMode.Vector) 86 | EditorGUILayout.PropertyField(_rotationAxis, _textVector); 87 | 88 | if (_rotationMode.hasMultipleDifferentValues || 89 | _rotationMode.enumValueIndex != 0) 90 | EditorGUILayout.PropertyField(_rotationSpeed, _textSpeed); 91 | 92 | EditorGUI.indentLevel--; 93 | 94 | EditorGUILayout.PropertyField(_useLocalCoordinate, _textLocalCoordinate); 95 | 96 | serializedObject.ApplyModifiedProperties(); 97 | } 98 | } 99 | } 100 | -------------------------------------------------------------------------------- /Assets/Kino/Streak/Streak.cs: -------------------------------------------------------------------------------- 1 | // Kino/Streak - Anamorphic lens flare effect for Unity 2 | // https://github.com/keijiro/KinoStreak 3 | 4 | using UnityEngine; 5 | using System.Collections.Generic; 6 | 7 | namespace Kino 8 | { 9 | [ExecuteInEditMode] 10 | [RequireComponent(typeof(Camera))] 11 | [AddComponentMenu("Kino Image Effects/Streak")] 12 | public class Streak : MonoBehaviour 13 | { 14 | #region Editable variables and public properties 15 | 16 | [SerializeField, Range(0, 5)] 17 | float _threshold = 1; 18 | 19 | public float threshold { 20 | get { return _threshold; } 21 | set { _threshold = value; } 22 | } 23 | 24 | [SerializeField, Range(0, 1)] 25 | float _stretch = 0.75f; 26 | 27 | public float stretch { 28 | get { return _stretch; } 29 | set { _stretch = value; } 30 | } 31 | 32 | [SerializeField, Range(0, 1)] 33 | float _intensity = 0.3f; 34 | 35 | public float intensity { 36 | get { return _intensity; } 37 | set { _intensity = value; } 38 | } 39 | 40 | [SerializeField, ColorUsage(false)] 41 | Color _tint = new Color(0.55f, 0.55f, 1); 42 | 43 | public Color tint { 44 | get { return _tint; } 45 | set { _tint = value; } 46 | } 47 | 48 | #endregion 49 | 50 | #region Private variables and functions 51 | 52 | [SerializeField, HideInInspector] Shader _shader; 53 | Material _material; 54 | 55 | // This stack is reused between frames to avoid GC memory allocation. 56 | Stack _mipStack = new Stack(); 57 | 58 | RenderTexture GetTempRT(int width, int height) 59 | { 60 | var format = RenderTextureFormat.ARGBHalf; 61 | var rt = RenderTexture.GetTemporary(width, height, 0, format); 62 | return rt; 63 | } 64 | 65 | #endregion 66 | 67 | #region MonoBehaviour functions 68 | 69 | void OnDestroy() 70 | { 71 | if (_material != null) 72 | { 73 | if (Application.isPlaying) 74 | Destroy(_material); 75 | else 76 | DestroyImmediate(_material); 77 | } 78 | } 79 | 80 | void OnRenderImage(RenderTexture source, RenderTexture destination) 81 | { 82 | if (_material == null) 83 | { 84 | _material = new Material(_shader); 85 | _material.hideFlags = HideFlags.DontSave; 86 | } 87 | 88 | // Common parameters. 89 | _material.SetFloat("_Threshold", _threshold); 90 | _material.SetFloat("_Stretch", _stretch); 91 | _material.SetFloat("_Intensity", _intensity); 92 | _material.SetColor("_Color", _tint); 93 | 94 | // Apply the prefilter and make it half height. 95 | var width = source.width; 96 | var height = source.height / 2; 97 | var prefiltered = GetTempRT(width, height); 98 | Graphics.Blit(source, prefiltered, _material, 0); 99 | 100 | // Build a MIP pyramid. 101 | var last = prefiltered; 102 | 103 | while (width > 16) // minimum width = 8 104 | { 105 | width /= 2; 106 | var down = GetTempRT(width, height); 107 | Graphics.Blit(last, down, _material, 1); 108 | _mipStack.Push(last = down); 109 | } 110 | 111 | // The last element of the stack is in (last), so cut it. 112 | _mipStack.Pop(); 113 | 114 | // Upsample and combine. 115 | while (_mipStack.Count > 0) 116 | { 117 | var hi = _mipStack.Pop(); 118 | var up = GetTempRT(hi.width, hi.height); 119 | _material.SetTexture("_HighTex", hi); 120 | Graphics.Blit(last, up, _material, 2); 121 | RenderTexture.ReleaseTemporary(last); 122 | RenderTexture.ReleaseTemporary(hi); 123 | last = up; 124 | } 125 | 126 | // Final composition. 127 | _material.SetTexture("_HighTex", source); 128 | Graphics.Blit(last, destination, _material, 3); 129 | 130 | // Cleaning up. 131 | RenderTexture.ReleaseTemporary(last); 132 | RenderTexture.ReleaseTemporary(prefiltered); 133 | } 134 | 135 | #endregion 136 | } 137 | } 138 | -------------------------------------------------------------------------------- /Assets/Klak/Motion/Editor/BrownianMotionEditor.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using UnityEditor; 26 | 27 | namespace Klak.Motion 28 | { 29 | [CanEditMultipleObjects] 30 | [CustomEditor(typeof(BrownianMotion))] 31 | public class BrownianMotionEditor : Editor 32 | { 33 | SerializedProperty _enablePositionNoise; 34 | SerializedProperty _enableRotationNoise; 35 | SerializedProperty _positionFrequency; 36 | SerializedProperty _rotationFrequency; 37 | SerializedProperty _positionAmplitude; 38 | SerializedProperty _rotationAmplitude; 39 | SerializedProperty _positionScale; 40 | SerializedProperty _rotationScale; 41 | SerializedProperty _positionFractalLevel; 42 | SerializedProperty _rotationFractalLevel; 43 | 44 | static GUIContent _textPositionNoise = new GUIContent("Position Noise"); 45 | static GUIContent _textRotationNoise = new GUIContent("Rotation Noise"); 46 | static GUIContent _textFrequency = new GUIContent("Frequency"); 47 | static GUIContent _textAmplitude = new GUIContent("Amplitude"); 48 | static GUIContent _textScale = new GUIContent("Scale"); 49 | static GUIContent _textFractal = new GUIContent("Fractal"); 50 | 51 | void OnEnable() 52 | { 53 | _enablePositionNoise = serializedObject.FindProperty("_enablePositionNoise"); 54 | _enableRotationNoise = serializedObject.FindProperty("_enableRotationNoise"); 55 | _positionFrequency = serializedObject.FindProperty("_positionFrequency"); 56 | _rotationFrequency = serializedObject.FindProperty("_rotationFrequency"); 57 | _positionAmplitude = serializedObject.FindProperty("_positionAmplitude"); 58 | _rotationAmplitude = serializedObject.FindProperty("_rotationAmplitude"); 59 | _positionScale = serializedObject.FindProperty("_positionScale"); 60 | _rotationScale = serializedObject.FindProperty("_rotationScale"); 61 | _positionFractalLevel = serializedObject.FindProperty("_positionFractalLevel"); 62 | _rotationFractalLevel = serializedObject.FindProperty("_rotationFractalLevel"); 63 | } 64 | 65 | public override void OnInspectorGUI() 66 | { 67 | serializedObject.Update(); 68 | 69 | EditorGUILayout.PropertyField(_enablePositionNoise, _textPositionNoise); 70 | 71 | if (_enablePositionNoise.hasMultipleDifferentValues || _enablePositionNoise.boolValue) 72 | { 73 | EditorGUI.indentLevel++; 74 | EditorGUILayout.PropertyField(_positionFrequency, _textFrequency); 75 | EditorGUILayout.PropertyField(_positionAmplitude, _textAmplitude); 76 | EditorGUILayout.PropertyField(_positionScale, _textScale); 77 | EditorGUILayout.PropertyField(_positionFractalLevel, _textFractal); 78 | EditorGUI.indentLevel--; 79 | } 80 | 81 | EditorGUILayout.PropertyField(_enableRotationNoise, _textRotationNoise); 82 | 83 | if (_enableRotationNoise.hasMultipleDifferentValues || _enableRotationNoise.boolValue) 84 | { 85 | EditorGUI.indentLevel++; 86 | EditorGUILayout.PropertyField(_rotationFrequency, _textFrequency); 87 | EditorGUILayout.PropertyField(_rotationAmplitude, _textAmplitude); 88 | EditorGUILayout.PropertyField(_rotationScale, _textScale); 89 | EditorGUILayout.PropertyField(_rotationFractalLevel, _textFractal); 90 | EditorGUI.indentLevel--; 91 | } 92 | 93 | serializedObject.ApplyModifiedProperties(); 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /Assets/Klak/Motion/ConstantMotion.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | 26 | namespace Klak.Motion 27 | { 28 | [AddComponentMenu("Klak/Motion/Constant Motion")] 29 | public class ConstantMotion : MonoBehaviour 30 | { 31 | #region Nested Classes 32 | 33 | public enum TranslationMode { 34 | Off, XAxis, YAxis, ZAxis, Vector, Random 35 | }; 36 | 37 | public enum RotationMode { 38 | Off, XAxis, YAxis, ZAxis, Vector, Random 39 | } 40 | 41 | #endregion 42 | 43 | #region Editable Properties 44 | 45 | [SerializeField] 46 | TranslationMode _translationMode = TranslationMode.Off; 47 | 48 | [SerializeField] 49 | Vector3 _translationVector = Vector3.forward; 50 | 51 | [SerializeField] 52 | float _translationSpeed = 1.0f; 53 | 54 | [SerializeField] 55 | RotationMode _rotationMode = RotationMode.Off; 56 | 57 | [SerializeField] 58 | Vector3 _rotationAxis = Vector3.up; 59 | 60 | [SerializeField] 61 | float _rotationSpeed = 30.0f; 62 | 63 | [SerializeField] 64 | bool _useLocalCoordinate = true; 65 | 66 | #endregion 67 | 68 | #region Public Properties 69 | 70 | public TranslationMode translationMode { 71 | get { return _translationMode; } 72 | set { _translationMode = value; } 73 | } 74 | 75 | public Vector3 translationVector { 76 | get { return _translationVector; } 77 | set { _translationVector = value; } 78 | } 79 | 80 | public float translationSpeed { 81 | get { return _translationSpeed; } 82 | set { _translationSpeed = value; } 83 | } 84 | 85 | public RotationMode rotationMode { 86 | get { return _rotationMode; } 87 | set { _rotationMode = value; } 88 | } 89 | 90 | public Vector3 rotationAxis { 91 | get { return _rotationAxis; } 92 | set { _rotationAxis = value; } 93 | } 94 | 95 | public float rotationSpeed { 96 | get { return _rotationSpeed; } 97 | set { _rotationSpeed = value; } 98 | } 99 | 100 | public bool useLocalCoordinate { 101 | get { return _useLocalCoordinate; } 102 | set { _useLocalCoordinate = value; } 103 | } 104 | 105 | #endregion 106 | 107 | #region Private Variables 108 | 109 | Vector3 _randomVectorT; 110 | Vector3 _randomVectorR; 111 | 112 | Vector3 TranslationVector { 113 | get { 114 | switch (_translationMode) 115 | { 116 | case TranslationMode.XAxis: return Vector3.right; 117 | case TranslationMode.YAxis: return Vector3.up; 118 | case TranslationMode.ZAxis: return Vector3.forward; 119 | case TranslationMode.Vector: return _translationVector; 120 | } 121 | // TranslationMode.Random 122 | return _randomVectorT; 123 | } 124 | } 125 | 126 | Vector3 RotationVector { 127 | get { 128 | switch (_rotationMode) 129 | { 130 | case RotationMode.XAxis: return Vector3.right; 131 | case RotationMode.YAxis: return Vector3.up; 132 | case RotationMode.ZAxis: return Vector3.forward; 133 | case RotationMode.Vector: return _rotationAxis; 134 | } 135 | // RotationMode.Random 136 | return _randomVectorR; 137 | } 138 | } 139 | 140 | #endregion 141 | 142 | #region MonoBehaviour Functions 143 | 144 | void Start() 145 | { 146 | _randomVectorT = Random.onUnitSphere; 147 | _randomVectorR = Random.onUnitSphere; 148 | } 149 | 150 | void Update() 151 | { 152 | var dt = Time.deltaTime; 153 | 154 | if (_translationMode != TranslationMode.Off) 155 | { 156 | var dp = TranslationVector * _translationSpeed * dt; 157 | 158 | if (_useLocalCoordinate) 159 | transform.localPosition += dp; 160 | else 161 | transform.position += dp; 162 | } 163 | 164 | if (_rotationMode != RotationMode.Off) 165 | { 166 | var dr = Quaternion.AngleAxis( 167 | _rotationSpeed * dt, RotationVector); 168 | 169 | if (_useLocalCoordinate) 170 | transform.localRotation = dr * transform.localRotation; 171 | else 172 | transform.rotation = dr * transform.rotation; 173 | } 174 | } 175 | 176 | #endregion 177 | } 178 | } 179 | -------------------------------------------------------------------------------- /Assets/Klak/Motion/BrownianMotion.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | using UnityEngine; 25 | using Klak.Math; 26 | 27 | namespace Klak.Motion 28 | { 29 | [AddComponentMenu("Klak/Motion/Brownian Motion")] 30 | public class BrownianMotion : MonoBehaviour 31 | { 32 | #region Editable Properties 33 | 34 | [SerializeField] bool _enablePositionNoise = true; 35 | [SerializeField] bool _enableRotationNoise = true; 36 | 37 | [SerializeField] float _positionFrequency = 0.2f; 38 | [SerializeField] float _rotationFrequency = 0.2f; 39 | 40 | [SerializeField] float _positionAmplitude = 0.5f; 41 | [SerializeField] float _rotationAmplitude = 10.0f; 42 | 43 | [SerializeField] Vector3 _positionScale = Vector3.one; 44 | [SerializeField] Vector3 _rotationScale = new Vector3(1, 1, 0); 45 | 46 | [SerializeField, Range(0, 8)] int _positionFractalLevel = 3; 47 | [SerializeField, Range(0, 8)] int _rotationFractalLevel = 3; 48 | 49 | #endregion 50 | 51 | #region Public Properties And Methods 52 | 53 | public bool enablePositionNoise { 54 | get { return _enablePositionNoise; } 55 | set { _enablePositionNoise = value; } 56 | } 57 | 58 | public bool enableRotationNoise { 59 | get { return _enableRotationNoise; } 60 | set { _enableRotationNoise = value; } 61 | } 62 | 63 | public float positionFrequency { 64 | get { return _positionFrequency; } 65 | set { _positionFrequency = value; } 66 | } 67 | 68 | public float rotationFrequency { 69 | get { return _rotationFrequency; } 70 | set { _rotationFrequency = value; } 71 | } 72 | 73 | public float positionAmplitude { 74 | get { return _positionAmplitude; } 75 | set { _positionAmplitude = value; } 76 | } 77 | 78 | public float rotationAmplitude { 79 | get { return _rotationAmplitude; } 80 | set { _rotationAmplitude = value; } 81 | } 82 | 83 | public Vector3 positionScale { 84 | get { return _positionScale; } 85 | set { _positionScale = value; } 86 | } 87 | 88 | public Vector3 rotationScale { 89 | get { return _rotationScale; } 90 | set { _rotationScale = value; } 91 | } 92 | 93 | public int positionFractalLevel { 94 | get { return _positionFractalLevel; } 95 | set { _positionFractalLevel = value; } 96 | } 97 | 98 | public int rotationFractalLevel { 99 | get { return _rotationFractalLevel; } 100 | set { _rotationFractalLevel = value; } 101 | } 102 | 103 | public void Rehash() 104 | { 105 | for (var i = 0; i < 6; i++) 106 | _time[i] = Random.Range(-10000.0f, 0.0f); 107 | } 108 | 109 | #endregion 110 | 111 | #region Private Members 112 | 113 | const float _fbmNorm = 1 / 0.75f; 114 | 115 | Vector3 _initialPosition; 116 | Quaternion _initialRotation; 117 | float[] _time; 118 | 119 | #endregion 120 | 121 | #region MonoBehaviour Functions 122 | 123 | void Start() 124 | { 125 | _time = new float[6]; 126 | Rehash(); 127 | } 128 | 129 | void OnEnable() 130 | { 131 | _initialPosition = transform.localPosition; 132 | _initialRotation = transform.localRotation; 133 | } 134 | 135 | void Update() 136 | { 137 | var dt = Time.deltaTime; 138 | 139 | if (_enablePositionNoise) 140 | { 141 | for (var i = 0; i < 3; i++) 142 | _time[i] += _positionFrequency * dt; 143 | 144 | var n = new Vector3( 145 | Perlin.Fbm(_time[0], _positionFractalLevel), 146 | Perlin.Fbm(_time[1], _positionFractalLevel), 147 | Perlin.Fbm(_time[2], _positionFractalLevel)); 148 | 149 | n = Vector3.Scale(n, _positionScale); 150 | n *= _positionAmplitude * _fbmNorm; 151 | 152 | transform.localPosition = _initialPosition + n; 153 | } 154 | 155 | if (_enableRotationNoise) 156 | { 157 | for (var i = 0; i < 3; i++) 158 | _time[i + 3] += _rotationFrequency * dt; 159 | 160 | var n = new Vector3( 161 | Perlin.Fbm(_time[3], _rotationFractalLevel), 162 | Perlin.Fbm(_time[4], _rotationFractalLevel), 163 | Perlin.Fbm(_time[5], _rotationFractalLevel)); 164 | 165 | n = Vector3.Scale(n, _rotationScale); 166 | n *= _rotationAmplitude * _fbmNorm; 167 | 168 | transform.localRotation = 169 | Quaternion.Euler(n) * _initialRotation; 170 | } 171 | } 172 | 173 | #endregion 174 | } 175 | } 176 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /Assets/Klak/Math/Perlin.cs: -------------------------------------------------------------------------------- 1 | // 2 | // Klak - Utilities for creative coding with Unity 3 | // 4 | // Copyright (C) 2016 Keijiro Takahashi 5 | // 6 | // Permission is hereby granted, free of charge, to any person obtaining a copy 7 | // of this software and associated documentation files (the "Software"), to deal 8 | // in the Software without restriction, including without limitation the rights 9 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | // copies of the Software, and to permit persons to whom the Software is 11 | // furnished to do so, subject to the following conditions: 12 | // 13 | // The above copyright notice and this permission notice shall be included in 14 | // all copies or substantial portions of the Software. 15 | // 16 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 | // THE SOFTWARE. 23 | // 24 | 25 | // 26 | // This script is based on the original implementation by Ken Perlin 27 | // http://mrl.nyu.edu/~perlin/noise/ 28 | // 29 | 30 | using UnityEngine; 31 | 32 | namespace Klak.Math 33 | { 34 | public static class Perlin 35 | { 36 | #region Noise functions 37 | 38 | public static float Noise(float x) 39 | { 40 | var X = Mathf.FloorToInt(x) & 0xff; 41 | x -= Mathf.Floor(x); 42 | var u = Fade(x); 43 | return Lerp(u, Grad(perm[X], x), Grad(perm[X+1], x-1)) * 2; 44 | } 45 | 46 | public static float Noise(float x, float y) 47 | { 48 | var X = Mathf.FloorToInt(x) & 0xff; 49 | var Y = Mathf.FloorToInt(y) & 0xff; 50 | x -= Mathf.Floor(x); 51 | y -= Mathf.Floor(y); 52 | var u = Fade(x); 53 | var v = Fade(y); 54 | var A = (perm[X ] + Y) & 0xff; 55 | var B = (perm[X+1] + Y) & 0xff; 56 | return Lerp(v, Lerp(u, Grad(perm[A ], x, y ), Grad(perm[B ], x-1, y )), 57 | Lerp(u, Grad(perm[A+1], x, y-1), Grad(perm[B+1], x-1, y-1))); 58 | } 59 | 60 | public static float Noise(Vector2 coord) 61 | { 62 | return Noise(coord.x, coord.y); 63 | } 64 | 65 | public static float Noise(float x, float y, float z) 66 | { 67 | var X = Mathf.FloorToInt(x) & 0xff; 68 | var Y = Mathf.FloorToInt(y) & 0xff; 69 | var Z = Mathf.FloorToInt(z) & 0xff; 70 | x -= Mathf.Floor(x); 71 | y -= Mathf.Floor(y); 72 | z -= Mathf.Floor(z); 73 | var u = Fade(x); 74 | var v = Fade(y); 75 | var w = Fade(z); 76 | var A = (perm[X ] + Y) & 0xff; 77 | var B = (perm[X+1] + Y) & 0xff; 78 | var AA = (perm[A ] + Z) & 0xff; 79 | var BA = (perm[B ] + Z) & 0xff; 80 | var AB = (perm[A+1] + Z) & 0xff; 81 | var BB = (perm[B+1] + Z) & 0xff; 82 | return Lerp(w, Lerp(v, Lerp(u, Grad(perm[AA ], x, y , z ), Grad(perm[BA ], x-1, y , z )), 83 | Lerp(u, Grad(perm[AB ], x, y-1, z ), Grad(perm[BB ], x-1, y-1, z ))), 84 | Lerp(v, Lerp(u, Grad(perm[AA+1], x, y , z-1), Grad(perm[BA+1], x-1, y , z-1)), 85 | Lerp(u, Grad(perm[AB+1], x, y-1, z-1), Grad(perm[BB+1], x-1, y-1, z-1)))); 86 | } 87 | 88 | public static float Noise(Vector3 coord) 89 | { 90 | return Noise(coord.x, coord.y, coord.z); 91 | } 92 | 93 | #endregion 94 | 95 | #region fBm functions 96 | 97 | public static float Fbm(float x, int octave) 98 | { 99 | var f = 0.0f; 100 | var w = 0.5f; 101 | for (var i = 0; i < octave; i++) { 102 | f += w * Noise(x); 103 | x *= 2.0f; 104 | w *= 0.5f; 105 | } 106 | return f; 107 | } 108 | 109 | public static float Fbm(Vector2 coord, int octave) 110 | { 111 | var f = 0.0f; 112 | var w = 0.5f; 113 | for (var i = 0; i < octave; i++) { 114 | f += w * Noise(coord); 115 | coord *= 2.0f; 116 | w *= 0.5f; 117 | } 118 | return f; 119 | } 120 | 121 | public static float Fbm(float x, float y, int octave) 122 | { 123 | return Fbm(new Vector2(x, y), octave); 124 | } 125 | 126 | public static float Fbm(Vector3 coord, int octave) 127 | { 128 | var f = 0.0f; 129 | var w = 0.5f; 130 | for (var i = 0; i < octave; i++) { 131 | f += w * Noise(coord); 132 | coord *= 2.0f; 133 | w *= 0.5f; 134 | } 135 | return f; 136 | } 137 | 138 | public static float Fbm(float x, float y, float z, int octave) 139 | { 140 | return Fbm(new Vector3(x, y, z), octave); 141 | } 142 | 143 | #endregion 144 | 145 | #region Private functions 146 | 147 | static float Fade(float t) 148 | { 149 | return t * t * t * (t * (t * 6 - 15) + 10); 150 | } 151 | 152 | static float Lerp(float t, float a, float b) 153 | { 154 | return a + t * (b - a); 155 | } 156 | 157 | static float Grad(int hash, float x) 158 | { 159 | return (hash & 1) == 0 ? x : -x; 160 | } 161 | 162 | static float Grad(int hash, float x, float y) 163 | { 164 | return ((hash & 1) == 0 ? x : -x) + ((hash & 2) == 0 ? y : -y); 165 | } 166 | 167 | static float Grad(int hash, float x, float y, float z) 168 | { 169 | var h = hash & 15; 170 | var u = h < 8 ? x : y; 171 | var v = h < 4 ? y : (h == 12 || h == 14 ? x : z); 172 | return ((h & 1) == 0 ? u : -u) + ((h & 2) == 0 ? v : -v); 173 | } 174 | 175 | static int[] perm = { 176 | 151,160,137,91,90,15, 177 | 131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23, 178 | 190, 6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33, 179 | 88,237,149,56,87,174,20,125,136,171,168, 68,175,74,165,71,134,139,48,27,166, 180 | 77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244, 181 | 102,143,54, 65,25,63,161, 1,216,80,73,209,76,132,187,208, 89,18,169,200,196, 182 | 135,130,116,188,159,86,164,100,109,198,173,186, 3,64,52,217,226,250,124,123, 183 | 5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42, 184 | 223,183,170,213,119,248,152, 2,44,154,163, 70,221,153,101,155,167, 43,172,9, 185 | 129,22,39,253, 19,98,108,110,79,113,224,232,178,185, 112,104,218,246,97,228, 186 | 251,34,242,193,238,210,144,12,191,179,162,241, 81,51,145,235,249,14,239,107, 187 | 49,192,214, 31,181,199,106,157,184, 84,204,176,115,121,50,45,127, 4,150,254, 188 | 138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180, 189 | 151 190 | }; 191 | 192 | #endregion 193 | } 194 | } 195 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | productGUID: 4a327e2cebae1a64ca11f30dd3f5d5b5 8 | AndroidProfiler: 0 9 | defaultScreenOrientation: 4 10 | targetDevice: 2 11 | useOnDemandResources: 0 12 | accelerometerFrequency: 60 13 | companyName: DefaultCompany 14 | productName: KinoStreak 15 | defaultCursor: {fileID: 0} 16 | cursorHotspot: {x: 0, y: 0} 17 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 18 | m_ShowUnitySplashScreen: 1 19 | m_ShowUnitySplashLogo: 1 20 | m_SplashScreenOverlayOpacity: 1 21 | m_SplashScreenAnimation: 1 22 | m_SplashScreenLogoStyle: 1 23 | m_SplashScreenDrawMode: 0 24 | m_SplashScreenBackgroundAnimationZoom: 1 25 | m_SplashScreenLogoAnimationZoom: 1 26 | m_SplashScreenBackgroundLandscapeAspect: 1 27 | m_SplashScreenBackgroundPortraitAspect: 1 28 | m_SplashScreenBackgroundLandscapeUvs: 29 | serializedVersion: 2 30 | x: 0 31 | y: 0 32 | width: 1 33 | height: 1 34 | m_SplashScreenBackgroundPortraitUvs: 35 | serializedVersion: 2 36 | x: 0 37 | y: 0 38 | width: 1 39 | height: 1 40 | m_SplashScreenLogos: [] 41 | m_SplashScreenBackgroundLandscape: {fileID: 0} 42 | m_SplashScreenBackgroundPortrait: {fileID: 0} 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 1 51 | m_MTRendering: 1 52 | m_MobileMTRendering: 0 53 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 54 | iosShowActivityIndicatorOnLoading: -1 55 | androidShowActivityIndicatorOnLoading: -1 56 | tizenShowActivityIndicatorOnLoading: -1 57 | iosAppInBackgroundBehavior: 0 58 | displayResolutionDialog: 1 59 | iosAllowHTTPDownload: 1 60 | allowedAutorotateToPortrait: 1 61 | allowedAutorotateToPortraitUpsideDown: 1 62 | allowedAutorotateToLandscapeRight: 1 63 | allowedAutorotateToLandscapeLeft: 1 64 | useOSAutorotation: 1 65 | use32BitDisplayBuffer: 1 66 | disableDepthAndStencilBuffers: 0 67 | defaultIsFullScreen: 1 68 | defaultIsNativeResolution: 1 69 | runInBackground: 0 70 | captureSingleScreen: 0 71 | muteOtherAudioSources: 0 72 | Prepare IOS For Recording: 0 73 | Force IOS Speakers When Recording: 0 74 | submitAnalytics: 1 75 | usePlayerLog: 1 76 | bakeCollisionMeshes: 0 77 | forceSingleInstance: 0 78 | resizableWindow: 0 79 | useMacAppStoreValidation: 0 80 | macAppStoreCategory: public.app-category.games 81 | gpuSkinning: 0 82 | graphicsJobs: 0 83 | xboxPIXTextureCapture: 0 84 | xboxEnableAvatar: 0 85 | xboxEnableKinect: 0 86 | xboxEnableKinectAutoTracking: 0 87 | xboxEnableFitness: 0 88 | visibleInBackground: 1 89 | allowFullscreenSwitch: 1 90 | graphicsJobMode: 0 91 | macFullscreenMode: 2 92 | d3d9FullscreenMode: 1 93 | d3d11FullscreenMode: 1 94 | xboxSpeechDB: 0 95 | xboxEnableHeadOrientation: 0 96 | xboxEnableGuest: 0 97 | xboxEnablePIXSampling: 0 98 | n3dsDisableStereoscopicView: 0 99 | n3dsEnableSharedListOpt: 1 100 | n3dsEnableVSync: 0 101 | ignoreAlphaClear: 0 102 | xboxOneResolution: 0 103 | xboxOneMonoLoggingLevel: 0 104 | xboxOneLoggingLevel: 1 105 | xboxOneDisableEsram: 0 106 | videoMemoryForVertexBuffers: 0 107 | psp2PowerMode: 0 108 | psp2AcquireBGM: 1 109 | wiiUTVResolution: 0 110 | wiiUGamePadMSAA: 1 111 | wiiUSupportsNunchuk: 0 112 | wiiUSupportsClassicController: 0 113 | wiiUSupportsBalanceBoard: 0 114 | wiiUSupportsMotionPlus: 0 115 | wiiUSupportsProController: 0 116 | wiiUAllowScreenCapture: 1 117 | wiiUControllerCount: 0 118 | m_SupportedAspectRatios: 119 | 4:3: 1 120 | 5:4: 1 121 | 16:10: 1 122 | 16:9: 1 123 | Others: 1 124 | bundleVersion: 1.0 125 | preloadedAssets: [] 126 | metroInputSource: 0 127 | m_HolographicPauseOnTrackingLoss: 1 128 | xboxOneDisableKinectGpuReservation: 0 129 | xboxOneEnable7thCore: 0 130 | vrSettings: 131 | cardboard: 132 | depthFormat: 0 133 | enableTransitionView: 0 134 | daydream: 135 | depthFormat: 0 136 | useSustainedPerformanceMode: 0 137 | hololens: 138 | depthFormat: 1 139 | protectGraphicsMemory: 0 140 | useHDRDisplay: 0 141 | targetPixelDensity: 0 142 | resolutionScalingMode: 0 143 | applicationIdentifier: {} 144 | buildNumber: {} 145 | AndroidBundleVersionCode: 1 146 | AndroidMinSdkVersion: 16 147 | AndroidTargetSdkVersion: 0 148 | AndroidPreferredInstallLocation: 1 149 | aotOptions: 150 | stripEngineCode: 1 151 | iPhoneStrippingLevel: 0 152 | iPhoneScriptCallOptimization: 0 153 | ForceInternetPermission: 0 154 | ForceSDCardPermission: 0 155 | CreateWallpaper: 0 156 | APKExpansionFiles: 0 157 | keepLoadedShadersAlive: 0 158 | StripUnusedMeshComponents: 0 159 | VertexChannelCompressionMask: 160 | serializedVersion: 2 161 | m_Bits: 238 162 | iPhoneSdkVersion: 988 163 | iOSTargetOSVersionString: 164 | tvOSSdkVersion: 0 165 | tvOSRequireExtendedGameController: 0 166 | tvOSTargetOSVersionString: 167 | uIPrerenderedIcon: 0 168 | uIRequiresPersistentWiFi: 0 169 | uIRequiresFullScreen: 1 170 | uIStatusBarHidden: 1 171 | uIExitOnSuspend: 0 172 | uIStatusBarStyle: 0 173 | iPhoneSplashScreen: {fileID: 0} 174 | iPhoneHighResSplashScreen: {fileID: 0} 175 | iPhoneTallHighResSplashScreen: {fileID: 0} 176 | iPhone47inSplashScreen: {fileID: 0} 177 | iPhone55inPortraitSplashScreen: {fileID: 0} 178 | iPhone55inLandscapeSplashScreen: {fileID: 0} 179 | iPadPortraitSplashScreen: {fileID: 0} 180 | iPadHighResPortraitSplashScreen: {fileID: 0} 181 | iPadLandscapeSplashScreen: {fileID: 0} 182 | iPadHighResLandscapeSplashScreen: {fileID: 0} 183 | appleTVSplashScreen: {fileID: 0} 184 | tvOSSmallIconLayers: [] 185 | tvOSLargeIconLayers: [] 186 | tvOSTopShelfImageLayers: [] 187 | tvOSTopShelfImageWideLayers: [] 188 | iOSLaunchScreenType: 0 189 | iOSLaunchScreenPortrait: {fileID: 0} 190 | iOSLaunchScreenLandscape: {fileID: 0} 191 | iOSLaunchScreenBackgroundColor: 192 | serializedVersion: 2 193 | rgba: 0 194 | iOSLaunchScreenFillPct: 100 195 | iOSLaunchScreenSize: 100 196 | iOSLaunchScreenCustomXibPath: 197 | iOSLaunchScreeniPadType: 0 198 | iOSLaunchScreeniPadImage: {fileID: 0} 199 | iOSLaunchScreeniPadBackgroundColor: 200 | serializedVersion: 2 201 | rgba: 0 202 | iOSLaunchScreeniPadFillPct: 100 203 | iOSLaunchScreeniPadSize: 100 204 | iOSLaunchScreeniPadCustomXibPath: 205 | iOSDeviceRequirements: [] 206 | iOSURLSchemes: [] 207 | iOSBackgroundModes: 0 208 | iOSMetalForceHardShadows: 0 209 | metalEditorSupport: 1 210 | metalAPIValidation: 1 211 | iOSRenderExtraFrameOnPause: 0 212 | appleDeveloperTeamID: 213 | iOSManualSigningProvisioningProfileID: 214 | tvOSManualSigningProvisioningProfileID: 215 | appleEnableAutomaticSigning: 0 216 | AndroidTargetDevice: 0 217 | AndroidSplashScreenScale: 0 218 | androidSplashScreen: {fileID: 0} 219 | AndroidKeystoreName: 220 | AndroidKeyaliasName: 221 | AndroidTVCompatibility: 1 222 | AndroidIsGame: 1 223 | androidEnableBanner: 1 224 | m_AndroidBanners: 225 | - width: 320 226 | height: 180 227 | banner: {fileID: 0} 228 | androidGamepadSupportLevel: 0 229 | resolutionDialogBanner: {fileID: 0} 230 | m_BuildTargetIcons: [] 231 | m_BuildTargetBatching: [] 232 | m_BuildTargetGraphicsAPIs: [] 233 | m_BuildTargetVRSettings: [] 234 | openGLRequireES31: 0 235 | openGLRequireES31AEP: 0 236 | webPlayerTemplate: APPLICATION:Default 237 | m_TemplateCustomTags: {} 238 | wiiUTitleID: 0005000011000000 239 | wiiUGroupID: 00010000 240 | wiiUCommonSaveSize: 4096 241 | wiiUAccountSaveSize: 2048 242 | wiiUOlvAccessKey: 0 243 | wiiUTinCode: 0 244 | wiiUJoinGameId: 0 245 | wiiUJoinGameModeMask: 0000000000000000 246 | wiiUCommonBossSize: 0 247 | wiiUAccountBossSize: 0 248 | wiiUAddOnUniqueIDs: [] 249 | wiiUMainThreadStackSize: 3072 250 | wiiULoaderThreadStackSize: 1024 251 | wiiUSystemHeapSize: 128 252 | wiiUTVStartupScreen: {fileID: 0} 253 | wiiUGamePadStartupScreen: {fileID: 0} 254 | wiiUDrcBufferDisabled: 0 255 | wiiUProfilerLibPath: 256 | playModeTestRunnerEnabled: 0 257 | actionOnDotNetUnhandledException: 1 258 | enableInternalProfiler: 0 259 | logObjCUncaughtExceptions: 1 260 | enableCrashReportAPI: 0 261 | cameraUsageDescription: 262 | locationUsageDescription: 263 | microphoneUsageDescription: 264 | switchNetLibKey: 265 | switchSocketMemoryPoolSize: 6144 266 | switchSocketAllocatorPoolSize: 128 267 | switchSocketConcurrencyLimit: 14 268 | switchScreenResolutionBehavior: 2 269 | switchUseCPUProfiler: 0 270 | switchApplicationID: 0x01004b9000490000 271 | switchNSODependencies: 272 | switchTitleNames_0: 273 | switchTitleNames_1: 274 | switchTitleNames_2: 275 | switchTitleNames_3: 276 | switchTitleNames_4: 277 | switchTitleNames_5: 278 | switchTitleNames_6: 279 | switchTitleNames_7: 280 | switchTitleNames_8: 281 | switchTitleNames_9: 282 | switchTitleNames_10: 283 | switchTitleNames_11: 284 | switchPublisherNames_0: 285 | switchPublisherNames_1: 286 | switchPublisherNames_2: 287 | switchPublisherNames_3: 288 | switchPublisherNames_4: 289 | switchPublisherNames_5: 290 | switchPublisherNames_6: 291 | switchPublisherNames_7: 292 | switchPublisherNames_8: 293 | switchPublisherNames_9: 294 | switchPublisherNames_10: 295 | switchPublisherNames_11: 296 | switchIcons_0: {fileID: 0} 297 | switchIcons_1: {fileID: 0} 298 | switchIcons_2: {fileID: 0} 299 | switchIcons_3: {fileID: 0} 300 | switchIcons_4: {fileID: 0} 301 | switchIcons_5: {fileID: 0} 302 | switchIcons_6: {fileID: 0} 303 | switchIcons_7: {fileID: 0} 304 | switchIcons_8: {fileID: 0} 305 | switchIcons_9: {fileID: 0} 306 | switchIcons_10: {fileID: 0} 307 | switchIcons_11: {fileID: 0} 308 | switchSmallIcons_0: {fileID: 0} 309 | switchSmallIcons_1: {fileID: 0} 310 | switchSmallIcons_2: {fileID: 0} 311 | switchSmallIcons_3: {fileID: 0} 312 | switchSmallIcons_4: {fileID: 0} 313 | switchSmallIcons_5: {fileID: 0} 314 | switchSmallIcons_6: {fileID: 0} 315 | switchSmallIcons_7: {fileID: 0} 316 | switchSmallIcons_8: {fileID: 0} 317 | switchSmallIcons_9: {fileID: 0} 318 | switchSmallIcons_10: {fileID: 0} 319 | switchSmallIcons_11: {fileID: 0} 320 | switchManualHTML: 321 | switchAccessibleURLs: 322 | switchLegalInformation: 323 | switchMainThreadStackSize: 1048576 324 | switchPresenceGroupId: 325 | switchLogoHandling: 0 326 | switchReleaseVersion: 0 327 | switchDisplayVersion: 1.0.0 328 | switchStartupUserAccount: 0 329 | switchTouchScreenUsage: 0 330 | switchSupportedLanguagesMask: 0 331 | switchLogoType: 0 332 | switchApplicationErrorCodeCategory: 333 | switchUserAccountSaveDataSize: 0 334 | switchUserAccountSaveDataJournalSize: 0 335 | switchApplicationAttribute: 0 336 | switchCardSpecSize: -1 337 | switchCardSpecClock: -1 338 | switchRatingsMask: 0 339 | switchRatingsInt_0: 0 340 | switchRatingsInt_1: 0 341 | switchRatingsInt_2: 0 342 | switchRatingsInt_3: 0 343 | switchRatingsInt_4: 0 344 | switchRatingsInt_5: 0 345 | switchRatingsInt_6: 0 346 | switchRatingsInt_7: 0 347 | switchRatingsInt_8: 0 348 | switchRatingsInt_9: 0 349 | switchRatingsInt_10: 0 350 | switchRatingsInt_11: 0 351 | switchLocalCommunicationIds_0: 352 | switchLocalCommunicationIds_1: 353 | switchLocalCommunicationIds_2: 354 | switchLocalCommunicationIds_3: 355 | switchLocalCommunicationIds_4: 356 | switchLocalCommunicationIds_5: 357 | switchLocalCommunicationIds_6: 358 | switchLocalCommunicationIds_7: 359 | switchParentalControl: 0 360 | switchAllowsScreenshot: 1 361 | switchDataLossConfirmation: 0 362 | switchSupportedNpadStyles: 3 363 | switchSocketConfigEnabled: 0 364 | switchTcpInitialSendBufferSize: 32 365 | switchTcpInitialReceiveBufferSize: 64 366 | switchTcpAutoSendBufferSizeMax: 256 367 | switchTcpAutoReceiveBufferSizeMax: 256 368 | switchUdpSendBufferSize: 9 369 | switchUdpReceiveBufferSize: 42 370 | switchSocketBufferEfficiency: 4 371 | switchSocketInitializeEnabled: 1 372 | switchNetworkInterfaceManagerInitializeEnabled: 1 373 | switchPlayerConnectionEnabled: 1 374 | ps4NPAgeRating: 12 375 | ps4NPTitleSecret: 376 | ps4NPTrophyPackPath: 377 | ps4ParentalLevel: 11 378 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 379 | ps4Category: 0 380 | ps4MasterVersion: 01.00 381 | ps4AppVersion: 01.00 382 | ps4AppType: 0 383 | ps4ParamSfxPath: 384 | ps4VideoOutPixelFormat: 0 385 | ps4VideoOutInitialWidth: 1920 386 | ps4VideoOutBaseModeInitialWidth: 1920 387 | ps4VideoOutReprojectionRate: 120 388 | ps4PronunciationXMLPath: 389 | ps4PronunciationSIGPath: 390 | ps4BackgroundImagePath: 391 | ps4StartupImagePath: 392 | ps4SaveDataImagePath: 393 | ps4SdkOverride: 394 | ps4BGMPath: 395 | ps4ShareFilePath: 396 | ps4ShareOverlayImagePath: 397 | ps4PrivacyGuardImagePath: 398 | ps4NPtitleDatPath: 399 | ps4RemotePlayKeyAssignment: -1 400 | ps4RemotePlayKeyMappingDir: 401 | ps4PlayTogetherPlayerCount: 0 402 | ps4EnterButtonAssignment: 1 403 | ps4ApplicationParam1: 0 404 | ps4ApplicationParam2: 0 405 | ps4ApplicationParam3: 0 406 | ps4ApplicationParam4: 0 407 | ps4DownloadDataSize: 0 408 | ps4GarlicHeapSize: 2048 409 | ps4ProGarlicHeapSize: 2560 410 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 411 | ps4pnSessions: 1 412 | ps4pnPresence: 1 413 | ps4pnFriends: 1 414 | ps4pnGameCustomData: 1 415 | playerPrefsSupport: 0 416 | restrictedAudioUsageRights: 0 417 | ps4UseResolutionFallback: 0 418 | ps4ReprojectionSupport: 0 419 | ps4UseAudio3dBackend: 0 420 | ps4SocialScreenEnabled: 0 421 | ps4ScriptOptimizationLevel: 0 422 | ps4Audio3dVirtualSpeakerCount: 14 423 | ps4attribCpuUsage: 0 424 | ps4PatchPkgPath: 425 | ps4PatchLatestPkgPath: 426 | ps4PatchChangeinfoPath: 427 | ps4PatchDayOne: 0 428 | ps4attribUserManagement: 0 429 | ps4attribMoveSupport: 0 430 | ps4attrib3DSupport: 0 431 | ps4attribShareSupport: 0 432 | ps4attribExclusiveVR: 0 433 | ps4disableAutoHideSplash: 0 434 | ps4videoRecordingFeaturesUsed: 0 435 | ps4contentSearchFeaturesUsed: 0 436 | ps4attribEyeToEyeDistanceSettingVR: 0 437 | ps4IncludedModules: [] 438 | monoEnv: 439 | psp2Splashimage: {fileID: 0} 440 | psp2NPTrophyPackPath: 441 | psp2NPSupportGBMorGJP: 0 442 | psp2NPAgeRating: 12 443 | psp2NPTitleDatPath: 444 | psp2NPCommsID: 445 | psp2NPCommunicationsID: 446 | psp2NPCommsPassphrase: 447 | psp2NPCommsSig: 448 | psp2ParamSfxPath: 449 | psp2ManualPath: 450 | psp2LiveAreaGatePath: 451 | psp2LiveAreaBackroundPath: 452 | psp2LiveAreaPath: 453 | psp2LiveAreaTrialPath: 454 | psp2PatchChangeInfoPath: 455 | psp2PatchOriginalPackage: 456 | psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui 457 | psp2KeystoneFile: 458 | psp2MemoryExpansionMode: 0 459 | psp2DRMType: 0 460 | psp2StorageType: 0 461 | psp2MediaCapacity: 0 462 | psp2DLCConfigPath: 463 | psp2ThumbnailPath: 464 | psp2BackgroundPath: 465 | psp2SoundPath: 466 | psp2TrophyCommId: 467 | psp2TrophyPackagePath: 468 | psp2PackagedResourcesPath: 469 | psp2SaveDataQuota: 10240 470 | psp2ParentalLevel: 1 471 | psp2ShortTitle: Not Set 472 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 473 | psp2Category: 0 474 | psp2MasterVersion: 01.00 475 | psp2AppVersion: 01.00 476 | psp2TVBootMode: 0 477 | psp2EnterButtonAssignment: 2 478 | psp2TVDisableEmu: 0 479 | psp2AllowTwitterDialog: 1 480 | psp2Upgradable: 0 481 | psp2HealthWarning: 0 482 | psp2UseLibLocation: 0 483 | psp2InfoBarOnStartup: 0 484 | psp2InfoBarColor: 0 485 | psp2ScriptOptimizationLevel: 0 486 | psmSplashimage: {fileID: 0} 487 | splashScreenBackgroundSourceLandscape: {fileID: 0} 488 | splashScreenBackgroundSourcePortrait: {fileID: 0} 489 | spritePackerPolicy: 490 | webGLMemorySize: 256 491 | webGLExceptionSupport: 1 492 | webGLNameFilesAsHashes: 0 493 | webGLDataCaching: 0 494 | webGLDebugSymbols: 0 495 | webGLEmscriptenArgs: 496 | webGLModulesDirectory: 497 | webGLTemplate: APPLICATION:Default 498 | webGLAnalyzeBuildSize: 0 499 | webGLUseEmbeddedResources: 0 500 | webGLUseWasm: 0 501 | webGLCompressionFormat: 1 502 | scriptingDefineSymbols: {} 503 | platformArchitecture: {} 504 | scriptingBackend: {} 505 | incrementalIl2cppBuild: {} 506 | additionalIl2CppArgs: 507 | scriptingRuntimeVersion: 0 508 | apiCompatibilityLevelPerPlatform: {} 509 | m_RenderingPath: 1 510 | m_MobileRenderingPath: 1 511 | metroPackageName: KinoStreak 512 | metroPackageVersion: 513 | metroCertificatePath: 514 | metroCertificatePassword: 515 | metroCertificateSubject: 516 | metroCertificateIssuer: 517 | metroCertificateNotAfter: 0000000000000000 518 | metroApplicationDescription: KinoStreak 519 | wsaImages: {} 520 | metroTileShortName: 521 | metroCommandLineArgsFile: 522 | metroTileShowName: 0 523 | metroMediumTileShowName: 0 524 | metroLargeTileShowName: 0 525 | metroWideTileShowName: 0 526 | metroDefaultTileSize: 1 527 | metroTileForegroundText: 2 528 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 529 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 530 | a: 1} 531 | metroSplashScreenUseBackgroundColor: 0 532 | platformCapabilities: {} 533 | metroFTAName: 534 | metroFTAFileTypes: [] 535 | metroProtocolName: 536 | metroCompilationOverrides: 1 537 | tizenProductDescription: 538 | tizenProductURL: 539 | tizenSigningProfileName: 540 | tizenGPSPermissions: 0 541 | tizenMicrophonePermissions: 0 542 | tizenDeploymentTarget: 543 | tizenDeploymentTargetType: -1 544 | tizenMinOSVersion: 1 545 | n3dsUseExtSaveData: 0 546 | n3dsCompressStaticMem: 1 547 | n3dsExtSaveDataNumber: 0x12345 548 | n3dsStackSize: 131072 549 | n3dsTargetPlatform: 2 550 | n3dsRegion: 7 551 | n3dsMediaSize: 0 552 | n3dsLogoStyle: 3 553 | n3dsTitle: GameName 554 | n3dsProductCode: 555 | n3dsApplicationId: 0xFF3FF 556 | stvDeviceAddress: 557 | stvProductDescription: 558 | stvProductAuthor: 559 | stvProductAuthorEmail: 560 | stvProductLink: 561 | stvProductCategory: 0 562 | XboxOneProductId: 563 | XboxOneUpdateKey: 564 | XboxOneSandboxId: 565 | XboxOneContentId: 566 | XboxOneTitleId: 567 | XboxOneSCId: 568 | XboxOneGameOsOverridePath: 569 | XboxOnePackagingOverridePath: 570 | XboxOneAppManifestOverridePath: 571 | XboxOnePackageEncryption: 0 572 | XboxOnePackageUpdateGranularity: 2 573 | XboxOneDescription: 574 | XboxOneLanguage: 575 | - enus 576 | XboxOneCapability: [] 577 | XboxOneGameRating: {} 578 | XboxOneIsContentPackage: 0 579 | XboxOneEnableGPUVariability: 0 580 | XboxOneSockets: {} 581 | XboxOneSplashScreen: {fileID: 0} 582 | XboxOneAllowedProductIds: [] 583 | XboxOnePersistentLocalStorageSize: 0 584 | xboxOneScriptCompiler: 0 585 | vrEditorSettings: 586 | daydream: 587 | daydreamIconForeground: {fileID: 0} 588 | daydreamIconBackground: {fileID: 0} 589 | cloudServicesEnabled: {} 590 | facebookSdkVersion: 7.9.4 591 | apiCompatibilityLevel: 2 592 | cloudProjectId: 593 | projectName: 594 | organizationId: 595 | cloudEnabled: 0 596 | enableNativePlatformBackendsForNewInputSystem: 0 597 | disableOldInputManagerSupport: 0 598 | -------------------------------------------------------------------------------- /Assets/Test.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 8 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 2100000, guid: e7100284521fbf64285d12c0727c874b, type: 2} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 512 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0.59395075, g: 0.6436331, b: 0.7668743, a: 1} 42 | --- !u!157 &3 43 | LightmapSettings: 44 | m_ObjectHideFlags: 0 45 | serializedVersion: 11 46 | m_GIWorkflowMode: 0 47 | m_GISettings: 48 | serializedVersion: 2 49 | m_BounceScale: 1 50 | m_IndirectOutputScale: 1 51 | m_AlbedoBoost: 1 52 | m_TemporalCoherenceThreshold: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 9 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_TextureWidth: 1024 61 | m_TextureHeight: 1024 62 | m_AO: 0 63 | m_AOMaxDistance: 1 64 | m_CompAOExponent: 1 65 | m_CompAOExponentDirect: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 0 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 500 79 | m_PVRBounces: 2 80 | m_PVRFiltering: 0 81 | m_PVRFilteringMode: 1 82 | m_PVRCulling: 1 83 | m_PVRFilteringGaussRadiusDirect: 1 84 | m_PVRFilteringGaussRadiusIndirect: 5 85 | m_PVRFilteringGaussRadiusAO: 2 86 | m_PVRFilteringAtrousColorSigma: 1 87 | m_PVRFilteringAtrousNormalSigma: 1 88 | m_PVRFilteringAtrousPositionSigma: 1 89 | m_LightingDataAsset: {fileID: 0} 90 | m_UseShadowmask: 1 91 | --- !u!196 &4 92 | NavMeshSettings: 93 | serializedVersion: 2 94 | m_ObjectHideFlags: 0 95 | m_BuildSettings: 96 | serializedVersion: 2 97 | agentTypeID: 0 98 | agentRadius: 0.5 99 | agentHeight: 2 100 | agentSlope: 45 101 | agentClimb: 0.4 102 | ledgeDropHeight: 0 103 | maxJumpAcrossDistance: 0 104 | minRegionArea: 2 105 | manualCellSize: 0 106 | cellSize: 0.16666667 107 | manualTileSize: 0 108 | tileSize: 256 109 | accuratePlacement: 0 110 | m_NavMeshData: {fileID: 0} 111 | --- !u!1 &511454836 stripped 112 | GameObject: 113 | m_PrefabParentObject: {fileID: 100000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 114 | m_PrefabInternal: {fileID: 1864596116} 115 | --- !u!114 &511454840 116 | MonoBehaviour: 117 | m_ObjectHideFlags: 0 118 | m_PrefabParentObject: {fileID: 0} 119 | m_PrefabInternal: {fileID: 0} 120 | m_GameObject: {fileID: 511454836} 121 | m_Enabled: 1 122 | m_EditorHideFlags: 0 123 | m_Script: {fileID: 11500000, guid: 3db4c4a72731246b2b1ad1e73178c04e, type: 3} 124 | m_Name: 125 | m_EditorClassIdentifier: 126 | _translationMode: 0 127 | _translationVector: {x: 0, y: 0, z: 1} 128 | _translationSpeed: 1 129 | _rotationMode: 2 130 | _rotationAxis: {x: 0, y: 1, z: 0} 131 | _rotationSpeed: 30 132 | _useLocalCoordinate: 1 133 | --- !u!1 &674403032 134 | GameObject: 135 | m_ObjectHideFlags: 0 136 | m_PrefabParentObject: {fileID: 0} 137 | m_PrefabInternal: {fileID: 0} 138 | serializedVersion: 5 139 | m_Component: 140 | - component: {fileID: 674403036} 141 | - component: {fileID: 674403035} 142 | - component: {fileID: 674403034} 143 | - component: {fileID: 674403033} 144 | m_Layer: 0 145 | m_Name: Emission 146 | m_TagString: Untagged 147 | m_Icon: {fileID: 0} 148 | m_NavMeshLayer: 0 149 | m_StaticEditorFlags: 0 150 | m_IsActive: 1 151 | --- !u!23 &674403033 152 | MeshRenderer: 153 | m_ObjectHideFlags: 0 154 | m_PrefabParentObject: {fileID: 0} 155 | m_PrefabInternal: {fileID: 0} 156 | m_GameObject: {fileID: 674403032} 157 | m_Enabled: 1 158 | m_CastShadows: 1 159 | m_ReceiveShadows: 1 160 | m_MotionVectors: 1 161 | m_LightProbeUsage: 1 162 | m_ReflectionProbeUsage: 1 163 | m_Materials: 164 | - {fileID: 2100000, guid: 17a41713e0e45eb46a7b3ae948be7698, type: 2} 165 | m_StaticBatchInfo: 166 | firstSubMesh: 0 167 | subMeshCount: 0 168 | m_StaticBatchRoot: {fileID: 0} 169 | m_ProbeAnchor: {fileID: 0} 170 | m_LightProbeVolumeOverride: {fileID: 0} 171 | m_ScaleInLightmap: 1 172 | m_PreserveUVs: 1 173 | m_IgnoreNormalsForChartDetection: 0 174 | m_ImportantGI: 0 175 | m_SelectedEditorRenderState: 3 176 | m_MinimumChartSize: 4 177 | m_AutoUVMaxDistance: 0.5 178 | m_AutoUVMaxAngle: 89 179 | m_LightmapParameters: {fileID: 0} 180 | m_SortingLayerID: 0 181 | m_SortingLayer: 0 182 | m_SortingOrder: 0 183 | --- !u!135 &674403034 184 | SphereCollider: 185 | m_ObjectHideFlags: 0 186 | m_PrefabParentObject: {fileID: 0} 187 | m_PrefabInternal: {fileID: 0} 188 | m_GameObject: {fileID: 674403032} 189 | m_Material: {fileID: 0} 190 | m_IsTrigger: 0 191 | m_Enabled: 1 192 | serializedVersion: 2 193 | m_Radius: 0.5 194 | m_Center: {x: 0, y: 0, z: 0} 195 | --- !u!33 &674403035 196 | MeshFilter: 197 | m_ObjectHideFlags: 0 198 | m_PrefabParentObject: {fileID: 0} 199 | m_PrefabInternal: {fileID: 0} 200 | m_GameObject: {fileID: 674403032} 201 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 202 | --- !u!4 &674403036 203 | Transform: 204 | m_ObjectHideFlags: 0 205 | m_PrefabParentObject: {fileID: 0} 206 | m_PrefabInternal: {fileID: 0} 207 | m_GameObject: {fileID: 674403032} 208 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 209 | m_LocalPosition: {x: 0, y: 0, z: 0} 210 | m_LocalScale: {x: 0.1, y: 0.1, z: 0.1} 211 | m_Children: [] 212 | m_Father: {fileID: 0} 213 | m_RootOrder: 3 214 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 215 | --- !u!1 &743112971 216 | GameObject: 217 | m_ObjectHideFlags: 0 218 | m_PrefabParentObject: {fileID: 0} 219 | m_PrefabInternal: {fileID: 0} 220 | serializedVersion: 5 221 | m_Component: 222 | - component: {fileID: 743112975} 223 | - component: {fileID: 743112974} 224 | - component: {fileID: 743112972} 225 | m_Layer: 0 226 | m_Name: Sphere 227 | m_TagString: Untagged 228 | m_Icon: {fileID: 0} 229 | m_NavMeshLayer: 0 230 | m_StaticEditorFlags: 0 231 | m_IsActive: 1 232 | --- !u!23 &743112972 233 | MeshRenderer: 234 | m_ObjectHideFlags: 0 235 | m_PrefabParentObject: {fileID: 0} 236 | m_PrefabInternal: {fileID: 0} 237 | m_GameObject: {fileID: 743112971} 238 | m_Enabled: 1 239 | m_CastShadows: 1 240 | m_ReceiveShadows: 1 241 | m_MotionVectors: 1 242 | m_LightProbeUsage: 1 243 | m_ReflectionProbeUsage: 1 244 | m_Materials: 245 | - {fileID: 2100000, guid: 584cc37974c696647a1fa3cb974f4678, type: 2} 246 | m_StaticBatchInfo: 247 | firstSubMesh: 0 248 | subMeshCount: 0 249 | m_StaticBatchRoot: {fileID: 0} 250 | m_ProbeAnchor: {fileID: 0} 251 | m_LightProbeVolumeOverride: {fileID: 0} 252 | m_ScaleInLightmap: 1 253 | m_PreserveUVs: 1 254 | m_IgnoreNormalsForChartDetection: 0 255 | m_ImportantGI: 0 256 | m_SelectedEditorRenderState: 3 257 | m_MinimumChartSize: 4 258 | m_AutoUVMaxDistance: 0.5 259 | m_AutoUVMaxAngle: 89 260 | m_LightmapParameters: {fileID: 0} 261 | m_SortingLayerID: 0 262 | m_SortingLayer: 0 263 | m_SortingOrder: 0 264 | --- !u!33 &743112974 265 | MeshFilter: 266 | m_ObjectHideFlags: 0 267 | m_PrefabParentObject: {fileID: 0} 268 | m_PrefabInternal: {fileID: 0} 269 | m_GameObject: {fileID: 743112971} 270 | m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} 271 | --- !u!4 &743112975 272 | Transform: 273 | m_ObjectHideFlags: 0 274 | m_PrefabParentObject: {fileID: 0} 275 | m_PrefabInternal: {fileID: 0} 276 | m_GameObject: {fileID: 743112971} 277 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 278 | m_LocalPosition: {x: -1.4, y: -1, z: 0} 279 | m_LocalScale: {x: 1, y: 1, z: 1} 280 | m_Children: [] 281 | m_Father: {fileID: 0} 282 | m_RootOrder: 2 283 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 284 | --- !u!1 &1535879295 285 | GameObject: 286 | m_ObjectHideFlags: 0 287 | m_PrefabParentObject: {fileID: 0} 288 | m_PrefabInternal: {fileID: 0} 289 | serializedVersion: 5 290 | m_Component: 291 | - component: {fileID: 1535879299} 292 | - component: {fileID: 1535879298} 293 | - component: {fileID: 1535879296} 294 | - component: {fileID: 1535879300} 295 | m_Layer: 0 296 | m_Name: Cube 297 | m_TagString: Untagged 298 | m_Icon: {fileID: 0} 299 | m_NavMeshLayer: 0 300 | m_StaticEditorFlags: 0 301 | m_IsActive: 1 302 | --- !u!23 &1535879296 303 | MeshRenderer: 304 | m_ObjectHideFlags: 0 305 | m_PrefabParentObject: {fileID: 0} 306 | m_PrefabInternal: {fileID: 0} 307 | m_GameObject: {fileID: 1535879295} 308 | m_Enabled: 1 309 | m_CastShadows: 1 310 | m_ReceiveShadows: 1 311 | m_MotionVectors: 1 312 | m_LightProbeUsage: 1 313 | m_ReflectionProbeUsage: 1 314 | m_Materials: 315 | - {fileID: 2100000, guid: 584cc37974c696647a1fa3cb974f4678, type: 2} 316 | m_StaticBatchInfo: 317 | firstSubMesh: 0 318 | subMeshCount: 0 319 | m_StaticBatchRoot: {fileID: 0} 320 | m_ProbeAnchor: {fileID: 0} 321 | m_LightProbeVolumeOverride: {fileID: 0} 322 | m_ScaleInLightmap: 1 323 | m_PreserveUVs: 1 324 | m_IgnoreNormalsForChartDetection: 0 325 | m_ImportantGI: 0 326 | m_SelectedEditorRenderState: 3 327 | m_MinimumChartSize: 4 328 | m_AutoUVMaxDistance: 0.5 329 | m_AutoUVMaxAngle: 89 330 | m_LightmapParameters: {fileID: 0} 331 | m_SortingLayerID: 0 332 | m_SortingLayer: 0 333 | m_SortingOrder: 0 334 | --- !u!33 &1535879298 335 | MeshFilter: 336 | m_ObjectHideFlags: 0 337 | m_PrefabParentObject: {fileID: 0} 338 | m_PrefabInternal: {fileID: 0} 339 | m_GameObject: {fileID: 1535879295} 340 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 341 | --- !u!4 &1535879299 342 | Transform: 343 | m_ObjectHideFlags: 0 344 | m_PrefabParentObject: {fileID: 0} 345 | m_PrefabInternal: {fileID: 0} 346 | m_GameObject: {fileID: 1535879295} 347 | m_LocalRotation: {x: 0.12995829, y: 0.60542375, z: -0.7263183, w: 0.29838684} 348 | m_LocalPosition: {x: -1.5, y: 0.75, z: 0} 349 | m_LocalScale: {x: 1, y: 1, z: 1} 350 | m_Children: [] 351 | m_Father: {fileID: 0} 352 | m_RootOrder: 1 353 | m_LocalEulerAnglesHint: {x: 106.86, y: 216.5, z: 72.16} 354 | --- !u!114 &1535879300 355 | MonoBehaviour: 356 | m_ObjectHideFlags: 0 357 | m_PrefabParentObject: {fileID: 0} 358 | m_PrefabInternal: {fileID: 0} 359 | m_GameObject: {fileID: 1535879295} 360 | m_Enabled: 1 361 | m_EditorHideFlags: 0 362 | m_Script: {fileID: 11500000, guid: 3db4c4a72731246b2b1ad1e73178c04e, type: 3} 363 | m_Name: 364 | m_EditorClassIdentifier: 365 | _translationMode: 0 366 | _translationVector: {x: 0, y: 0, z: 1} 367 | _translationSpeed: 1 368 | _rotationMode: 1 369 | _rotationAxis: {x: 0, y: 1, z: 0} 370 | _rotationSpeed: -30 371 | _useLocalCoordinate: 1 372 | --- !u!1001 &1864596116 373 | Prefab: 374 | m_ObjectHideFlags: 0 375 | serializedVersion: 2 376 | m_Modification: 377 | m_TransformParent: {fileID: 0} 378 | m_Modifications: 379 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 380 | propertyPath: m_LocalPosition.x 381 | value: 1.3 382 | objectReference: {fileID: 0} 383 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 384 | propertyPath: m_LocalPosition.y 385 | value: -4 386 | objectReference: {fileID: 0} 387 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 388 | propertyPath: m_LocalPosition.z 389 | value: 0 390 | objectReference: {fileID: 0} 391 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 392 | propertyPath: m_LocalRotation.x 393 | value: 0 394 | objectReference: {fileID: 0} 395 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 396 | propertyPath: m_LocalRotation.y 397 | value: 0.57357657 398 | objectReference: {fileID: 0} 399 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 400 | propertyPath: m_LocalRotation.z 401 | value: -0 402 | objectReference: {fileID: 0} 403 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 404 | propertyPath: m_LocalRotation.w 405 | value: -0.81915194 406 | objectReference: {fileID: 0} 407 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 408 | propertyPath: m_RootOrder 409 | value: 4 410 | objectReference: {fileID: 0} 411 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 412 | propertyPath: m_LocalEulerAnglesHint.y 413 | value: 290 414 | objectReference: {fileID: 0} 415 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 416 | propertyPath: m_LocalScale.x 417 | value: 3 418 | objectReference: {fileID: 0} 419 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 420 | propertyPath: m_LocalScale.y 421 | value: 3 422 | objectReference: {fileID: 0} 423 | - target: {fileID: 400000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 424 | propertyPath: m_LocalScale.z 425 | value: 3 426 | objectReference: {fileID: 0} 427 | - target: {fileID: 100000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 428 | propertyPath: m_IsActive 429 | value: 1 430 | objectReference: {fileID: 0} 431 | m_RemovedComponents: [] 432 | m_ParentPrefab: {fileID: 100100000, guid: 4e9d3047624229e4297136d92f5ac58e, type: 3} 433 | m_IsPrefabParent: 0 434 | --- !u!1 &2025987039 435 | GameObject: 436 | m_ObjectHideFlags: 0 437 | m_PrefabParentObject: {fileID: 0} 438 | m_PrefabInternal: {fileID: 0} 439 | serializedVersion: 5 440 | m_Component: 441 | - component: {fileID: 2025987041} 442 | - component: {fileID: 2025987040} 443 | m_Layer: 0 444 | m_Name: Camera Pivot 445 | m_TagString: Untagged 446 | m_Icon: {fileID: 0} 447 | m_NavMeshLayer: 0 448 | m_StaticEditorFlags: 0 449 | m_IsActive: 1 450 | --- !u!114 &2025987040 451 | MonoBehaviour: 452 | m_ObjectHideFlags: 0 453 | m_PrefabParentObject: {fileID: 0} 454 | m_PrefabInternal: {fileID: 0} 455 | m_GameObject: {fileID: 2025987039} 456 | m_Enabled: 1 457 | m_EditorHideFlags: 0 458 | m_Script: {fileID: 11500000, guid: 543ddbe12367a4899b011d43ef41f357, type: 3} 459 | m_Name: 460 | m_EditorClassIdentifier: 461 | _enablePositionNoise: 1 462 | _enableRotationNoise: 1 463 | _positionFrequency: 0.2 464 | _rotationFrequency: 0.2 465 | _positionAmplitude: 0.1 466 | _rotationAmplitude: 3 467 | _positionScale: {x: 1, y: 1, z: 1} 468 | _rotationScale: {x: 1, y: 1, z: 1} 469 | _positionFractalLevel: 3 470 | _rotationFractalLevel: 3 471 | --- !u!4 &2025987041 472 | Transform: 473 | m_ObjectHideFlags: 0 474 | m_PrefabParentObject: {fileID: 0} 475 | m_PrefabInternal: {fileID: 0} 476 | m_GameObject: {fileID: 2025987039} 477 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 478 | m_LocalPosition: {x: 0, y: 0, z: 0} 479 | m_LocalScale: {x: 1, y: 1, z: 1} 480 | m_Children: 481 | - {fileID: 2128840381} 482 | m_Father: {fileID: 0} 483 | m_RootOrder: 0 484 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 485 | --- !u!1 &2128840375 486 | GameObject: 487 | m_ObjectHideFlags: 0 488 | m_PrefabParentObject: {fileID: 0} 489 | m_PrefabInternal: {fileID: 0} 490 | serializedVersion: 5 491 | m_Component: 492 | - component: {fileID: 2128840381} 493 | - component: {fileID: 2128840380} 494 | - component: {fileID: 2128840379} 495 | - component: {fileID: 2128840378} 496 | - component: {fileID: 2128840377} 497 | - component: {fileID: 2128840376} 498 | m_Layer: 0 499 | m_Name: Main Camera 500 | m_TagString: MainCamera 501 | m_Icon: {fileID: 0} 502 | m_NavMeshLayer: 0 503 | m_StaticEditorFlags: 0 504 | m_IsActive: 1 505 | --- !u!114 &2128840376 506 | MonoBehaviour: 507 | m_ObjectHideFlags: 0 508 | m_PrefabParentObject: {fileID: 0} 509 | m_PrefabInternal: {fileID: 0} 510 | m_GameObject: {fileID: 2128840375} 511 | m_Enabled: 1 512 | m_EditorHideFlags: 0 513 | m_Script: {fileID: 11500000, guid: 70081bef98ab8dd459e38072395393ac, type: 3} 514 | m_Name: 515 | m_EditorClassIdentifier: 516 | _threshold: 0.8 517 | _stretch: 0.681 518 | _intensity: 0.659 519 | _tint: {r: 0.55, g: 0.55, b: 1, a: 1} 520 | _shader: {fileID: 4800000, guid: 10949a53e15fb4a4589953320ecc54b6, type: 3} 521 | --- !u!81 &2128840377 522 | AudioListener: 523 | m_ObjectHideFlags: 0 524 | m_PrefabParentObject: {fileID: 0} 525 | m_PrefabInternal: {fileID: 0} 526 | m_GameObject: {fileID: 2128840375} 527 | m_Enabled: 1 528 | --- !u!124 &2128840378 529 | Behaviour: 530 | m_ObjectHideFlags: 0 531 | m_PrefabParentObject: {fileID: 0} 532 | m_PrefabInternal: {fileID: 0} 533 | m_GameObject: {fileID: 2128840375} 534 | m_Enabled: 1 535 | --- !u!92 &2128840379 536 | Behaviour: 537 | m_ObjectHideFlags: 0 538 | m_PrefabParentObject: {fileID: 0} 539 | m_PrefabInternal: {fileID: 0} 540 | m_GameObject: {fileID: 2128840375} 541 | m_Enabled: 1 542 | --- !u!20 &2128840380 543 | Camera: 544 | m_ObjectHideFlags: 0 545 | m_PrefabParentObject: {fileID: 0} 546 | m_PrefabInternal: {fileID: 0} 547 | m_GameObject: {fileID: 2128840375} 548 | m_Enabled: 1 549 | serializedVersion: 2 550 | m_ClearFlags: 2 551 | m_BackGroundColor: {r: 0.0864511, g: 0.09000442, b: 0.09558821, a: 0} 552 | m_NormalizedViewPortRect: 553 | serializedVersion: 2 554 | x: 0 555 | y: 0 556 | width: 1 557 | height: 1 558 | near clip plane: 0.3 559 | far clip plane: 100 560 | field of view: 20 561 | orthographic: 0 562 | orthographic size: 5 563 | m_Depth: -1 564 | m_CullingMask: 565 | serializedVersion: 2 566 | m_Bits: 4294967295 567 | m_RenderingPath: 1 568 | m_TargetTexture: {fileID: 0} 569 | m_TargetDisplay: 0 570 | m_TargetEye: 3 571 | m_HDR: 1 572 | m_AllowMSAA: 0 573 | m_ForceIntoRT: 0 574 | m_OcclusionCulling: 0 575 | m_StereoConvergence: 10 576 | m_StereoSeparation: 0.022 577 | m_StereoMirrorMode: 0 578 | --- !u!4 &2128840381 579 | Transform: 580 | m_ObjectHideFlags: 0 581 | m_PrefabParentObject: {fileID: 0} 582 | m_PrefabInternal: {fileID: 0} 583 | m_GameObject: {fileID: 2128840375} 584 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 585 | m_LocalPosition: {x: 0, y: 0, z: -10} 586 | m_LocalScale: {x: 1, y: 1, z: 1} 587 | m_Children: [] 588 | m_Father: {fileID: 2025987041} 589 | m_RootOrder: 0 590 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 591 | --------------------------------------------------------------------------------