├── .gitattributes ├── .gitignore ├── Assets ├── Scene5GameController.cs ├── Scene5GameController.cs.meta ├── Scenes.meta └── Scenes │ ├── Common.meta │ ├── Common │ ├── FPSMeter.cs │ ├── FPSMeter.cs.meta │ ├── SubSceneController.cs │ └── SubSceneController.cs.meta │ ├── Main.meta │ ├── Main.unity │ ├── Main.unity.meta │ ├── Main │ ├── FrontController.cs │ ├── FrontController.cs.meta │ ├── FrontFxRenderTexture.renderTexture │ ├── FrontFxRenderTexture.renderTexture.meta │ ├── FrontMixRenderTexture.renderTexture │ ├── FrontMixRenderTexture.renderTexture.meta │ ├── FrontRearPreviewMaterial.mat │ ├── FrontRearPreviewMaterial.mat.meta │ ├── FrontRearPreviewShader.shader │ ├── FrontRearPreviewShader.shader.meta │ ├── FxCameraController.cs │ ├── FxCameraController.cs.meta │ ├── FxSettingController.cs │ ├── FxSettingController.cs.meta │ ├── FxShader.shader │ ├── FxShader.shader.meta │ ├── GameController.cs │ ├── GameController.cs.meta │ ├── Main_Profiles.meta │ ├── Main_Profiles │ │ ├── FrontFxCamera Profile.asset │ │ ├── FrontFxCamera Profile.asset.meta │ │ ├── RearFxCamera Profile.asset │ │ └── RearFxCamera Profile.asset.meta │ ├── MixCameraController.cs │ ├── MixCameraController.cs.meta │ ├── MixShader.shader │ ├── MixShader.shader.meta │ ├── OutputCameraController.cs │ ├── OutputCameraController.cs.meta │ ├── PreviewController.cs │ ├── PreviewController.cs.meta │ ├── PreviewSettingsController.cs │ ├── PreviewSettingsController.cs.meta │ ├── RearFxRenderTexture.renderTexture │ ├── RearFxRenderTexture.renderTexture.meta │ ├── RearMixRenderTexture.renderTexture │ ├── RearMixRenderTexture.renderTexture.meta │ ├── SceneSelectorController.cs │ ├── SceneSelectorController.cs.meta │ ├── VideoInputController.cs │ ├── VideoInputController.cs.meta │ ├── VideoInputPreviewMaterial.mat │ ├── VideoInputPreviewMaterial.mat.meta │ ├── VideoInputPreviewShader.shader │ ├── VideoInputPreviewShader.shader.meta │ ├── tarrget.ttf │ └── tarrget.ttf.meta │ ├── Scene1.meta │ ├── Scene1.unity │ ├── Scene1.unity.meta │ ├── Scene1 │ ├── Bankohan.mat │ ├── Bankohan.mat.meta │ ├── Bankohan.shader │ ├── Bankohan.shader.meta │ ├── BankohanParticleMaterial.mat │ ├── BankohanParticleMaterial.mat.meta │ ├── CubeController.cs │ ├── CubeController.cs.meta │ ├── Main Camera Profile.asset │ ├── Main Camera Profile.asset.meta │ ├── New Generator.asset │ ├── New Generator.asset.meta │ ├── ParticleMaterial.mat │ ├── ParticleMaterial.mat.meta │ ├── Scene1CameraController.cs │ ├── Scene1CameraController.cs.meta │ ├── Scene1GameController.cs │ ├── Scene1GameController.cs.meta │ ├── Textures.meta │ └── Textures │ │ ├── Metal_Rusted_003_COLOR.jpg │ │ ├── Metal_Rusted_003_COLOR.jpg.meta │ │ ├── Metal_Rusted_003_DISP.jpg │ │ ├── Metal_Rusted_003_DISP.jpg.meta │ │ ├── Metal_Rusted_003_NRM.jpg │ │ ├── Metal_Rusted_003_NRM.jpg.meta │ │ ├── Metal_Rusted_003_OCC.jpg │ │ ├── Metal_Rusted_003_OCC.jpg.meta │ │ ├── Metal_Rusted_003_SPEC.jpg │ │ ├── Metal_Rusted_003_SPEC.jpg.meta │ │ ├── Metal_Rusted_003_render.jpg │ │ ├── Metal_Rusted_003_render.jpg.meta │ │ ├── Metal_Rusted_007_COLOR.png │ │ ├── Metal_Rusted_007_COLOR.png.meta │ │ ├── Metal_Rusted_007_DISP.png │ │ ├── Metal_Rusted_007_DISP.png.meta │ │ ├── Metal_Rusted_007_NRM.png │ │ ├── Metal_Rusted_007_NRM.png.meta │ │ ├── Metal_Rusted_007_OCC.png │ │ ├── Metal_Rusted_007_OCC.png.meta │ │ ├── Metal_Rusted_007_SPEC.png │ │ ├── Metal_Rusted_007_SPEC.png.meta │ │ ├── Metal_Rusted_007_render.jpg │ │ ├── Metal_Rusted_007_render.jpg.meta │ │ ├── Rectangle (1).png │ │ ├── Rectangle (1).png.meta │ │ ├── Rectangle (2).png │ │ ├── Rectangle (2).png.meta │ │ ├── Rectangle (3).png │ │ ├── Rectangle (3).png.meta │ │ ├── Rectangle.png │ │ └── Rectangle.png.meta │ ├── Scene2.meta │ ├── Scene2.unity │ ├── Scene2.unity.meta │ ├── Scene2 │ ├── GrowingCube.mat │ ├── GrowingCube.mat.meta │ ├── GrowingsController.cs │ ├── GrowingsController.cs.meta │ ├── Main Camera Profile.asset │ ├── Main Camera Profile.asset.meta │ ├── Pipe.prefab │ ├── Pipe.prefab.meta │ ├── PipeController.cs │ ├── PipeController.cs.meta │ ├── Scene2GameController.cs │ ├── Scene2GameController.cs.meta │ ├── kick.wav │ └── kick.wav.meta │ ├── Scene3.meta │ ├── Scene3.unity │ ├── Scene3.unity.meta │ ├── Scene3 │ ├── Background.mat │ ├── Background.mat.meta │ ├── Background.shader │ ├── Background.shader.meta │ ├── CubeMaterial.mat │ ├── CubeMaterial.mat.meta │ ├── Main Camera Profile.asset │ ├── Main Camera Profile.asset.meta │ ├── Scene3GameControlelr.cs │ ├── Scene3GameControlelr.cs.meta │ ├── SphereMaterial.mat │ ├── SphereMaterial.mat.meta │ ├── StripeSurface.shader │ ├── StripeSurface.shader.meta │ ├── StripesShader.shader │ ├── StripesShader.shader.meta │ ├── TrailMaterial.mat │ └── TrailMaterial.mat.meta │ ├── Scene4.meta │ ├── Scene4.unity │ ├── Scene4.unity.meta │ ├── Scene4 │ ├── LightBarsMaterial.mat │ ├── LightBarsMaterial.mat.meta │ ├── LightBarsShader.shader │ ├── LightBarsShader.shader.meta │ ├── LightPlaneController.cs │ ├── LightPlaneController.cs.meta │ ├── Main Camera Profile 1.asset │ ├── Main Camera Profile 1.asset.meta │ ├── Main Camera Profile.asset │ ├── Main Camera Profile.asset.meta │ ├── Quad.prefab │ ├── Quad.prefab.meta │ ├── Scene4GameController.cs │ └── Scene4GameController.cs.meta │ ├── Scene5.meta │ ├── Scene5.unity │ ├── Scene5.unity.meta │ ├── Scene5 │ ├── Background.mat │ ├── Background.mat.meta │ ├── Inferno_demise_01.mov │ ├── Inferno_demise_01.mov.meta │ ├── Main Camera Profile.asset │ ├── Main Camera Profile.asset.meta │ ├── Rectangle (1).png │ ├── Rectangle (1).png.meta │ ├── Rectangle (2).png │ ├── Rectangle (2).png.meta │ ├── Rectangle (3).png │ ├── Rectangle (3).png.meta │ ├── Rectangle.png │ ├── Rectangle.png.meta │ ├── SphereShader.mat │ ├── SphereShader.mat.meta │ ├── SphereShader.shader │ ├── SphereShader.shader.meta │ ├── TrailMaterial1.mat │ ├── TrailMaterial1.mat.meta │ ├── TrailMaterial2.mat │ ├── TrailMaterial2.mat.meta │ ├── TrailsController.cs │ └── TrailsController.cs.meta │ ├── Scene6.meta │ ├── Scene6.unity │ ├── Scene6.unity.meta │ ├── Scene6 │ ├── Bar.prefab │ ├── Bar.prefab.meta │ ├── BismuthController.cs │ ├── BismuthController.cs.meta │ ├── BismuthMaterial.mat │ ├── BismuthMaterial.mat.meta │ ├── BismuthParticleMaterial.mat │ ├── BismuthParticleMaterial.mat.meta │ ├── Bismuth_Profiles.meta │ ├── Bismuth_Profiles │ │ ├── Main Camera Profile.asset │ │ └── Main Camera Profile.asset.meta │ ├── Crystal.prefab │ ├── Crystal.prefab.meta │ ├── Main Camera Profile.asset │ ├── Main Camera Profile.asset.meta │ ├── Scene6GameController.cs │ └── Scene6GameController.cs.meta │ ├── scene1.renderTexture │ ├── scene1.renderTexture.meta │ ├── scene2.renderTexture │ ├── scene2.renderTexture.meta │ ├── scene3.renderTexture │ ├── scene3.renderTexture.meta │ ├── scene4.renderTexture │ ├── scene4.renderTexture.meta │ ├── scene5.renderTexture │ ├── scene5.renderTexture.meta │ ├── scene6.renderTexture │ └── scene6.renderTexture.meta ├── Packages └── manifest.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | ## Unity ## 2 | 3 | *.cs diff=csharp text 4 | *.cginc text 5 | *.shader text 6 | 7 | *.mat merge=unityyamlmerge eol=lf 8 | *.anim merge=unityyamlmerge eol=lf 9 | *.unity merge=unityyamlmerge eol=lf 10 | *.prefab merge=unityyamlmerge eol=lf 11 | *.physicsMaterial2D merge=unityyamlmerge eol=lf 12 | *.physicsMaterial merge=unityyamlmerge eol=lf 13 | *.asset merge=unityyamlmerge eol=lf 14 | *.meta merge=unityyamlmerge eol=lf 15 | *.controller merge=unityyamlmerge eol=lf 16 | 17 | 18 | ## git-lfs ## 19 | 20 | #Image 21 | *.jpg filter=lfs diff=lfs merge=lfs -text 22 | *.jpeg filter=lfs diff=lfs merge=lfs -text 23 | *.png filter=lfs diff=lfs merge=lfs -text 24 | *.gif filter=lfs diff=lfs merge=lfs -text 25 | *.psd filter=lfs diff=lfs merge=lfs -text 26 | *.ai filter=lfs diff=lfs merge=lfs -text 27 | 28 | #Audio 29 | *.mp3 filter=lfs diff=lfs merge=lfs -text 30 | *.wav filter=lfs diff=lfs merge=lfs -text 31 | *.ogg filter=lfs diff=lfs merge=lfs -text 32 | 33 | #Video 34 | *.mp4 filter=lfs diff=lfs merge=lfs -text 35 | *.mov filter=lfs diff=lfs merge=lfs -text 36 | 37 | #3D Object 38 | *.FBX filter=lfs diff=lfs merge=lfs -text 39 | *.fbx filter=lfs diff=lfs merge=lfs -text 40 | *.blend filter=lfs diff=lfs merge=lfs -text 41 | *.obj filter=lfs diff=lfs merge=lfs -text 42 | 43 | #ETC 44 | *.a filter=lfs diff=lfs merge=lfs -text 45 | *.exr filter=lfs diff=lfs merge=lfs -text 46 | *.tga filter=lfs diff=lfs merge=lfs -text 47 | *.pdf filter=lfs diff=lfs merge=lfs -text 48 | *.zip filter=lfs diff=lfs merge=lfs -text 49 | *.dll filter=lfs diff=lfs merge=lfs -text 50 | *.unitypackage filter=lfs diff=lfs merge=lfs -text 51 | *.aif filter=lfs diff=lfs merge=lfs -text 52 | *.ttf filter=lfs diff=lfs merge=lfs -text 53 | *.rns filter=lfs diff=lfs merge=lfs -text 54 | *.reason filter=lfs diff=lfs merge=lfs -text 55 | *.lxo filter=lfs diff=lfs merge=lfs -text 56 | 57 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | [Bb]uilds/ 6 | Assets/AssetStoreTools* 7 | Capture/ 8 | 9 | # Visual Studio 2015 cache directory 10 | .vs/ 11 | .vscode/ 12 | 13 | # Autogenerated VS/MD/Consulo solution and project files 14 | ExportedObj/ 15 | .consulo/ 16 | *.csproj 17 | *.unityproj 18 | *.sln 19 | *.suo 20 | *.tmp 21 | *.user 22 | *.userprefs 23 | *.pidb 24 | *.booproj 25 | *.svd 26 | *.pdb 27 | *.opendb 28 | 29 | # Unity3D Generated File On Crash Reports 30 | sysinfo.txt 31 | 32 | # Builds 33 | *.apk 34 | *.unitypackage 35 | 36 | # Unity3D generated meta files 37 | *.pidb.meta 38 | *.pdb.meta 39 | 40 | # Unity3D Generated File On Crash Reports 41 | sysinfo.txt 42 | 43 | # Builds 44 | *.apk 45 | *.unitypackage 46 | 47 | # Store Assets 48 | Assets/KriptoFX 49 | Assets/KriptoFX.meta 50 | Assets/EffectExamples 51 | Assets/EffectExamples.meta 52 | Assets/Lasp 53 | Assets/Lasp.meta 54 | Assets/MidiJack 55 | Assets/MidiJack.meta 56 | Assets/StreamingAssets 57 | Assets/StreamingAssets.meta 58 | Assets/uRaymarching 59 | Assets/uRaymarching.meta 60 | Assets/uShaderTemplate 61 | Assets/uShaderTemplate.meta 62 | Assets/UTJ 63 | Assets/UTJ.meta 64 | -------------------------------------------------------------------------------- /Assets/Scene5GameController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class Scene5GameController : MonoBehaviour 6 | { 7 | [SerializeField] Camera _sceneCamera; 8 | [SerializeField] GameObject _particles; 9 | [SerializeField] Material _material; 10 | float _time = 0; 11 | float _clockSpeed = 1; 12 | float _radius = 5; 13 | bool _isParty = false; 14 | float _partyCounter = 0; 15 | 16 | ParticleSystem[] _particleSystems; 17 | 18 | void Start() 19 | { 20 | _particleSystems = _particles.GetComponentsInChildren(); 21 | } 22 | 23 | bool Party(float speed, float x) 24 | { 25 | _partyCounter++; 26 | return _isParty && Mathf.PerlinNoise(_partyCounter, Time.time * speed) < x; 27 | } 28 | 29 | void Update() 30 | { 31 | if (Input.GetKeyDown(KeyCode.P)) 32 | { 33 | _isParty = !_isParty; 34 | } 35 | 36 | // Accelerate 37 | if (Input.GetKey(KeyCode.Q) || Party(1, 0.3f)) 38 | { 39 | _clockSpeed = 5 - (5 - _clockSpeed) * 0.1f; 40 | } 41 | else 42 | { 43 | _clockSpeed = (_clockSpeed - 2) * 0.4f + 2; 44 | } 45 | 46 | _time += Time.deltaTime * _clockSpeed; 47 | 48 | // Wiggle 49 | if (Input.GetKey(KeyCode.W) || Party(0.5f, 0.2f)) 50 | { 51 | _radius += Mathf.Sin(_time * 3230) * 1.0f; 52 | } 53 | 54 | // Evolve 55 | if (Input.GetKey(KeyCode.E) || Party(0.3f, .4f)) 56 | { 57 | foreach (var s in _particleSystems) { s.emissionRate = 200; } 58 | } 59 | else 60 | { 61 | foreach (var s in _particleSystems) { s.emissionRate = 20; } 62 | } 63 | 64 | // Rotate Scene 65 | if (Input.GetKey(KeyCode.R) || Party(1.5f, 0.5f)) 66 | { 67 | transform.rotation = Quaternion.Euler( 68 | _time * 20, 69 | _time * 60, 70 | _time * 37 71 | ); 72 | _radius = 5 + (Mathf.Sin(_time) + Mathf.Cos(_time * 1.7f)) * 7; 73 | } 74 | else 75 | { 76 | // _radius = 5; 77 | } 78 | _sceneCamera.transform.position *= _radius / _sceneCamera.transform.position.magnitude; 79 | _sceneCamera.transform.LookAt(Vector3.zero); 80 | 81 | // Transform 82 | if (Input.GetKey(KeyCode.T) || Party(0.3f, 0.2f)) 83 | { 84 | foreach (var s in _particleSystems) { var t = s.trails; t.mode = ParticleSystemTrailMode.Ribbon; } 85 | } 86 | else 87 | { 88 | foreach (var s in _particleSystems) { var t = s.trails; t.mode = ParticleSystemTrailMode.PerParticle; } 89 | } 90 | 91 | // Yo 92 | if (Input.GetKey(KeyCode.Y) || Party(0.3f, 0.2f)) 93 | { 94 | float e = Mathf.PerlinNoise(1, _time * 294) * 1.3f; 95 | _material.SetColor("_EmissionColor", new Color(e,e,e,1)); 96 | } 97 | else 98 | { 99 | float e = 0.5f; 100 | _material.SetColor("_EmissionColor", new Color(e,e,e,1)); 101 | } 102 | 103 | // Constant motion 104 | _particles.transform.rotation = Quaternion.Euler( 105 | Time.time * 40, 106 | Time.time * 30, 107 | Time.time * 20 108 | ); 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /Assets/Scene5GameController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 743c2b80cb889314a9cfb150c88781eb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f704ae4b4f98ae41a0bce26658850c1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Common.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e188b178755621744a147c5af4eb4c21 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Common/FPSMeter.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class FPSMeter : MonoBehaviour 5 | { 6 | string _label = ""; 7 | float _count; 8 | 9 | IEnumerator Start() 10 | { 11 | GUI.depth = 2; 12 | while (true) 13 | { 14 | if (Time.timeScale == 1) 15 | { 16 | yield return new WaitForSeconds(0.1f); 17 | _count = 1 / Time.deltaTime; 18 | _label = "FPS :" + Mathf.Round(_count); 19 | } 20 | else 21 | { 22 | _label = "Pause"; 23 | } 24 | yield return new WaitForSeconds(0.5f); 25 | } 26 | } 27 | 28 | void OnGUI() 29 | { 30 | GUI.Label(new Rect (5, 40, 100, 25), _label); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /Assets/Scenes/Common/FPSMeter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5f229c707f3d814fa3eddb9a520be81 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Common/SubSceneController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.SceneManagement; 5 | 6 | public class SubSceneController : MonoBehaviour 7 | { 8 | [SerializeField] Camera sceneCamera; 9 | [SerializeField] RenderTexture outputTexture; 10 | [SerializeField] int channel; 11 | 12 | void Start() 13 | { 14 | // Render to main display if the scene is active 15 | if (SceneManager.GetActiveScene() == gameObject.scene) 16 | { 17 | sceneCamera.targetTexture = null; 18 | } 19 | else 20 | { 21 | sceneCamera.targetTexture = outputTexture; 22 | var ctrl = FindObjectOfType(typeof(SceneSelectorController)) as SceneSelectorController; 23 | ctrl.RegisterScene(channel, this); 24 | } 25 | } 26 | 27 | public void SetActive(bool flag) 28 | { 29 | bool isActive = gameObject.activeSelf; 30 | if (flag && !isActive) 31 | { 32 | Enable(); 33 | } 34 | else if (!flag && isActive) 35 | { 36 | Disable(); 37 | } 38 | } 39 | 40 | public void Enable() 41 | { 42 | gameObject.SetActive(true); 43 | } 44 | 45 | public void Disable() 46 | { 47 | sceneCamera.targetTexture.DiscardContents(); 48 | gameObject.SetActive(false); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Scenes/Common/SubSceneController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e113008be5232c4397b3b5dc3c6120c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Main.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ede5c2b014a4e496cbce30d5caada775 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Main.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99c9720ab356a0642a771bea13969a05 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FrontController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class FrontController : MonoBehaviour { 6 | 7 | // Use this for initialization 8 | void Start () { 9 | 10 | } 11 | 12 | // Update is called once per frame 13 | void Update () { 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FrontController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 378ff405a6b4f4766ae1e498df656128 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FrontFxRenderTexture.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: FrontFxRenderTexture 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_ForcedFallbackFormat: 4 13 | m_DownscaleFallback: 0 14 | m_Width: 1920 15 | m_Height: 1080 16 | m_AntiAliasing: 1 17 | m_DepthFormat: 0 18 | m_ColorFormat: 0 19 | m_MipMap: 0 20 | m_GenerateMips: 1 21 | m_SRGB: 0 22 | m_UseDynamicScale: 0 23 | m_BindMS: 0 24 | m_TextureSettings: 25 | serializedVersion: 2 26 | m_FilterMode: 1 27 | m_Aniso: 0 28 | m_MipBias: 0 29 | m_WrapU: 1 30 | m_WrapV: 1 31 | m_WrapW: 1 32 | m_Dimension: 2 33 | m_VolumeDepth: 1 34 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FrontFxRenderTexture.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bd402f8226bbc64a86007e57cf1cac6 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FrontMixRenderTexture.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: FrontMixRenderTexture 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_ForcedFallbackFormat: 4 13 | m_DownscaleFallback: 0 14 | m_Width: 1920 15 | m_Height: 1080 16 | m_AntiAliasing: 1 17 | m_DepthFormat: 0 18 | m_ColorFormat: 0 19 | m_MipMap: 0 20 | m_GenerateMips: 1 21 | m_SRGB: 0 22 | m_UseDynamicScale: 0 23 | m_BindMS: 0 24 | m_TextureSettings: 25 | serializedVersion: 2 26 | m_FilterMode: 1 27 | m_Aniso: 0 28 | m_MipBias: 0 29 | m_WrapU: 1 30 | m_WrapV: 1 31 | m_WrapW: 1 32 | m_Dimension: 2 33 | m_VolumeDepth: 1 34 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FrontMixRenderTexture.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37e3de8d51b74448880112932c010e42 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FrontRearPreviewMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: FrontRearPreviewMaterial 10 | m_Shader: {fileID: 4800000, guid: d86130889bb7c4ae0a66fa1a61ee4032, type: 3} 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 | - _MainTex: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | m_Floats: 26 | - _Mix: 1 27 | - _Opacity: 0.6 28 | m_Colors: [] 29 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FrontRearPreviewMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f2dd914df7b34401db7f93e078f35c6f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FrontRearPreviewShader.shader: -------------------------------------------------------------------------------- 1 | Shader "Custom/FrontRearPreviewShader" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Texture", 2D) = "white" {} 6 | _Opacity ("Opacity", Range(0, 1)) = 0.6 7 | _Mix ("Mix", Range(0, 1)) = 1 8 | } 9 | SubShader 10 | { 11 | Tags { "Queue"="Transparent" "RenderType"="Opaque" } 12 | LOD 100 13 | Blend SrcAlpha OneMinusSrcAlpha 14 | 15 | Pass 16 | { 17 | CGPROGRAM 18 | #pragma vertex vert 19 | #pragma fragment frag 20 | 21 | #include "UnityCG.cginc" 22 | 23 | struct appdata 24 | { 25 | float4 vertex : POSITION; 26 | float2 uv : TEXCOORD0; 27 | }; 28 | 29 | struct v2f 30 | { 31 | float2 uv : TEXCOORD0; 32 | float4 vertex : SV_POSITION; 33 | }; 34 | 35 | sampler2D _MainTex; 36 | float4 _MainTex_ST; 37 | float _Opacity; 38 | float _Mix; 39 | 40 | v2f vert (appdata v) 41 | { 42 | v2f o; 43 | o.vertex = UnityObjectToClipPos(v.vertex); 44 | o.uv = TRANSFORM_TEX(v.uv, _MainTex); 45 | return o; 46 | } 47 | 48 | fixed4 frag (v2f i) : SV_Target 49 | { 50 | float2 uv = i.uv; 51 | uv.x = frac(uv.x * 3.0); 52 | 53 | float4 col = tex2D(_MainTex, uv) * _Mix; 54 | col.a = length(col.rgb); 55 | col *= _Mix; 56 | 57 | col = col * (1 - _Opacity) + .7 * _Opacity; 58 | 59 | return col; 60 | } 61 | ENDCG 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FrontRearPreviewShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d86130889bb7c4ae0a66fa1a61ee4032 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FxCameraController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class FxCameraController : MonoBehaviour 6 | { 7 | [SerializeField] RenderTexture _input; 8 | [SerializeField] Shader _shader; 9 | Material _material; 10 | 11 | List _values = new List(new float[16]); // TODO: make length dynamic 12 | List _hits = new List(new float[16]); 13 | float _volumeRatio = 1.0f; 14 | float[] _knobs = new float[8]; 15 | 16 | void Start() 17 | { 18 | _material = new Material(_shader); 19 | MidiJack.MidiMaster.knobDelegate += OnControlChange; 20 | } 21 | 22 | void OnControlChange(MidiJack.MidiChannel channel, int knobNumber, float knobValue) 23 | { 24 | if (16 <= knobNumber && knobNumber <= 22) 25 | { 26 | _knobs[knobNumber - 16] = knobValue; 27 | _material.SetFloatArray("_Knob", _knobs); 28 | } 29 | 30 | // Use last knob for volume ratio 31 | if (knobNumber == 23) 32 | { 33 | _volumeRatio = knobValue * 3; 34 | } 35 | } 36 | 37 | void Update() 38 | { 39 | var volume = Lasp.AudioInput.CalculateRMS(Lasp.FilterType.Bypass); 40 | _material.SetFloat("_Volume", volume * _volumeRatio); 41 | } 42 | 43 | void OnRenderImage(RenderTexture src, RenderTexture dst) 44 | { 45 | var texture = _input != null ? _input : src; 46 | Graphics.Blit(texture, dst, _material); 47 | } 48 | 49 | public void SetFxLevel(int fxNumber, float value) 50 | { 51 | if (fxNumber >= _values.Count) 52 | { 53 | Debug.LogError("Invalid index: " + fxNumber); 54 | return; 55 | } 56 | 57 | _values[fxNumber] = value; 58 | _hits[fxNumber] = Time.time; 59 | 60 | _material.SetFloatArray("_Fx", _values); 61 | _material.SetFloatArray("_Hit", _hits); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FxCameraController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 714b4dc3c826845b5b2dac0cb4aa99e0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FxSettingController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class FxSettingController : MonoBehaviour { 6 | 7 | // Use this for initialization 8 | void Start () { 9 | 10 | } 11 | 12 | // Update is called once per frame 13 | void Update () { 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FxSettingController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22585b2cbd1e047c5a89cdc470315e87 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/FxShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07f06b0c60e9a408e8f8c215c3fa2bc6 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/GameController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | public class GameController : MonoBehaviour 7 | { 8 | [SerializeField] GameObject preview; 9 | [SerializeField] Camera frontMixCamera; 10 | [SerializeField] Camera rearMixCamera; 11 | 12 | void Start() 13 | { 14 | int maxDisplayCount = 3; 15 | for (int i = 0; i < maxDisplayCount && i < Display.displays.Length; i++) { 16 | Display.displays[i].Activate(); 17 | } 18 | } 19 | 20 | void OnNoteOn(MidiJack.MidiChannel channel, int noteNumber, float velocity) 21 | { 22 | Debug.Log(">> Note On: " + channel.ToString() + ": " + noteNumber); 23 | } 24 | 25 | void OnNoteOff(MidiJack.MidiChannel channel, int noteNumber, float velocity) 26 | { 27 | Debug.Log(">> Note Off: " + channel.ToString() + ": " + noteNumber); 28 | } 29 | 30 | void OnControlChange(MidiJack.MidiChannel channel, int knobNumber, float knobValue) 31 | { 32 | Debug.Log(">> CC: " + channel.ToString() + ": " + knobNumber + ": " + knobValue); 33 | } 34 | 35 | public void SetVideoInputTexture(Texture texture) 36 | { 37 | frontMixCamera.GetComponent().SetVideoInputTexture(texture); 38 | rearMixCamera.GetComponent().SetVideoInputTexture(texture); 39 | } 40 | 41 | public void SetPreviewOpacity(float opacity) 42 | { 43 | preview.GetComponent().SetOpacity(opacity); 44 | } 45 | 46 | public void SetPreviewMix(float mix) 47 | { 48 | preview.GetComponent().SetMix(mix); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/GameController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4d5618994f1f84779afe82249e1d826b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/Main_Profiles.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e99d54741d64354eb578ed00e137d39 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/Main_Profiles/FrontFxCamera Profile.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: 8e6292b2c06870d4495f009f912b9600, type: 3} 12 | m_Name: FrontFxCamera Profile 13 | m_EditorClassIdentifier: 14 | settings: 15 | - {fileID: 114280460760719780} 16 | --- !u!114 &114280460760719780 17 | MonoBehaviour: 18 | m_ObjectHideFlags: 3 19 | m_CorrespondingSourceObject: {fileID: 0} 20 | m_PrefabInternal: {fileID: 0} 21 | m_GameObject: {fileID: 0} 22 | m_Enabled: 1 23 | m_EditorHideFlags: 0 24 | m_Script: {fileID: 11500000, guid: 6050e2d5de785ce4d931e4dbdbf2d755, type: 3} 25 | m_Name: ChromaticAberration 26 | m_EditorClassIdentifier: 27 | active: 1 28 | enabled: 29 | overrideState: 1 30 | value: 1 31 | spectralLut: 32 | overrideState: 0 33 | value: {fileID: 0} 34 | defaultState: 1 35 | intensity: 36 | overrideState: 1 37 | value: 1 38 | fastMode: 39 | overrideState: 1 40 | value: 1 41 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/Main_Profiles/FrontFxCamera Profile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42d1f932d47d48c41b7085586badf3a9 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/Main_Profiles/RearFxCamera Profile.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: 8e6292b2c06870d4495f009f912b9600, type: 3} 12 | m_Name: RearFxCamera Profile 13 | m_EditorClassIdentifier: 14 | settings: [] 15 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/Main_Profiles/RearFxCamera Profile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ba346fd77b5f5e479c9062e0518023a 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/MixCameraController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class MixCameraController : MonoBehaviour 6 | { 7 | [SerializeField] Shader _shader; 8 | Material _material; 9 | 10 | [SerializeField] RenderTexture _scene1; 11 | [SerializeField] RenderTexture _scene2; 12 | [SerializeField] RenderTexture _scene3; 13 | [SerializeField] RenderTexture _scene4; 14 | [SerializeField] RenderTexture _scene5; 15 | [SerializeField] RenderTexture _scene6; 16 | 17 | void Awake() 18 | { 19 | _material = new Material(_shader); 20 | } 21 | 22 | void Start() 23 | { 24 | _material.SetTexture("_Chan_1", _scene1); 25 | _material.SetTexture("_Chan_2", _scene2); 26 | _material.SetTexture("_Chan_3", _scene3); 27 | _material.SetTexture("_Chan_4", _scene4); 28 | _material.SetTexture("_Chan_5", _scene5); 29 | _material.SetTexture("_Chan_6", _scene6); 30 | } 31 | 32 | void OnRenderImage(RenderTexture src, RenderTexture dst) 33 | { 34 | Graphics.Blit(src, dst, _material); 35 | } 36 | 37 | public void SetVideoInputTexture(Texture texture) 38 | { 39 | _material.SetTexture("_Chan_0", texture); 40 | } 41 | 42 | public void SetChannelGain(int chan, float value) 43 | { 44 | _material.SetFloat("_Gain_" + chan.ToString(), value); 45 | } 46 | 47 | public void SetMasterGain(float value) 48 | { 49 | _material.SetFloat("_MasterGain", value); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/MixCameraController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8cab361eee9594f0ca6612896b9ebd16 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/MixShader.shader: -------------------------------------------------------------------------------- 1 | Shader "BRDG/MixShader" 2 | { 3 | Properties 4 | { 5 | [HideInInspector] _Chan_0 ("Channel 0", 2D) = "black" {} 6 | [HideInInspector] _Chan_1 ("Channel 1", 2D) = "black" {} 7 | [HideInInspector] _Chan_2 ("Channel 2", 2D) = "black" {} 8 | [HideInInspector] _Chan_3 ("Channel 3", 2D) = "black" {} 9 | [HideInInspector] _Chan_4 ("Channel 4", 2D) = "black" {} 10 | [HideInInspector] _Chan_5 ("Channel 5", 2D) = "black" {} 11 | [HideInInspector] _Chan_6 ("Channel 6", 2D) = "black" {} 12 | [HideInInspector] _Gain_0 ("Gain 0", Range(0, 1)) = 0 13 | [HideInInspector] _Gain_1 ("Gain 1", Range(0, 1)) = 0 14 | [HideInInspector] _Gain_2 ("Gain 2", Range(0, 1)) = 0 15 | [HideInInspector] _Gain_3 ("Gain 3", Range(0, 1)) = 0 16 | [HideInInspector] _Gain_4 ("Gain 4", Range(0, 1)) = 0 17 | [HideInInspector] _Gain_5 ("Gain 5", Range(0, 1)) = 0 18 | [HideInInspector] _Gain_6 ("Gain 6", Range(0, 1)) = 0 19 | [HideInInspector] _MasterGain ("Master Gain", Range(0, 1)) = 1 20 | } 21 | SubShader 22 | { 23 | // No culling or depth 24 | Cull Off ZWrite Off ZTest Always 25 | 26 | Pass 27 | { 28 | CGPROGRAM 29 | #pragma vertex vert 30 | #pragma fragment frag 31 | 32 | #include "UnityCG.cginc" 33 | 34 | struct appdata 35 | { 36 | float4 vertex : POSITION; 37 | float2 uv : TEXCOORD0; 38 | }; 39 | 40 | struct v2f 41 | { 42 | float2 uv : TEXCOORD0; 43 | float4 vertex : SV_POSITION; 44 | }; 45 | 46 | v2f vert (appdata v) 47 | { 48 | v2f o; 49 | o.vertex = UnityObjectToClipPos(v.vertex); 50 | o.uv = v.uv; 51 | return o; 52 | } 53 | 54 | sampler2D _Chan_0; 55 | sampler2D _Chan_1; 56 | sampler2D _Chan_2; 57 | sampler2D _Chan_3; 58 | sampler2D _Chan_4; 59 | sampler2D _Chan_5; 60 | sampler2D _Chan_6; 61 | float _Gain_0; 62 | float _Gain_1; 63 | float _Gain_2; 64 | float _Gain_3; 65 | float _Gain_4; 66 | float _Gain_5; 67 | float _Gain_6; 68 | float _MasterGain; 69 | 70 | fixed4 frag (v2f i) : SV_Target 71 | { 72 | fixed4 col = fixed4(0,0,0,1); 73 | 74 | col += tex2D(_Chan_0, i.uv) * _Gain_0; 75 | col += tex2D(_Chan_1, i.uv) * _Gain_1; 76 | col += tex2D(_Chan_2, i.uv) * _Gain_2; 77 | col += tex2D(_Chan_3, i.uv) * _Gain_3; 78 | col += tex2D(_Chan_4, i.uv) * _Gain_4; 79 | col += tex2D(_Chan_5, i.uv) * _Gain_5; 80 | col += tex2D(_Chan_6, i.uv) * _Gain_6; 81 | 82 | return col * _MasterGain; 83 | } 84 | ENDCG 85 | } 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/MixShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5c50b3ea843749e091a98da374a5d2f 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/OutputCameraController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class OutputCameraController : MonoBehaviour 6 | { 7 | [SerializeField] RenderTexture _input; 8 | 9 | void OnRenderImage(RenderTexture src, RenderTexture dst) 10 | { 11 | Graphics.Blit(_input, dst); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/OutputCameraController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bbdd1d6e770194a82874bd549b1e4902 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/PreviewController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class PreviewController : MonoBehaviour 6 | { 7 | [SerializeField] GameObject front; 8 | [SerializeField] GameObject rear; 9 | [SerializeField] RenderTexture frontTexture; 10 | [SerializeField] RenderTexture rearTexture; 11 | 12 | private float rx = 0.0f; 13 | private float ry = 0.0f; 14 | 15 | public void SetOpacity(float opacity) 16 | { 17 | front.GetComponent().material.SetFloat("_Opacity", opacity); 18 | rear.GetComponent().material.SetFloat("_Opacity", opacity); 19 | } 20 | 21 | public void SetMix(float mix) 22 | { 23 | front.GetComponent().material.SetFloat("_Mix", Mathf.Min(2 - mix * 2, 1)); 24 | rear.GetComponent().material.SetFloat("_Mix", Mathf.Min(mix * 2, 1)); 25 | } 26 | 27 | void Start() 28 | { 29 | front.GetComponent().material.mainTexture = frontTexture; 30 | rear.GetComponent().material.mainTexture = rearTexture; 31 | } 32 | 33 | void Update() 34 | { 35 | var shift = Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift); 36 | if (shift) { 37 | if (Input.GetKey(KeyCode.LeftArrow)) { 38 | ry += 0.03f; 39 | } 40 | if (Input.GetKey(KeyCode.RightArrow)) { 41 | ry -= 0.03f; 42 | } 43 | if (Input.GetKey(KeyCode.UpArrow)) { 44 | rx -= 0.03f; 45 | } 46 | if (Input.GetKey(KeyCode.DownArrow)) { 47 | rx += 0.03f; 48 | } 49 | 50 | rx = Mathf.Clamp(rx, -1, 1); 51 | ry = Mathf.Clamp(ry, -1, 1); 52 | front.transform.position = transform.position + new Vector3(-ry * 15, -rx * 2, 0); 53 | rear.transform.position = transform.position + new Vector3(-ry * 5, rx * 4 - 0.1f, 2); 54 | front.transform.rotation = Quaternion.Euler(0, ry * 60, 0); 55 | rear.transform.rotation = Quaternion.Euler(0, ry * 60, 0); 56 | } 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/PreviewController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cae78ed9aed554f129cd26de36c8e7c6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/PreviewSettingsController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | public class PreviewSettingsController : MonoBehaviour 7 | { 8 | 9 | [SerializeField] GameController gameController; 10 | [SerializeField] Slider opacity; 11 | [SerializeField] Slider mix; 12 | 13 | void Start () 14 | { 15 | gameController.SetPreviewOpacity(opacity.value); 16 | gameController.SetPreviewMix(mix.value); 17 | } 18 | 19 | public void UpdatePreviewOpacity() 20 | { 21 | gameController.SetPreviewOpacity(opacity.value); 22 | } 23 | 24 | public void UpdatePreviewMix() 25 | { 26 | gameController.SetPreviewMix(mix.value); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/PreviewSettingsController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1ca5d5173cea48e48c60ff319ae31cf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/RearFxRenderTexture.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: RearFxRenderTexture 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_ForcedFallbackFormat: 4 13 | m_DownscaleFallback: 0 14 | m_Width: 1920 15 | m_Height: 1080 16 | m_AntiAliasing: 1 17 | m_DepthFormat: 0 18 | m_ColorFormat: 0 19 | m_MipMap: 0 20 | m_GenerateMips: 1 21 | m_SRGB: 0 22 | m_UseDynamicScale: 0 23 | m_BindMS: 0 24 | m_TextureSettings: 25 | serializedVersion: 2 26 | m_FilterMode: 1 27 | m_Aniso: 0 28 | m_MipBias: 0 29 | m_WrapU: 1 30 | m_WrapV: 1 31 | m_WrapW: 1 32 | m_Dimension: 2 33 | m_VolumeDepth: 1 34 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/RearFxRenderTexture.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d97342b99f7cc564494c6273a5cff243 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/RearMixRenderTexture.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: RearMixRenderTexture 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_ForcedFallbackFormat: 4 13 | m_DownscaleFallback: 0 14 | m_Width: 1920 15 | m_Height: 1080 16 | m_AntiAliasing: 1 17 | m_DepthFormat: 0 18 | m_ColorFormat: 0 19 | m_MipMap: 0 20 | m_GenerateMips: 1 21 | m_SRGB: 0 22 | m_UseDynamicScale: 0 23 | m_BindMS: 0 24 | m_TextureSettings: 25 | serializedVersion: 2 26 | m_FilterMode: 1 27 | m_Aniso: 0 28 | m_MipBias: 0 29 | m_WrapU: 1 30 | m_WrapV: 1 31 | m_WrapW: 1 32 | m_Dimension: 2 33 | m_VolumeDepth: 1 34 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/RearMixRenderTexture.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c40ee285fb3584eacb28f196ffa75507 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/SceneSelectorController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb83fc547051b411c835f2edc3dc8495 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/VideoInputController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | using System.Linq; 6 | 7 | public class VideoInputController : MonoBehaviour 8 | { 9 | [SerializeField] GameController gameController; 10 | [SerializeField] Dropdown selector; 11 | [SerializeField] GameObject preview; 12 | 13 | int _width = 1920; 14 | int _height = 1080; 15 | int _fps = 60; 16 | Dictionary _textures = new Dictionary(); 17 | 18 | void Start() 19 | { 20 | selector.ClearOptions(); 21 | UpdateVideoInput(); 22 | } 23 | 24 | public void UpdateVideoInput() 25 | { 26 | // Get selected option if exists 27 | var index = selector.value; 28 | var selectedOption = selector.options.Count() > 0 ? selector.options[index] : null; 29 | 30 | WebCamDevice[] devices = WebCamTexture.devices; 31 | var newOptions = devices.Select(x => x.name).ToList(); 32 | 33 | selector.ClearOptions(); 34 | selector.AddOptions(newOptions); 35 | 36 | // Restore selection 37 | if (selectedOption != null) { 38 | var newIndex = newOptions.IndexOf(selectedOption.text); 39 | selector.value = newIndex; 40 | } 41 | else if (newOptions.Count() > 0) 42 | { 43 | selector.value = 0; 44 | OnChangeVideoInput(); 45 | } 46 | } 47 | 48 | public void OnChangeVideoInput() 49 | { 50 | var oldTexture = preview.GetComponent().material.mainTexture as WebCamTexture; 51 | if (oldTexture != null && oldTexture.isPlaying) 52 | { 53 | oldTexture.Stop(); 54 | } 55 | 56 | WebCamDevice[] devices = WebCamTexture.devices; 57 | var newDevice = devices[selector.value]; 58 | 59 | WebCamTexture newTexture; 60 | if (!_textures.TryGetValue(newDevice.name, out newTexture)) { 61 | newTexture = new WebCamTexture(newDevice.name, _width, _height, _fps); 62 | _textures[newDevice.name] = newTexture; 63 | } 64 | 65 | gameController.SetVideoInputTexture(newTexture); 66 | preview.GetComponent().material.SetTexture("_VideoInput", newTexture); 67 | newTexture.Play(); 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/VideoInputController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d99b12296759740cfa64f802b5ca77b3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/VideoInputPreviewMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: VideoInputPreviewMaterial 10 | m_Shader: {fileID: 4800000, guid: a6fd5b1797c43364e9e4c6189a58656a, type: 3} 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 | - _MainTex: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _VideoInput: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | m_Floats: [] 30 | m_Colors: [] 31 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/VideoInputPreviewMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72866e3c30ce44d7cb97f45f92688cb3 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/VideoInputPreviewShader.shader: -------------------------------------------------------------------------------- 1 | Shader "BRDG/VideoInputPreviewShader" 2 | { 3 | Properties 4 | { 5 | _VideoInput ("Video Input", 2D) = "black" {} 6 | } 7 | SubShader 8 | { 9 | // No culling or depth 10 | Cull Off ZWrite Off ZTest Always 11 | 12 | Pass 13 | { 14 | CGPROGRAM 15 | #pragma vertex vert 16 | #pragma fragment frag 17 | 18 | #include "UnityCG.cginc" 19 | 20 | struct appdata 21 | { 22 | float4 vertex : POSITION; 23 | float2 uv : TEXCOORD0; 24 | }; 25 | 26 | struct v2f 27 | { 28 | float2 uv : TEXCOORD0; 29 | float4 vertex : SV_POSITION; 30 | }; 31 | 32 | v2f vert (appdata v) 33 | { 34 | v2f o; 35 | o.vertex = UnityObjectToClipPos(v.vertex); 36 | o.uv = v.uv; 37 | return o; 38 | } 39 | 40 | sampler2D _VideoInput; 41 | 42 | fixed4 frag (v2f i) : SV_Target 43 | { 44 | return tex2D(_VideoInput, i.uv); 45 | } 46 | ENDCG 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/VideoInputPreviewShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6fd5b1797c43364e9e4c6189a58656a 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/tarrget.ttf: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3a45f883718a72673454c33eb31d61f8285045213df03135d1ac6b63b114cbf9 3 | size 20084 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Main/tarrget.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2656cd7354144f1478470113a2a09827 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontName: Tarrget 12 | fontNames: 13 | - Tarrget 14 | fallbackFontReferences: [] 15 | customCharacters: 16 | fontRenderingMode: 0 17 | ascentCalculationMode: 1 18 | useLegacyBoundsCalculation: 0 19 | shouldRoundAdvanceValue: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ca8eec4d4bac4b428b24d8639af8e9f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88ea9cc3f29634da4ab62f8a43ebf35b 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Bankohan.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Bankohan 10 | m_Shader: {fileID: 4800000, guid: 822d36b6202fe7740ac3435142d87d04, type: 3} 11 | m_ShaderKeywords: OBJECT_SHAPE_CUBE 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 | m_Floats: 22 | - _AccTime: 407.32126 23 | - _Glossiness: 0.781 24 | - _Loop: 20 25 | - _Metallic: 0.206 26 | - _MinDistance: 0.001 27 | - _ShadowExtraBias: 0 28 | - _ShadowLoop: 1 29 | - _ShadowMinDistance: 0.001 30 | - _Size1: 1 31 | - _Size2: 1 32 | m_Colors: 33 | - _Color: {r: 1, g: 0, b: 0.27645588, a: 1} 34 | - _Diffuse: {r: 1, g: 1, b: 1, a: 1} 35 | - _Emission: {r: 1, g: 0, b: 0.62352943, a: 1} 36 | - _Specular: {r: 0, g: 0.14618564, b: 1, a: 0.7607843} 37 | - _YoColor: {r: 0.005, g: 0.005, b: 0.005, a: 1} 38 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Bankohan.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97e75058cd85dd043a1e3e404fd91e60 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Bankohan.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 822d36b6202fe7740ac3435142d87d04 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/BankohanParticleMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: BankohanParticleMaterial 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.5 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: 1, g: 1, b: 1, a: 1} 76 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 77 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/BankohanParticleMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47264ec48af0c574cb4c12f6d18007ac 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/CubeController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class CubeController : MonoBehaviour { 6 | void Update () { 7 | transform.rotation = Quaternion.Euler(Time.time * 10, Time.time * 20, 0); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/CubeController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a6b179242fdc4a4d932571d6e238129 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Main Camera Profile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9971e2bb503054cdb87441eb62850fa2 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/New Generator.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d68df71e824135448ad41e3c57b292ef 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/ParticleMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: ParticleMaterial 10 | m_Shader: {fileID: 203, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: BlendAlpha Clip_OFF FrameBlend_OFF SoftParticles_ON VertLight_OFF 12 | _ALPHAPREMULTIPLY_ON _EMISSION 13 | m_LightmapFlags: 1 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 2800000, guid: fd9fde9ce6505d546952963a514b1909, type: 3} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - DstMode: 10 60 | - SrcMode: 5 61 | - _BumpScale: 1 62 | - _Cutoff: 0.5 63 | - _Cutout: 0.2 64 | - _DetailNormalMapScale: 1 65 | - _DstBlend: 10 66 | - _GlossMapScale: 1 67 | - _Glossiness: 0 68 | - _GlossyReflections: 1 69 | - _InvFade: 3 70 | - _Metallic: 0 71 | - _Mode: 3 72 | - _OcclusionStrength: 1 73 | - _Parallax: 0.02 74 | - _SmoothnessTextureChannel: 0 75 | - _SpecularHighlights: 1 76 | - _SrcBlend: 1 77 | - _UVSec: 0 78 | - _ZWrite: 0 79 | m_Colors: 80 | - _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1} 81 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 82 | - _Tiling: {r: 800, g: 800, b: 8, a: 8} 83 | - _TintColor: {r: 0.7, g: 0.7, b: 1, a: 1} 84 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/ParticleMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7adf924b8b2fb3949b2a08d5302ce149 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Scene1CameraController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class Scene1CameraController : MonoBehaviour { 6 | float _radius; 7 | [SerializeField] GameObject _rayBox; 8 | 9 | 10 | void Start() 11 | { 12 | _radius = transform.position.magnitude; 13 | } 14 | 15 | void Update() 16 | { 17 | 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Scene1CameraController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 481936525dc16464a9ad4fefb0d111f4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Scene1GameController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d6cc0c6ad8700f84aac71798928b809b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca09e5d69ca26c34a934168d14c57cf4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_COLOR.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2a92b9018b8fa30cb9e2075c3fceb984a6e7d0752bbf5b59c602d3c353973278 3 | size 1281406 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_COLOR.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 988671513a27741bc8a82c633b3fa392 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_DISP.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:ca796b2388107198bcb81493a74a0861fa5154770b2584fc7d12093f92f0d8ff 3 | size 77441 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_DISP.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a6e951a4a049434ba195a4952c9b2ec 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_NRM.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:55b0809a939bbf44543d1ad7402fe0d1ce524941b9ccf095e4cf1730d6b42c04 3 | size 365990 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_NRM.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 47a453af45056421ca07e60981c110d6 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 0 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 1 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_OCC.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:afc2f347a66df78ca7cb618e5f19c0bc94d6c2a03ec15dc775180115f60a767c 3 | size 17011 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_OCC.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea584bd29dab3499b8d684cba3aae91c 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_SPEC.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:addb302246eab6913dcf64b292d16fb71b0aaa3dc7ac7a8a63049ac32d42c225 3 | size 1621812 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_SPEC.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35f7394115f614d2dabcb5cfb2c9b799 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_render.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:4aba9ee32fdb343ae6b27938288518a5be8275780715d2ebae13778321a2a420 3 | size 471998 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_003_render.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fbdc26f44f4a40c59116af1e34f5e23 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_COLOR.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:3609424c97c74c614a1c6168f8af229c87ef565b292489b902f11f8dc405517d 3 | size 2838005 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_COLOR.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a26605218e91422eb195df72c39ed09 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_DISP.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:dca9aaeb4681787af4010e3462012c6f92c6c9f6c2abfef00f1e884fd4b31b09 3 | size 438765 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_DISP.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e197105f5579741d58fe7b2bbbf4303a 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_NRM.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:61aed53def7a36d38b89caadb2a8787ce834e59c1b6318ed1f7e83d589d8938d 3 | size 1365497 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_NRM.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b627ca4258a214041b7794f1b136634c 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 0 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 1 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_OCC.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:28b6bef8b0e7231fe2cb9160d51bd4cd7a6926e4c1f327d87d490c96b4992fb2 3 | size 705126 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_OCC.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ad6193f4e3bd4ed9bb4503c745b35ce 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_SPEC.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b3c5798c4758e86be85734b4c31a688395c14c28cc135ad4ef4e3d1061fa1f2c 3 | size 2613563 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_SPEC.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1b702cfa7b284c1e9b9a9c7527bb2dc 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_render.jpg: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:43df8985b9fada742eb86388696ec95196cda3ea5b12761343bca4c112102f0d 3 | size 436403 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Metal_Rusted_007_render.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2ea5fabca772545129599afb5347f53e 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Rectangle (1).png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:596241912cadf1eeae1c301c01cbd2b9ddcc6e21f0d4a04351922984bfc38b1e 3 | size 10029 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Rectangle (1).png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf19909ccf45e2f40a3058e241c8a172 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Rectangle (2).png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6e83ae2b695c8bbc1cf887fd1eaa56f7770e2cd2661a577ad13c278d4d43cc4a 3 | size 9646 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Rectangle (2).png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65a64ceee2d250245abcad243f9c7c98 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Rectangle (3).png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:0ad787b610cbbbc5210461ed304f55109ae5f112af2af755ad2429fbd6115f14 3 | size 10362 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Rectangle (3).png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 81f8633aaf746ee4b83df877db5d1b2a 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Rectangle.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2884a6b3cde45adaba624da0f4c372e0c155b58e2398fd284aeba13da263e365 3 | size 11513 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene1/Textures/Rectangle.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d324f0d53c880c44a7fbb622f693bd4 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 61b79b198bc25428ca892f4198a82c5f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2ab26dc635f754260ab28de3ef3e157b 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2/GrowingCube.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: GrowingCube 10 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: _EMISSION _NORMALMAP _PARALLAXMAP 12 | m_LightmapFlags: 1 13 | m_EnableInstancingVariants: 1 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: e4b5c60371e74ea44854dae7180ce541, 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: 2800000, guid: a3559c42d9e864c418df28c1b4185a54, type: 3} 39 | m_Scale: {x: 1, y: 3} 40 | m_Offset: {x: 0, y: 0} 41 | - _MainTex: 42 | m_Texture: {fileID: 0} 43 | m_Scale: {x: 1, y: 3} 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: 2800000, guid: 20296e1c032d1c84f8ef062dad0ede46, type: 3} 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.805 64 | - _GlossyReflections: 1 65 | - _Metallic: 1 66 | - _Mode: 0 67 | - _OcclusionStrength: 1 68 | - _Parallax: 0.08 69 | - _SmoothnessTextureChannel: 0 70 | - _SpecularHighlights: 1 71 | - _SrcBlend: 1 72 | - _UVSec: 0 73 | - _ZWrite: 1 74 | m_Colors: 75 | - _Color: {r: 0.375534, g: 0.7594291, b: 0.8207547, a: 1} 76 | - _EmissionColor: {r: 0, g: 2, b: 3, a: 1} 77 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2/GrowingCube.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93468de1d86194839805556bbb1eeb33 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2/GrowingsController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class GrowingsController : MonoBehaviour 6 | { 7 | [SerializeField] GameObject pipePrefab; 8 | [SerializeField] Camera _sceneCamera; 9 | [SerializeField] GameObject _particles; 10 | List _points = new List(); 11 | Vector3 _center = Vector3.zero; 12 | Vector3 _nextCenter = Vector3.up; 13 | 14 | int NUM = 8; 15 | 16 | void Start() 17 | { 18 | for (int i = 0; i < NUM; i++) 19 | { 20 | _points.Add(Vector3.zero); 21 | } 22 | Grow(); 23 | } 24 | 25 | void Update () 26 | { 27 | // Get interpolated position as camera target; 28 | var target = (_nextCenter - _center) * 0.3f + _center; 29 | 30 | var dir = Quaternion.Euler( 31 | Time.time * 20, 32 | Time.time * 50, 33 | Time.time * 40 34 | ) * Vector3.up * (3 + Mathf.Sin(Time.time) * 0.3f); 35 | 36 | _sceneCamera.transform.position = target + dir; 37 | _particles.transform.position = _nextCenter; 38 | _sceneCamera.transform.LookAt(target); 39 | 40 | _center = target; 41 | 42 | if (Time.frameCount % 30 == 0) 43 | { 44 | Grow(); 45 | } 46 | } 47 | 48 | void Grow() 49 | { 50 | var newPoints = new List(); 51 | var center = Vector3.zero; 52 | 53 | for (int i = 0; i < NUM; i++) 54 | { 55 | var p1 = _points[i]; 56 | var p2 = _points[(i + 1) / _points.Count]; 57 | var p12 = p1 + (p2 - p1) / 2; 58 | 59 | var rot = Quaternion.Euler(Random.Range(-50, 50), Random.Range(-90, 90), Random.Range(-50, 50)); 60 | var nextPoint = p12 + (rot * Vector3.up) * 3; 61 | 62 | FromTo(p1, nextPoint); 63 | FromTo(p2, nextPoint); 64 | FromTo(p1, p2); 65 | 66 | newPoints.Add(nextPoint); 67 | center += nextPoint; 68 | } 69 | 70 | _points = newPoints; 71 | center /= NUM; 72 | 73 | _center = _nextCenter; 74 | _nextCenter = center; 75 | } 76 | 77 | void FromTo(Vector3 p1, Vector3 p2) 78 | { 79 | var p12 = p2 - p1; 80 | var rot = Quaternion.FromToRotation(Vector3.up, p12); 81 | var i = Instantiate(pipePrefab, transform.position + p1, rot, transform); 82 | i.GetComponent().SetLength(p12.magnitude); 83 | Destroy(i, 10); 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2/GrowingsController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce48ce51c48e8456e9d52aa52d1f0126 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2/Main Camera Profile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a6c55091237940f9b122943e8b0cee8 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2/Pipe.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f5c7ae6189564dfabfdc60965c57ff5 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2/PipeController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class PipeController : MonoBehaviour 6 | { 7 | float _length = 0.0f; 8 | float _speed; 9 | float _pipeWidth = 1; 10 | 11 | void Start() 12 | { 13 | _speed = Random.Range(0.05f, 0.95f); 14 | } 15 | 16 | void Update() 17 | { 18 | var l = transform.localScale.y; 19 | 20 | if (l < _length) 21 | { 22 | var nextl = _length - (_length - l) * _speed; 23 | transform.localScale = new Vector3(_pipeWidth, nextl, 1); 24 | } 25 | } 26 | 27 | public void SetLength(float length) 28 | { 29 | _length = length; 30 | } 31 | 32 | public void SetWidth(float width) 33 | { 34 | _pipeWidth = width; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2/PipeController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da4cdac3d95fe455ca4ae1cbe0f536e6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2/Scene2GameController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a629312ffb6cb54eaac3b508dce1fa2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2/kick.wav: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a87ea5baabaf3a9240fe7f82a6cdcdc5874e389d6285e395c4681f0a638e4ea5 3 | size 2139078 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene2/kick.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d899a5224db2a264a836b145a55b4cf9 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75167cc27d07b6c4f9461945b76603e5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9e7786002c30049a6b15e4bab854b9fa 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/Background.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Background 10 | m_Shader: {fileID: 4800000, guid: 2635fbd7265d9cb45a342b4ca3d5fea5, type: 3} 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 | - _MainTex: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | m_Floats: 26 | - _Glossiness: 0 27 | - _Metallic: 0 28 | m_Colors: 29 | - _Color: {r: 0.06608224, g: 0.5188679, b: 0.5188679, a: 1} 30 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/Background.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 060f796110d66fd44a66a421e57acd8d 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/Background.shader: -------------------------------------------------------------------------------- 1 | Shader "BRDG/Scene3Background" { 2 | Properties { 3 | _Color ("Color", Color) = (1,1,1,1) 4 | _MainTex ("Albedo (RGB)", 2D) = "white" {} 5 | _Glossiness ("Smoothness", Range(0,1)) = 0.5 6 | _Metallic ("Metallic", Range(0,1)) = 0.0 7 | } 8 | SubShader { 9 | Tags { "RenderType"="Opaque" } 10 | LOD 200 11 | Cull Off 12 | 13 | CGPROGRAM 14 | // Physically based Standard lighting model, and enable shadows on all light types 15 | #pragma surface surf Standard fullforwardshadows 16 | 17 | // Use shader model 3.0 target, to get nicer looking lighting 18 | #pragma target 3.0 19 | 20 | sampler2D _MainTex; 21 | 22 | struct Input { 23 | float2 uv_MainTex; 24 | }; 25 | 26 | half _Glossiness; 27 | half _Metallic; 28 | fixed4 _Color; 29 | 30 | // Add instancing support for this shader. You need to check 'Enable Instancing' on materials that use the shader. 31 | // See https://docs.unity3d.com/Manual/GPUInstancing.html for more information about instancing. 32 | // #pragma instancing_options assumeuniformscaling 33 | UNITY_INSTANCING_BUFFER_START(Props) 34 | // put more per-instance properties here 35 | UNITY_INSTANCING_BUFFER_END(Props) 36 | 37 | void surf (Input IN, inout SurfaceOutputStandard o) { 38 | // Albedo comes from a texture tinted by color 39 | fixed4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color; 40 | o.Albedo = c.rgb; 41 | // Metallic and smoothness come from slider variables 42 | o.Metallic = _Metallic; 43 | o.Smoothness = _Glossiness; 44 | o.Alpha = c.a; 45 | o.Emission = c * 2.; 46 | } 47 | ENDCG 48 | } 49 | FallBack "Diffuse" 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/Background.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2635fbd7265d9cb45a342b4ca3d5fea5 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/CubeMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: CubeMaterial 10 | m_Shader: {fileID: 4800000, guid: a5d1d79a3e8657845bc51ff078e3b65d, type: 3} 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 | - _EmissionTex: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _MainTex: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _NormalTex: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | m_Floats: 34 | - _Blightness: 0 35 | - _Glossiness: 0 36 | - _Metallic: 1 37 | - _Rim: 0.016 38 | - _Speed: 0.01 39 | - _Zebra: 2.04 40 | m_Colors: 41 | - _Color: {r: 1, g: 0, b: 0, a: 0} 42 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/CubeMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b134dcd87847e2a43bd48ae05e8ee765 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/Main Camera Profile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7578097dd752e94ba3ad7e7bee1aa26 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/Scene3GameControlelr.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class Scene3GameControlelr : MonoBehaviour 6 | { 7 | [SerializeField] Camera _sceneCamera; 8 | [SerializeField] Material _cubeMaterial; 9 | [SerializeField] Material _sphereMaterial; 10 | [SerializeField] GameObject _cubeParticleObject; 11 | [SerializeField] GameObject _sphereParticleObject; 12 | ParticleSystem _cubeParticles; 13 | ParticleSystem _sphereParticles; 14 | 15 | float _time = 0; 16 | float _clockSpeed = 1.0f; 17 | float _radius = 10; 18 | bool _isParty = false; 19 | float _partyCounter = 0; 20 | float _rot = 0; 21 | 22 | void Start () 23 | { 24 | _cubeParticles = _cubeParticleObject.GetComponent(); 25 | _sphereParticles = _sphereParticleObject.GetComponent(); 26 | } 27 | 28 | bool Party(float speed, float x) 29 | { 30 | _partyCounter +=0.01f; 31 | return _isParty && Mathf.PerlinNoise(Time.time * speed, _partyCounter * 2499) < x; 32 | } 33 | 34 | void Update () 35 | { 36 | if (Input.GetKeyDown(KeyCode.P)) 37 | { 38 | _isParty = !_isParty; 39 | } 40 | 41 | // Accelerate 42 | if (Input.GetKey(KeyCode.Q) || Party(1.7f, 0.4f)) 43 | { 44 | _clockSpeed = 4; 45 | } 46 | else 47 | { 48 | _clockSpeed = 1; 49 | } 50 | _time += Time.deltaTime * _clockSpeed; 51 | _cubeParticles.playbackSpeed = _clockSpeed; 52 | _sphereParticles.playbackSpeed = _clockSpeed; 53 | 54 | // Wiggle 55 | if (Input.GetKey(KeyCode.W) || Party(1, 0.2f)) 56 | { 57 | _sceneCamera.transform.position = _sceneCamera.transform.position + 58 | ( 59 | _sceneCamera.transform.right * (Mathf.PerlinNoise(1, _time * 50) * 2 - 1) * 1.2f + 60 | _sceneCamera.transform.up * (Mathf.PerlinNoise(2, _time * 80) * 2 - 1) * .7f 61 | ); 62 | _sceneCamera.transform.position *= _radius / _sceneCamera.transform.position.magnitude; 63 | } 64 | 65 | // Rotate Scene 66 | if (Input.GetKey(KeyCode.R) || Party(0.04f, 0.3f)) 67 | { 68 | _rot += 4; 69 | } 70 | var dir = Quaternion.Euler( 71 | _time * 20 + _rot, 72 | _time * 40 + _rot, 73 | _time * 30 + _rot * 2 74 | ) * Vector3.up; 75 | _sceneCamera.transform.position = dir * _radius; 76 | 77 | _sceneCamera.transform.position *= _radius / _sceneCamera.transform.position.magnitude; 78 | _sceneCamera.transform.LookAt(Vector3.zero); 79 | 80 | // Evolve 81 | var emit = 1; 82 | if (Input.GetKey(KeyCode.E) || Party(0.3f, .4f)) 83 | { 84 | emit = 3; 85 | } 86 | 87 | // Transform 88 | if (Input.GetKey(KeyCode.T) || Party(0.3f, 0.3f)) 89 | { 90 | _cubeParticles.emissionRate = 4 * emit; 91 | _sphereParticles.emissionRate = 20 * emit; 92 | } 93 | else 94 | { 95 | _cubeParticles.emissionRate = 20 * emit; 96 | _sphereParticles.emissionRate = 7 * emit; 97 | } 98 | 99 | if (Input.GetKey(KeyCode.Y) || Mathf.PerlinNoise(Time.time * 2f, 10) < 0.5f) 100 | { 101 | _cubeMaterial.SetColor("_Emission", Color.red); 102 | _sphereMaterial.SetColor("_Emission", Color.white); 103 | } 104 | else 105 | { 106 | _cubeMaterial.SetColor("_Emission", Color.black); 107 | _sphereMaterial.SetColor("_Emission", Color.black); 108 | } 109 | 110 | _cubeMaterial.SetFloat("_Speed", _clockSpeed * 0.01f); 111 | _sphereMaterial.SetFloat("_Speed", _clockSpeed * 0.01f); 112 | } 113 | } 114 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/Scene3GameControlelr.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41e0467f55c47c149b40035bc28d8ebf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/SphereMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: SphereMaterial 10 | m_Shader: {fileID: 4800000, guid: a5d1d79a3e8657845bc51ff078e3b65d, type: 3} 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 | - _EmissionTex: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _MainTex: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _NormalTex: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | m_Floats: 34 | - _Blightness: 0 35 | - _Glossiness: 0 36 | - _Metallic: 1 37 | - _Rim: 0.13 38 | - _Speed: 0.01 39 | - _Zebra: 2.5 40 | m_Colors: 41 | - _Color: {r: 1, g: 0.026336044, b: 0, a: 0} 42 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/SphereMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dafe7c4ce051c8949bb7678aa02ec3c2 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/StripeSurface.shader: -------------------------------------------------------------------------------- 1 | Shader "Custom/StripeSurface" { 2 | Properties { 3 | _Color ("Color", Color) = (1,1,1,1) 4 | _MainTex ("Albedo (RGB)", 2D) = "white" {} 5 | _Glossiness ("Smoothness", Range(0,1)) = 0.5 6 | _Metallic ("Metallic", Range(0,1)) = 0.0 7 | _Zebra ("Zebra", Range(1, 10)) = 10 8 | _Speed ("Speed", Range(0.01, 3)) = 1.0 9 | } 10 | SubShader { 11 | Tags { "RenderType"="Opaque" } 12 | LOD 200 13 | 14 | CGPROGRAM 15 | // Physically based Standard lighting model, and enable shadows on all light types 16 | #pragma surface surf Standard fullforwardshadows 17 | 18 | // Use shader model 3.0 target, to get nicer looking lighting 19 | #pragma target 3.0 20 | 21 | sampler2D _MainTex; 22 | 23 | struct Input { 24 | float2 uv_MainTex; 25 | }; 26 | 27 | half _Glossiness; 28 | half _Metallic; 29 | fixed4 _Color; 30 | fixed4 _Emission; 31 | float _Speed; 32 | float _Zebra; 33 | 34 | // Add instancing support for this shader. You need to check 'Enable Instancing' on materials that use the shader. 35 | // See https://docs.unity3d.com/Manual/GPUInstancing.html for more information about instancing. 36 | // #pragma instancing_options assumeuniformscaling 37 | UNITY_INSTANCING_BUFFER_START(Props) 38 | // put more per-instance properties here 39 | UNITY_INSTANCING_BUFFER_END(Props) 40 | 41 | void surf (Input IN, inout SurfaceOutputStandard o) { 42 | float2 uv = IN.uv_MainTex; 43 | 44 | float ste = .5 + sin(_Time.y * .3) * .3; 45 | float k = step(ste, sin((uv.x + uv.y + _Time.y * _Speed) * 10 * _Zebra)); 46 | float4 col = float4(0, 0, 0, k); 47 | 48 | if (k == 1) 49 | { 50 | col = _Color; 51 | } 52 | o.Albedo = col; 53 | 54 | o.Emission = _Emission * k * 3; 55 | 56 | o.Alpha = 1; 57 | o.Metallic = _Metallic; 58 | o.Smoothness = _Glossiness; 59 | } 60 | ENDCG 61 | } 62 | FallBack "Diffuse" 63 | } 64 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/StripeSurface.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5d1d79a3e8657845bc51ff078e3b65d 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/StripesShader.shader: -------------------------------------------------------------------------------- 1 | Shader "Unlit/StripesShader" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Texture", 2D) = "white" {} 6 | _Zebra ("Zebra", Range(1, 10)) = 10 7 | _Speed ("Speed", Range(0.01, 3)) = 1.0 8 | _Color ("Color", Color) = (1, 0, 0.3) 9 | } 10 | SubShader 11 | { 12 | Tags { "RenderType"="Opaque" } 13 | LOD 100 14 | 15 | Pass 16 | { 17 | CGPROGRAM 18 | #pragma vertex vert 19 | #pragma fragment frag 20 | // make fog work 21 | #pragma multi_compile_fog 22 | 23 | #include "UnityCG.cginc" 24 | 25 | struct appdata 26 | { 27 | float4 vertex : POSITION; 28 | float2 uv : TEXCOORD0; 29 | }; 30 | 31 | struct v2f 32 | { 33 | float2 uv : TEXCOORD0; 34 | UNITY_FOG_COORDS(1) 35 | float4 vertex : SV_POSITION; 36 | }; 37 | 38 | sampler2D _MainTex; 39 | float4 _MainTex_ST; 40 | float _Zebra; 41 | float _Speed; 42 | float4 _Color; 43 | 44 | v2f vert (appdata v) 45 | { 46 | v2f o; 47 | o.vertex = UnityObjectToClipPos(v.vertex); 48 | o.uv = TRANSFORM_TEX(v.uv, _MainTex); 49 | UNITY_TRANSFER_FOG(o,o.vertex); 50 | return o; 51 | } 52 | 53 | fixed4 frag (v2f i) : SV_Target 54 | { 55 | float2 uv = i.uv; 56 | 57 | float ste = .5;// + sin(_Time.y * .3) * .5; 58 | float k = step(ste, sin((uv.x + uv.y + _Time.y * _Speed) * 10 * _Zebra)); 59 | float4 col = float4(0, 0, 0, k); 60 | if (k == 1) 61 | { 62 | col = _Color; 63 | } 64 | 65 | // apply fog 66 | UNITY_APPLY_FOG(i.fogCoord, col); 67 | return col; 68 | } 69 | ENDCG 70 | } 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/StripesShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b10acbe3bebe29b42ad3cea0708173c4 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/TrailMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: TrailMaterial 10 | m_Shader: {fileID: 4800000, guid: b10acbe3bebe29b42ad3cea0708173c4, type: 3} 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 | - _EmissionTex: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | - _MainTex: 26 | m_Texture: {fileID: 0} 27 | m_Scale: {x: 1, y: 1} 28 | m_Offset: {x: 0, y: 0} 29 | - _NormalTex: 30 | m_Texture: {fileID: 0} 31 | m_Scale: {x: 1, y: 1} 32 | m_Offset: {x: 0, y: 0} 33 | m_Floats: 34 | - _Blightness: 0 35 | - _Glossiness: 1 36 | - _Metallic: 1 37 | - _Rim: 0.13 38 | - _Speed: 1.44 39 | - _Zebra: 1.56 40 | m_Colors: 41 | - _Color: {r: 0.5029815, g: 0.6602904, b: 0.8396226, a: 0} 42 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene3/TrailMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 127da2dcf0d9f5c4cbcd99e81fe7eb88 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 832ae70735dd65c4e90517eea4ad2573 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62189c4b17cb9654398108f5376b3210 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4/LightBarsMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: LightBarsMaterial 10 | m_Shader: {fileID: 4800000, guid: a9a5fc9c03283a242a96ab598bf74198, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 4 13 | m_EnableInstancingVariants: 1 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: [] 18 | m_SavedProperties: 19 | serializedVersion: 3 20 | m_TexEnvs: 21 | - _MainTex: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | m_Floats: 26 | - _LightWidth: 18.24026 27 | - _LineWidth: 1 28 | m_Colors: [] 29 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4/LightBarsMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e82ebcd070669ab4da55137760a9a73f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4/LightBarsShader.shader: -------------------------------------------------------------------------------- 1 | Shader "Unlit/LightBarsShader" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Texture", 2D) = "white" {} 6 | _LightWidth ("LightWidth", Range(0.0, 1.0)) = 0.1 7 | } 8 | SubShader 9 | { 10 | Tags { "RenderType"="Transparent" "Queue"="Transparent" } 11 | LOD 100 12 | Blend SrcAlpha OneMinusSrcAlpha 13 | 14 | Pass 15 | { 16 | CGPROGRAM 17 | #pragma vertex vert 18 | #pragma fragment frag 19 | 20 | #include "UnityCG.cginc" 21 | 22 | struct appdata 23 | { 24 | float4 vertex : POSITION; 25 | float2 uv : TEXCOORD0; 26 | }; 27 | 28 | struct v2f 29 | { 30 | float2 uv : TEXCOORD0; 31 | UNITY_FOG_COORDS(1) 32 | float4 vertex : SV_POSITION; 33 | }; 34 | 35 | sampler2D _MainTex; 36 | float4 _MainTex_ST; 37 | float _LightWidth; 38 | float _LightRed; 39 | 40 | v2f vert (appdata v) 41 | { 42 | v2f o; 43 | o.vertex = UnityObjectToClipPos(v.vertex); 44 | o.uv = TRANSFORM_TEX(v.uv, _MainTex); 45 | return o; 46 | } 47 | 48 | fixed4 frag (v2f i) : SV_Target 49 | { 50 | // sample the texture 51 | fixed4 col = tex2D(_MainTex, i.uv); 52 | 53 | // Show UV 54 | col = float4(i.uv, 1, 1); 55 | 56 | float t = _Time.y * .9; 57 | float _Ratio = .94 - _LightWidth * 1.94; 58 | float bord = smoothstep(_Ratio, _Ratio + .02, sin(i.uv.y * 20 * 3.141592)); 59 | float xwave = frac(i.uv.x * 2 + t + sin(i.uv.y * 8) * 2); 60 | xwave = smoothstep(.4, .5, xwave) * (1 - smoothstep(.5, .6, xwave)); 61 | float k = bord * xwave; 62 | 63 | col.bg -= _LightRed; 64 | col.r += _LightRed; 65 | 66 | col.a *= k; 67 | 68 | return col; 69 | } 70 | ENDCG 71 | } 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4/LightBarsShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9a5fc9c03283a242a96ab598bf74198 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4/LightPlaneController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class LightPlaneController : MonoBehaviour 6 | { 7 | [SerializeField] Transform _lightBarPrefab; 8 | 9 | int _num = 10; 10 | float _height = 2; 11 | List _lights = new List(); 12 | 13 | void Start() 14 | { 15 | var h = _height / _num; 16 | for (int i = 0; i < _num; i++) 17 | { 18 | var position = transform.position + new Vector3(0, -_height/2 + h * (float)i, 0); 19 | var o = Instantiate(_lightBarPrefab, position, Quaternion.identity, transform); 20 | // o.localScale = transform.localScale; 21 | o.rotation = transform.transform.rotation; 22 | _lights.Add(o); 23 | } 24 | } 25 | 26 | void Update() 27 | { 28 | var i = 0; 29 | _lights.ForEach(l => { 30 | l.position = l.position + l.right * Mathf.Sin(Time.time + i * 20) * .2f; 31 | i++; 32 | }); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4/LightPlaneController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38c4ff7b01bba0640b9e977d9c674c39 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4/Main Camera Profile 1.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a701c2e6fb7005849a1976d4cd178a7f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4/Main Camera Profile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85cc458846dbd104c90e579eea77ab08 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4/Quad.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_SourcePrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1158678836840434} 13 | m_IsPrefabAsset: 1 14 | --- !u!1 &1158678836840434 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_CorrespondingSourceObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 6 20 | m_Component: 21 | - component: {fileID: 4994600847868170} 22 | - component: {fileID: 33319638531175026} 23 | - component: {fileID: 23574976684587504} 24 | m_Layer: 14 25 | m_Name: Quad 26 | m_TagString: Untagged 27 | m_Icon: {fileID: 0} 28 | m_NavMeshLayer: 0 29 | m_StaticEditorFlags: 0 30 | m_IsActive: 1 31 | --- !u!4 &4994600847868170 32 | Transform: 33 | m_ObjectHideFlags: 1 34 | m_CorrespondingSourceObject: {fileID: 0} 35 | m_PrefabInternal: {fileID: 100100000} 36 | m_GameObject: {fileID: 1158678836840434} 37 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 38 | m_LocalPosition: {x: 0, y: 0, z: 0} 39 | m_LocalScale: {x: 60.520004, y: 4.2, z: 1} 40 | m_Children: [] 41 | m_Father: {fileID: 0} 42 | m_RootOrder: 0 43 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 44 | --- !u!23 &23574976684587504 45 | MeshRenderer: 46 | m_ObjectHideFlags: 1 47 | m_CorrespondingSourceObject: {fileID: 0} 48 | m_PrefabInternal: {fileID: 100100000} 49 | m_GameObject: {fileID: 1158678836840434} 50 | m_Enabled: 1 51 | m_CastShadows: 1 52 | m_ReceiveShadows: 0 53 | m_DynamicOccludee: 0 54 | m_MotionVectors: 1 55 | m_LightProbeUsage: 0 56 | m_ReflectionProbeUsage: 0 57 | m_RenderingLayerMask: 4294967295 58 | m_Materials: 59 | - {fileID: 2100000, guid: e82ebcd070669ab4da55137760a9a73f, type: 2} 60 | m_StaticBatchInfo: 61 | firstSubMesh: 0 62 | subMeshCount: 0 63 | m_StaticBatchRoot: {fileID: 0} 64 | m_ProbeAnchor: {fileID: 0} 65 | m_LightProbeVolumeOverride: {fileID: 0} 66 | m_ScaleInLightmap: 1 67 | m_PreserveUVs: 0 68 | m_IgnoreNormalsForChartDetection: 0 69 | m_ImportantGI: 0 70 | m_StitchLightmapSeams: 0 71 | m_SelectedEditorRenderState: 3 72 | m_MinimumChartSize: 4 73 | m_AutoUVMaxDistance: 0.5 74 | m_AutoUVMaxAngle: 89 75 | m_LightmapParameters: {fileID: 0} 76 | m_SortingLayerID: 0 77 | m_SortingLayer: 0 78 | m_SortingOrder: 0 79 | --- !u!33 &33319638531175026 80 | MeshFilter: 81 | m_ObjectHideFlags: 1 82 | m_CorrespondingSourceObject: {fileID: 0} 83 | m_PrefabInternal: {fileID: 100100000} 84 | m_GameObject: {fileID: 1158678836840434} 85 | m_Mesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} 86 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4/Quad.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5a7bdb29fe7abb439de301cde6f4a13 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene4/Scene4GameController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f4c83ff20ab1074585d0edfd858d450 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec445dfa70f034a429804fcba98dc1b1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32fb20b020c79fc4c819b253fc8c75e3 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Background.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: Background 10 | m_Shader: {fileID: 10752, 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.5 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: 1, g: 1, b: 1, a: 1} 76 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 77 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Background.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5652cbcf1c860e94c94313476e717b66 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Inferno_demise_01.mov: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:00e22731ea3e4aea172b96be9e267b6a7adf44cf9d7e93b4f47d777d893201f5 3 | size 65473047 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Inferno_demise_01.mov.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f814bba62bb8f042ad257a33f0e9463 3 | VideoClipImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | useLegacyImporter: 0 7 | quality: 0.5 8 | isColorLinear: 0 9 | frameRange: 0 10 | startFrame: -1 11 | endFrame: -1 12 | colorSpace: 0 13 | deinterlace: 0 14 | encodeAlpha: 0 15 | flipVertical: 0 16 | flipHorizontal: 0 17 | importAudio: 1 18 | targetSettings: 19 | 0: 20 | enableTranscoding: 0 21 | codec: 0 22 | resizeFormat: 0 23 | aspectRatio: 0 24 | customWidth: 1920 25 | customHeight: 1080 26 | bitrateMode: 2 27 | spatialQuality: 2 28 | userData: 29 | assetBundleName: 30 | assetBundleVariant: 31 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Main Camera Profile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aad610c289d72d745894ac44a43f4cbc 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Rectangle (1).png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:596241912cadf1eeae1c301c01cbd2b9ddcc6e21f0d4a04351922984bfc38b1e 3 | size 10029 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Rectangle (1).png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab739a87ddeb0264fa3804eae5baa085 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Rectangle (2).png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:6e83ae2b695c8bbc1cf887fd1eaa56f7770e2cd2661a577ad13c278d4d43cc4a 3 | size 9646 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Rectangle (2).png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c69c35bd2d1251b42afc012ebe2a0e77 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Rectangle (3).png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:0ad787b610cbbbc5210461ed304f55109ae5f112af2af755ad2429fbd6115f14 3 | size 10362 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Rectangle (3).png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40c7111ecbe02514aafeff95dd4e9919 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Rectangle.png: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2884a6b3cde45adaba624da0f4c372e0c155b58e2398fd284aeba13da263e365 3 | size 11513 4 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/Rectangle.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88f31339b53cb6646a3aeefbae3ff890 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/SphereShader.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: SphereShader 10 | m_Shader: {fileID: 4800000, guid: 1f84cd1076f073d448a26a950902f99a, type: 3} 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 | - _MainTex: 22 | m_Texture: {fileID: 15200000, guid: 7f814bba62bb8f042ad257a33f0e9463, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | m_Floats: [] 26 | m_Colors: [] 27 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/SphereShader.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 708aec6261bda4440a1941f518101aeb 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/SphereShader.shader: -------------------------------------------------------------------------------- 1 | Shader "Unlit/SphereShader" 2 | { 3 | Properties 4 | { 5 | _MainTex ("Texture", 2D) = "white" {} 6 | } 7 | SubShader 8 | { 9 | Tags { "RenderType"="Opaque" } 10 | LOD 100 11 | Cull Off 12 | 13 | Pass 14 | { 15 | CGPROGRAM 16 | #pragma vertex vert 17 | #pragma fragment frag 18 | // make fog work 19 | #pragma multi_compile_fog 20 | 21 | #include "UnityCG.cginc" 22 | 23 | struct appdata 24 | { 25 | float4 vertex : POSITION; 26 | float2 uv : TEXCOORD0; 27 | }; 28 | 29 | struct v2f 30 | { 31 | float2 uv : TEXCOORD0; 32 | UNITY_FOG_COORDS(1) 33 | float4 vertex : SV_POSITION; 34 | }; 35 | 36 | sampler2D _MainTex; 37 | float4 _MainTex_ST; 38 | 39 | v2f vert (appdata v) 40 | { 41 | v2f o; 42 | o.vertex = UnityObjectToClipPos(v.vertex); 43 | o.uv = TRANSFORM_TEX(v.uv, _MainTex); 44 | UNITY_TRANSFER_FOG(o,o.vertex); 45 | return o; 46 | } 47 | 48 | fixed4 frag (v2f i) : SV_Target 49 | { 50 | // sample the texture 51 | fixed4 col = tex2D(_MainTex, i.uv) * 0.4; 52 | // apply fog 53 | UNITY_APPLY_FOG(i.fogCoord, col); 54 | return col; 55 | } 56 | ENDCG 57 | } 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/SphereShader.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1f84cd1076f073d448a26a950902f99a 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/TrailMaterial1.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: TrailMaterial1 10 | m_Shader: {fileID: 210, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: _EMISSION _NORMALMAP _PARALLAXMAP 12 | m_LightmapFlags: 0 13 | m_EnableInstancingVariants: 1 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: 18 | - ALWAYS 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 2800000, guid: 47a453af45056421ca07e60981c110d6, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 2800000, guid: ab739a87ddeb0264fa3804eae5baa085, type: 3} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 2800000, guid: 988671513a27741bc8a82c633b3fa392, type: 3} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 2800000, guid: ea584bd29dab3499b8d684cba3aae91c, type: 3} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 2800000, guid: 47a453af45056421ca07e60981c110d6, type: 3} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BlendOp: 0 60 | - _BumpScale: 1 61 | - _CameraFadingEnabled: 0 62 | - _CameraFarFadeDistance: 2 63 | - _CameraNearFadeDistance: 1 64 | - _Cull: 2 65 | - _Cutoff: 0.5 66 | - _DetailNormalMapScale: 1 67 | - _DistortionBlend: 0.5 68 | - _DistortionEnabled: 0 69 | - _DistortionStrength: 1 70 | - _DistortionStrengthScaled: 0 71 | - _DstBlend: 0 72 | - _EmissionEnabled: 1 73 | - _FlipbookMode: 0 74 | - _GlossMapScale: 0.768 75 | - _Glossiness: 1 76 | - _GlossyReflections: 1 77 | - _InvFade: 1 78 | - _LightingEnabled: 1 79 | - _Metallic: 1 80 | - _Mode: 0 81 | - _OcclusionStrength: 1 82 | - _Parallax: 0.0318 83 | - _SmoothnessTextureChannel: 0 84 | - _SoftParticlesEnabled: 0 85 | - _SoftParticlesFarFadeDistance: 1 86 | - _SoftParticlesNearFadeDistance: 0 87 | - _SpecularHighlights: 1 88 | - _SrcBlend: 1 89 | - _UVSec: 0 90 | - _ZWrite: 1 91 | m_Colors: 92 | - _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0} 93 | - _Color: {r: 1, g: 0.4669811, b: 0.5963296, a: 1} 94 | - _EmissionColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 95 | - _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0} 96 | - _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} 97 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/TrailMaterial1.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f40e3d3657fc4e74d80026d271f4a89a 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/TrailMaterial2.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: TrailMaterial2 10 | m_Shader: {fileID: 210, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: _EMISSION _NORMALMAP _PARALLAXMAP 12 | m_LightmapFlags: 0 13 | m_EnableInstancingVariants: 1 14 | m_DoubleSidedGI: 0 15 | m_CustomRenderQueue: -1 16 | stringTagMap: {} 17 | disabledShaderPasses: 18 | - ALWAYS 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 2800000, guid: 47a453af45056421ca07e60981c110d6, type: 3} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 2800000, guid: 40c7111ecbe02514aafeff95dd4e9919, type: 3} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 2800000, guid: 988671513a27741bc8a82c633b3fa392, type: 3} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 2800000, guid: ea584bd29dab3499b8d684cba3aae91c, type: 3} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 2800000, guid: 47a453af45056421ca07e60981c110d6, type: 3} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BlendOp: 0 60 | - _BumpScale: 1 61 | - _CameraFadingEnabled: 0 62 | - _CameraFarFadeDistance: 2 63 | - _CameraNearFadeDistance: 1 64 | - _Cull: 2 65 | - _Cutoff: 0.5 66 | - _DetailNormalMapScale: 1 67 | - _DistortionBlend: 0.5 68 | - _DistortionEnabled: 0 69 | - _DistortionStrength: 1 70 | - _DistortionStrengthScaled: 0 71 | - _DstBlend: 0 72 | - _EmissionEnabled: 1 73 | - _FlipbookMode: 0 74 | - _GlossMapScale: 0.768 75 | - _Glossiness: 1 76 | - _GlossyReflections: 1 77 | - _InvFade: 1 78 | - _LightingEnabled: 1 79 | - _Metallic: 1 80 | - _Mode: 0 81 | - _OcclusionStrength: 1 82 | - _Parallax: 0.0318 83 | - _SmoothnessTextureChannel: 0 84 | - _SoftParticlesEnabled: 0 85 | - _SoftParticlesFarFadeDistance: 1 86 | - _SoftParticlesNearFadeDistance: 0 87 | - _SpecularHighlights: 1 88 | - _SrcBlend: 1 89 | - _UVSec: 0 90 | - _ZWrite: 1 91 | m_Colors: 92 | - _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0} 93 | - _Color: {r: 1, g: 0.4669811, b: 0.5963296, a: 1} 94 | - _EmissionColor: {r: 0.7176471, g: 0.68235296, b: 0.7490196, a: 1} 95 | - _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0} 96 | - _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5} 97 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/TrailMaterial2.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 832517f2f3bdca543a67033a025c9686 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/TrailsController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class TrailsController : MonoBehaviour 6 | { 7 | ParticleSystem _particleSystem; 8 | float _speed = 1.0f; 9 | 10 | void Start() 11 | { 12 | _particleSystem = GetComponent(); 13 | } 14 | 15 | void Update() 16 | { 17 | if (Input.GetKey(KeyCode.Q)) 18 | { 19 | _speed = 12 - (12 - _speed) * 0.2f; 20 | // _speed = 20; 21 | } 22 | else { 23 | _speed = (_speed - 0.8f) * 0.7f + 0.8f; 24 | } 25 | 26 | _particleSystem.playbackSpeed = _speed; 27 | // _particleSystem.main.simulationSpeed = _speed; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene5/TrailsController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 918f4a12c7dc4e9458a5acd6fc350200 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f205174e82d145818d434d376c029f5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 907eed301e1903041802e7ccc1de713d 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/Bar.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_SourcePrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1723249234447944} 13 | m_IsPrefabAsset: 1 14 | --- !u!1 &1117534359037310 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_CorrespondingSourceObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 6 20 | m_Component: 21 | - component: {fileID: 4749578957051894} 22 | - component: {fileID: 33597803498189356} 23 | - component: {fileID: 23072107609012816} 24 | - component: {fileID: 65523963709651530} 25 | m_Layer: 16 26 | m_Name: Cube 27 | m_TagString: Untagged 28 | m_Icon: {fileID: 0} 29 | m_NavMeshLayer: 0 30 | m_StaticEditorFlags: 0 31 | m_IsActive: 1 32 | --- !u!1 &1723249234447944 33 | GameObject: 34 | m_ObjectHideFlags: 0 35 | m_CorrespondingSourceObject: {fileID: 0} 36 | m_PrefabInternal: {fileID: 100100000} 37 | serializedVersion: 6 38 | m_Component: 39 | - component: {fileID: 4782823447128150} 40 | m_Layer: 16 41 | m_Name: Bar 42 | m_TagString: Untagged 43 | m_Icon: {fileID: 0} 44 | m_NavMeshLayer: 0 45 | m_StaticEditorFlags: 0 46 | m_IsActive: 1 47 | --- !u!4 &4749578957051894 48 | Transform: 49 | m_ObjectHideFlags: 1 50 | m_CorrespondingSourceObject: {fileID: 0} 51 | m_PrefabInternal: {fileID: 100100000} 52 | m_GameObject: {fileID: 1117534359037310} 53 | m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} 54 | m_LocalPosition: {x: 0, y: 0, z: 0} 55 | m_LocalScale: {x: 0.2, y: 0.4, z: 0.2} 56 | m_Children: [] 57 | m_Father: {fileID: 4782823447128150} 58 | m_RootOrder: 0 59 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 60 | --- !u!4 &4782823447128150 61 | Transform: 62 | m_ObjectHideFlags: 1 63 | m_CorrespondingSourceObject: {fileID: 0} 64 | m_PrefabInternal: {fileID: 100100000} 65 | m_GameObject: {fileID: 1723249234447944} 66 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 67 | m_LocalPosition: {x: 0, y: 0, z: 0} 68 | m_LocalScale: {x: 1, y: 1, z: 1} 69 | m_Children: 70 | - {fileID: 4749578957051894} 71 | m_Father: {fileID: 0} 72 | m_RootOrder: 0 73 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 74 | --- !u!23 &23072107609012816 75 | MeshRenderer: 76 | m_ObjectHideFlags: 1 77 | m_CorrespondingSourceObject: {fileID: 0} 78 | m_PrefabInternal: {fileID: 100100000} 79 | m_GameObject: {fileID: 1117534359037310} 80 | m_Enabled: 1 81 | m_CastShadows: 1 82 | m_ReceiveShadows: 1 83 | m_DynamicOccludee: 1 84 | m_MotionVectors: 1 85 | m_LightProbeUsage: 1 86 | m_ReflectionProbeUsage: 1 87 | m_RenderingLayerMask: 4294967295 88 | m_Materials: 89 | - {fileID: 2100000, guid: f8e4df2054a324ed4b254cc03ecc6d16, type: 2} 90 | m_StaticBatchInfo: 91 | firstSubMesh: 0 92 | subMeshCount: 0 93 | m_StaticBatchRoot: {fileID: 0} 94 | m_ProbeAnchor: {fileID: 0} 95 | m_LightProbeVolumeOverride: {fileID: 0} 96 | m_ScaleInLightmap: 1 97 | m_PreserveUVs: 0 98 | m_IgnoreNormalsForChartDetection: 0 99 | m_ImportantGI: 0 100 | m_StitchLightmapSeams: 0 101 | m_SelectedEditorRenderState: 3 102 | m_MinimumChartSize: 4 103 | m_AutoUVMaxDistance: 0.5 104 | m_AutoUVMaxAngle: 89 105 | m_LightmapParameters: {fileID: 0} 106 | m_SortingLayerID: 0 107 | m_SortingLayer: 0 108 | m_SortingOrder: 0 109 | --- !u!33 &33597803498189356 110 | MeshFilter: 111 | m_ObjectHideFlags: 1 112 | m_CorrespondingSourceObject: {fileID: 0} 113 | m_PrefabInternal: {fileID: 100100000} 114 | m_GameObject: {fileID: 1117534359037310} 115 | m_Mesh: {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} 116 | --- !u!65 &65523963709651530 117 | BoxCollider: 118 | m_ObjectHideFlags: 1 119 | m_CorrespondingSourceObject: {fileID: 0} 120 | m_PrefabInternal: {fileID: 100100000} 121 | m_GameObject: {fileID: 1117534359037310} 122 | m_Material: {fileID: 0} 123 | m_IsTrigger: 0 124 | m_Enabled: 1 125 | serializedVersion: 2 126 | m_Size: {x: 1, y: 1, z: 1} 127 | m_Center: {x: 0, y: 0, z: 0} 128 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/Bar.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd1c3f99f640a4a51a38295f09ed24a5 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/BismuthController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class BismuthController : MonoBehaviour 6 | { 7 | [SerializeField] Transform _barPrefab; 8 | List _loops = new List(); 9 | 10 | [SerializeField] int _steps = 20; 11 | 12 | [SerializeField] float _radius = 1.0f; 13 | [SerializeField] float _speed = 1.0f; 14 | [SerializeField] float _offset = 0.0f; 15 | float _birth = 0.0f; 16 | float _death = 1.0f; 17 | float _lifeSpeed = 1.0f; 18 | int _rotation; 19 | 20 | void Start() 21 | { 22 | _steps = Random.Range(3, 12); 23 | _rotation = Random.Range(0, 1) * 2 - 1; 24 | 25 | for (int i = 1; i < _steps; i++) 26 | { 27 | float k = 1.5f; 28 | float fi = (float)i / 10f * k; 29 | float sx = fi * 10f; 30 | 31 | float height = 0.5f; 32 | float offset = 0.1f * height; 33 | 34 | var go = new GameObject("Loop"); 35 | go.transform.parent = transform; 36 | go.transform.localPosition = new Vector3(Mathf.PerlinNoise(1, fi + Time.time), Mathf.PerlinNoise(2, fi + Time.time), fi * height); 37 | go.transform.localRotation = Quaternion.Euler(0, 0, 0); 38 | 39 | var o0 = Instantiate(_barPrefab, go.transform); 40 | o0.localPosition = new Vector3(offset, fi, 0); 41 | o0.localRotation = Quaternion.Euler(0, 0, 0); 42 | o0.localScale = new Vector3(sx, .5f, 1); 43 | 44 | var o1 = Instantiate(_barPrefab, go.transform); 45 | o1.localPosition = new Vector3(fi, -offset, 0); 46 | o1.localRotation = Quaternion.Euler(0, 0, 90); 47 | o1.localScale = new Vector3(sx, .5f, 1); 48 | 49 | var o2 = Instantiate(_barPrefab, go.transform); 50 | o2.localPosition = new Vector3(-fi, offset, 0); 51 | o2.localRotation = Quaternion.Euler(0, 0, 90); 52 | o2.localScale = new Vector3(sx, .5f, 1); 53 | 54 | var o3 = Instantiate(_barPrefab, go.transform); 55 | o3.localPosition = new Vector3(-offset, -fi, 0); 56 | o3.localRotation = Quaternion.Euler(0, 0, 0); 57 | o3.localScale = new Vector3(sx, .5f, 1); 58 | 59 | _loops.Add(go); 60 | } 61 | 62 | _birth = Time.time; 63 | _lifeSpeed = Random.Range(0.2f, 0.8f); 64 | 65 | transform.localScale = new Vector3(0, 0, 0); 66 | } 67 | 68 | void Update() 69 | { 70 | transform.Rotate(-0.07f * _speed, 0.1f * _speed, 0.05f * _speed); 71 | transform.position = transform.rotation * Vector3.forward * _radius; 72 | _radius += 0.043f * _speed; 73 | 74 | var t = (Time.time - _birth) * _lifeSpeed; 75 | var scale = 1 - Mathf.Pow(t - 1, 2); 76 | transform.localScale = new Vector3(1, 1, 1) * scale; 77 | 78 | var i = 1; 79 | _loops.ForEach((loop) => { 80 | float tt = (1 - scale) * (100 - _steps * 5) * (i + 1); 81 | loop.transform.localRotation = Quaternion.Euler(0, 0, tt * _rotation); 82 | i++; 83 | }); 84 | 85 | // Die 86 | if (t > 2) { 87 | transform.localScale = new Vector3(1, 1, 1) * 0; 88 | Destroy(gameObject); 89 | } 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/BismuthController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86ec0eab13c80463dbf6a5d672c1f718 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/BismuthMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: BismuthMaterial 10 | m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: _DETAIL_MULX2 _EMISSION _NORMALMAP _PARALLAXMAP 12 | m_LightmapFlags: 2 13 | m_EnableInstancingVariants: 1 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: 47a453af45056421ca07e60981c110d6, 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: 2800000, guid: b627ca4258a214041b7794f1b136634c, type: 3} 35 | m_Scale: {x: 1, y: 1} 36 | m_Offset: {x: 0, y: 0} 37 | - _EmissionMap: 38 | m_Texture: {fileID: 2800000, guid: 3884f7a2d04ffe8409ad9200b275896f, type: 3} 39 | m_Scale: {x: 1, y: 1} 40 | m_Offset: {x: 0, y: 0} 41 | - _MainTex: 42 | m_Texture: {fileID: 2800000, guid: 69e847bbff1cf5449a4ee0bbd045dbc9, type: 3} 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: ea584bd29dab3499b8d684cba3aae91c, type: 3} 51 | m_Scale: {x: 1, y: 1} 52 | m_Offset: {x: 0, y: 0} 53 | - _ParallaxMap: 54 | m_Texture: {fileID: 2800000, guid: 47a453af45056421ca07e60981c110d6, type: 3} 55 | m_Scale: {x: 1, y: 1} 56 | m_Offset: {x: 0, y: 0} 57 | m_Floats: 58 | - _BumpScale: 0.4 59 | - _Cutoff: 0.5 60 | - _DetailNormalMapScale: 0 61 | - _DstBlend: 0 62 | - _GlossMapScale: 0 63 | - _Glossiness: 0.648 64 | - _GlossyReflections: 1 65 | - _Metallic: 0.708 66 | - _Mode: 0 67 | - _OcclusionStrength: 1 68 | - _Parallax: 0.08 69 | - _SmoothnessTextureChannel: 0 70 | - _SpecularHighlights: 1 71 | - _SrcBlend: 1 72 | - _UVSec: 0 73 | - _ZWrite: 1 74 | m_Colors: 75 | - _Color: {r: 0.051886797, g: 1, b: 0.8574778, a: 1} 76 | - _EmissionColor: {r: 1, g: 1, b: 1, a: 1} 77 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/BismuthMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8e4df2054a324ed4b254cc03ecc6d16 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/BismuthParticleMaterial.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: BismuthParticleMaterial 10 | m_Shader: {fileID: 203, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: _ALPHAPREMULTIPLY_ON 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: 10300, guid: 0000000000000000f000000000000000, type: 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: 10 62 | - _GlossMapScale: 1 63 | - _Glossiness: 0 64 | - _GlossyReflections: 1 65 | - _InvFade: 0.47 66 | - _Metallic: 0 67 | - _Mode: 3 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 0 75 | m_Colors: 76 | - _Color: {r: 1, g: 1, b: 1, a: 0.23529412} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | - _TintColor: {r: 0, g: 0.3325472, b: 0.3325472, a: 0.16862746} 79 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/BismuthParticleMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd89b79b27b104b8484032de5cae8eea 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/Bismuth_Profiles.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60ab1274c2ea1449a88a44323f2e0859 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/Bismuth_Profiles/Main Camera Profile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3135c8fbafc504dc59d52d198c931ad3 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/Crystal.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1001 &100100000 4 | Prefab: 5 | m_ObjectHideFlags: 1 6 | serializedVersion: 2 7 | m_Modification: 8 | m_TransformParent: {fileID: 0} 9 | m_Modifications: [] 10 | m_RemovedComponents: [] 11 | m_SourcePrefab: {fileID: 0} 12 | m_RootGameObject: {fileID: 1308660514317416} 13 | m_IsPrefabAsset: 1 14 | --- !u!1 &1308660514317416 15 | GameObject: 16 | m_ObjectHideFlags: 0 17 | m_CorrespondingSourceObject: {fileID: 0} 18 | m_PrefabInternal: {fileID: 100100000} 19 | serializedVersion: 6 20 | m_Component: 21 | - component: {fileID: 4813349440029962} 22 | - component: {fileID: 114467251261807344} 23 | m_Layer: 0 24 | m_Name: Crystal 25 | m_TagString: Untagged 26 | m_Icon: {fileID: 0} 27 | m_NavMeshLayer: 0 28 | m_StaticEditorFlags: 0 29 | m_IsActive: 1 30 | --- !u!4 &4813349440029962 31 | Transform: 32 | m_ObjectHideFlags: 1 33 | m_CorrespondingSourceObject: {fileID: 0} 34 | m_PrefabInternal: {fileID: 100100000} 35 | m_GameObject: {fileID: 1308660514317416} 36 | m_LocalRotation: {x: 0.044943463, y: 0.95125127, z: 0.16773134, w: -0.25488696} 37 | m_LocalPosition: {x: -1, y: 0, z: 1} 38 | m_LocalScale: {x: 1, y: 1, z: 1} 39 | m_Children: [] 40 | m_Father: {fileID: 0} 41 | m_RootOrder: 0 42 | m_LocalEulerAnglesHint: {x: -20, y: 210, z: 0} 43 | --- !u!114 &114467251261807344 44 | MonoBehaviour: 45 | m_ObjectHideFlags: 1 46 | m_CorrespondingSourceObject: {fileID: 0} 47 | m_PrefabInternal: {fileID: 100100000} 48 | m_GameObject: {fileID: 1308660514317416} 49 | m_Enabled: 1 50 | m_EditorHideFlags: 0 51 | m_Script: {fileID: 11500000, guid: 86ec0eab13c80463dbf6a5d672c1f718, type: 3} 52 | m_Name: 53 | m_EditorClassIdentifier: 54 | _barPrefab: {fileID: 4782823447128150, guid: fd1c3f99f640a4a51a38295f09ed24a5, type: 2} 55 | _steps: 4 56 | _radius: 0.5 57 | _speed: 1 58 | _offset: 0 59 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/Crystal.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dfee55885078bbb40981fe11c762aaae 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/Main Camera Profile.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: 8e6292b2c06870d4495f009f912b9600, type: 3} 12 | m_Name: Main Camera Profile 13 | m_EditorClassIdentifier: 14 | settings: 15 | - {fileID: 114178837171249662} 16 | - {fileID: 114955429491282482} 17 | - {fileID: 114911464403846188} 18 | - {fileID: 114077778141288424} 19 | --- !u!114 &114077778141288424 20 | MonoBehaviour: 21 | m_ObjectHideFlags: 3 22 | m_CorrespondingSourceObject: {fileID: 0} 23 | m_PrefabInternal: {fileID: 0} 24 | m_GameObject: {fileID: 0} 25 | m_Enabled: 1 26 | m_EditorHideFlags: 0 27 | m_Script: {fileID: 11500000, guid: 48a79b01ea5641d4aa6daa2e23605641, type: 3} 28 | m_Name: Bloom 29 | m_EditorClassIdentifier: 30 | active: 1 31 | enabled: 32 | overrideState: 1 33 | value: 1 34 | intensity: 35 | overrideState: 1 36 | value: 0 37 | threshold: 38 | overrideState: 0 39 | value: 1 40 | softKnee: 41 | overrideState: 0 42 | value: 0.5 43 | diffusion: 44 | overrideState: 0 45 | value: 7 46 | anamorphicRatio: 47 | overrideState: 0 48 | value: 0 49 | color: 50 | overrideState: 0 51 | value: {r: 1, g: 1, b: 1, a: 1} 52 | fastMode: 53 | overrideState: 0 54 | value: 0 55 | dirtTexture: 56 | overrideState: 0 57 | value: {fileID: 0} 58 | dirtIntensity: 59 | overrideState: 0 60 | value: 0 61 | --- !u!114 &114178837171249662 62 | MonoBehaviour: 63 | m_ObjectHideFlags: 3 64 | m_CorrespondingSourceObject: {fileID: 0} 65 | m_PrefabInternal: {fileID: 0} 66 | m_GameObject: {fileID: 0} 67 | m_Enabled: 1 68 | m_EditorHideFlags: 0 69 | m_Script: {fileID: 11500000, guid: 40b924e2dad56384a8df2a1e111bb675, type: 3} 70 | m_Name: Vignette 71 | m_EditorClassIdentifier: 72 | active: 1 73 | enabled: 74 | overrideState: 1 75 | value: 1 76 | mode: 77 | overrideState: 0 78 | value: 0 79 | color: 80 | overrideState: 0 81 | value: {r: 0, g: 0, b: 0, a: 1} 82 | center: 83 | overrideState: 0 84 | value: {x: 0.5, y: 0.5} 85 | intensity: 86 | overrideState: 1 87 | value: 0.419 88 | smoothness: 89 | overrideState: 0 90 | value: 0.2 91 | roundness: 92 | overrideState: 0 93 | value: 1 94 | rounded: 95 | overrideState: 0 96 | value: 0 97 | mask: 98 | overrideState: 0 99 | value: {fileID: 0} 100 | opacity: 101 | overrideState: 0 102 | value: 1 103 | --- !u!114 &114911464403846188 104 | MonoBehaviour: 105 | m_ObjectHideFlags: 3 106 | m_CorrespondingSourceObject: {fileID: 0} 107 | m_PrefabInternal: {fileID: 0} 108 | m_GameObject: {fileID: 0} 109 | m_Enabled: 1 110 | m_EditorHideFlags: 0 111 | m_Script: {fileID: 11500000, guid: 6050e2d5de785ce4d931e4dbdbf2d755, type: 3} 112 | m_Name: ChromaticAberration 113 | m_EditorClassIdentifier: 114 | active: 1 115 | enabled: 116 | overrideState: 1 117 | value: 1 118 | spectralLut: 119 | overrideState: 0 120 | value: {fileID: 0} 121 | intensity: 122 | overrideState: 1 123 | value: 0.617 124 | fastMode: 125 | overrideState: 1 126 | value: 1 127 | --- !u!114 &114955429491282482 128 | MonoBehaviour: 129 | m_ObjectHideFlags: 3 130 | m_CorrespondingSourceObject: {fileID: 0} 131 | m_PrefabInternal: {fileID: 0} 132 | m_GameObject: {fileID: 0} 133 | m_Enabled: 1 134 | m_EditorHideFlags: 0 135 | m_Script: {fileID: 11500000, guid: d65e486e4de6e5448a8fbb43dc8756a0, type: 3} 136 | m_Name: Grain 137 | m_EditorClassIdentifier: 138 | active: 1 139 | enabled: 140 | overrideState: 1 141 | value: 1 142 | colored: 143 | overrideState: 0 144 | value: 1 145 | intensity: 146 | overrideState: 1 147 | value: 0.223 148 | size: 149 | overrideState: 0 150 | value: 1 151 | lumContrib: 152 | overrideState: 0 153 | value: 0.8 154 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/Main Camera Profile.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67244050ba32f44b5bc0592e935f5412 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/Scene6/Scene6GameController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa5ef30023adcd84fb54ed1290e3a49e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/Scenes/scene1.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: scene1 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_ForcedFallbackFormat: 4 13 | m_DownscaleFallback: 0 14 | m_Width: 1920 15 | m_Height: 1080 16 | m_AntiAliasing: 1 17 | m_DepthFormat: 0 18 | m_ColorFormat: 0 19 | m_MipMap: 0 20 | m_GenerateMips: 1 21 | m_SRGB: 0 22 | m_UseDynamicScale: 0 23 | m_BindMS: 0 24 | m_TextureSettings: 25 | serializedVersion: 2 26 | m_FilterMode: 1 27 | m_Aniso: 0 28 | m_MipBias: 0 29 | m_WrapU: 1 30 | m_WrapV: 1 31 | m_WrapW: 1 32 | m_Dimension: 2 33 | m_VolumeDepth: 1 34 | -------------------------------------------------------------------------------- /Assets/Scenes/scene1.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec2fb22e36fb84a11abf3e1be2d3ac2b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/scene2.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: scene2 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_ForcedFallbackFormat: 4 13 | m_DownscaleFallback: 0 14 | m_Width: 1920 15 | m_Height: 1080 16 | m_AntiAliasing: 1 17 | m_DepthFormat: 0 18 | m_ColorFormat: 0 19 | m_MipMap: 0 20 | m_GenerateMips: 1 21 | m_SRGB: 0 22 | m_UseDynamicScale: 0 23 | m_BindMS: 0 24 | m_TextureSettings: 25 | serializedVersion: 2 26 | m_FilterMode: 1 27 | m_Aniso: 0 28 | m_MipBias: 0 29 | m_WrapU: 1 30 | m_WrapV: 1 31 | m_WrapW: 1 32 | m_Dimension: 2 33 | m_VolumeDepth: 1 34 | -------------------------------------------------------------------------------- /Assets/Scenes/scene2.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c0aade7b775d4658a8fe8e3247e5208 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/scene3.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: scene3 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_ForcedFallbackFormat: 4 13 | m_DownscaleFallback: 0 14 | m_Width: 1920 15 | m_Height: 1080 16 | m_AntiAliasing: 1 17 | m_DepthFormat: 0 18 | m_ColorFormat: 0 19 | m_MipMap: 0 20 | m_GenerateMips: 1 21 | m_SRGB: 0 22 | m_UseDynamicScale: 0 23 | m_BindMS: 0 24 | m_TextureSettings: 25 | serializedVersion: 2 26 | m_FilterMode: 1 27 | m_Aniso: 0 28 | m_MipBias: 0 29 | m_WrapU: 1 30 | m_WrapV: 1 31 | m_WrapW: 1 32 | m_Dimension: 2 33 | m_VolumeDepth: 1 34 | -------------------------------------------------------------------------------- /Assets/Scenes/scene3.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 414786cd3e9784edc868d053ab54f317 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/scene4.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: scene4 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_ForcedFallbackFormat: 4 13 | m_DownscaleFallback: 0 14 | m_Width: 1920 15 | m_Height: 1080 16 | m_AntiAliasing: 1 17 | m_DepthFormat: 0 18 | m_ColorFormat: 0 19 | m_MipMap: 0 20 | m_GenerateMips: 1 21 | m_SRGB: 0 22 | m_UseDynamicScale: 0 23 | m_BindMS: 0 24 | m_TextureSettings: 25 | serializedVersion: 2 26 | m_FilterMode: 1 27 | m_Aniso: 0 28 | m_MipBias: 0 29 | m_WrapU: 1 30 | m_WrapV: 1 31 | m_WrapW: 1 32 | m_Dimension: 2 33 | m_VolumeDepth: 1 34 | -------------------------------------------------------------------------------- /Assets/Scenes/scene4.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4d6444d710cb1d4b94aba8edeeb50de 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/scene5.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: scene5 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_ForcedFallbackFormat: 4 13 | m_DownscaleFallback: 0 14 | m_Width: 1920 15 | m_Height: 1080 16 | m_AntiAliasing: 1 17 | m_DepthFormat: 0 18 | m_ColorFormat: 0 19 | m_MipMap: 0 20 | m_GenerateMips: 1 21 | m_SRGB: 0 22 | m_UseDynamicScale: 0 23 | m_BindMS: 0 24 | m_TextureSettings: 25 | serializedVersion: 2 26 | m_FilterMode: 1 27 | m_Aniso: 0 28 | m_MipBias: 0 29 | m_WrapU: 1 30 | m_WrapV: 1 31 | m_WrapW: 1 32 | m_Dimension: 2 33 | m_VolumeDepth: 1 34 | -------------------------------------------------------------------------------- /Assets/Scenes/scene5.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3495f34162a158841bf86dbee96a7e1e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/scene6.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: scene6 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_ForcedFallbackFormat: 4 13 | m_DownscaleFallback: 0 14 | m_Width: 1920 15 | m_Height: 1080 16 | m_AntiAliasing: 1 17 | m_DepthFormat: 0 18 | m_ColorFormat: 0 19 | m_MipMap: 0 20 | m_GenerateMips: 1 21 | m_SRGB: 0 22 | m_UseDynamicScale: 0 23 | m_BindMS: 0 24 | m_TextureSettings: 25 | serializedVersion: 2 26 | m_FilterMode: 1 27 | m_Aniso: 0 28 | m_MipBias: 0 29 | m_WrapU: 1 30 | m_WrapV: 1 31 | m_WrapW: 1 32 | m_Dimension: 2 33 | m_VolumeDepth: 1 34 | -------------------------------------------------------------------------------- /Assets/Scenes/scene6.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c615631777579e47a650c46e68211f5 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 8400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ads": "2.0.8", 4 | "com.unity.analytics": "2.0.16", 5 | "com.unity.package-manager-ui": "1.9.11", 6 | "com.unity.postprocessing": "2.0.11-preview", 7 | "com.unity.purchasing": "2.0.3", 8 | "com.unity.textmeshpro": "1.2.4", 9 | "com.unity.modules.ai": "1.0.0", 10 | "com.unity.modules.animation": "1.0.0", 11 | "com.unity.modules.assetbundle": "1.0.0", 12 | "com.unity.modules.audio": "1.0.0", 13 | "com.unity.modules.cloth": "1.0.0", 14 | "com.unity.modules.director": "1.0.0", 15 | "com.unity.modules.imageconversion": "1.0.0", 16 | "com.unity.modules.imgui": "1.0.0", 17 | "com.unity.modules.jsonserialize": "1.0.0", 18 | "com.unity.modules.particlesystem": "1.0.0", 19 | "com.unity.modules.physics": "1.0.0", 20 | "com.unity.modules.physics2d": "1.0.0", 21 | "com.unity.modules.screencapture": "1.0.0", 22 | "com.unity.modules.terrain": "1.0.0", 23 | "com.unity.modules.terrainphysics": "1.0.0", 24 | "com.unity.modules.tilemap": "1.0.0", 25 | "com.unity.modules.ui": "1.0.0", 26 | "com.unity.modules.uielements": "1.0.0", 27 | "com.unity.modules.umbra": "1.0.0", 28 | "com.unity.modules.unityanalytics": "1.0.0", 29 | "com.unity.modules.unitywebrequest": "1.0.0", 30 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 31 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 32 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 33 | "com.unity.modules.unitywebrequestwww": "1.0.0", 34 | "com.unity.modules.vehicles": "1.0.0", 35 | "com.unity.modules.video": "1.0.0", 36 | "com.unity.modules.vr": "1.0.0", 37 | "com.unity.modules.wind": "1.0.0", 38 | "com.unity.modules.xr": "1.0.0" 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /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: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /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/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: 7 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 1 23 | m_ClothInterCollisionSettingsToggle: 0 24 | m_ContactPairsMode: 0 25 | m_BroadphaseType: 0 26 | m_WorldBounds: 27 | m_Center: {x: 0, y: 0, z: 0} 28 | m_Extent: {x: 250, y: 250, z: 250} 29 | m_WorldSubdivisions: 8 30 | -------------------------------------------------------------------------------- /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/Scenes/Main.unity 10 | guid: 99c9720ab356a0642a771bea13969a05 11 | - enabled: 1 12 | path: Assets/Scenes/Scene2.unity 13 | guid: 2ab26dc635f754260ab28de3ef3e157b 14 | - enabled: 1 15 | path: Assets/Scenes/Scene1.unity 16 | guid: 88ea9cc3f29634da4ab62f8a43ebf35b 17 | - enabled: 1 18 | path: Assets/Scenes/Scene3.unity 19 | guid: 9e7786002c30049a6b15e4bab854b9fa 20 | - enabled: 1 21 | path: Assets/Scenes/Scene4.unity 22 | guid: 62189c4b17cb9654398108f5376b3210 23 | - enabled: 1 24 | path: Assets/Scenes/Scene5.unity 25 | guid: 32fb20b020c79fc4c819b253fc8c75e3 26 | - enabled: 1 27 | path: Assets/Scenes/Scene6.unity 28 | guid: 907eed301e1903041802e7ccc1de713d 29 | m_configObjects: {} 30 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | -------------------------------------------------------------------------------- /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: 17000, guid: 0000000000000000f000000000000000, type: 0} 39 | - {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0} 40 | m_PreloadedShaders: [] 41 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 42 | type: 0} 43 | m_CustomRenderPipeline: {fileID: 0} 44 | m_TransparencySortMode: 0 45 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 46 | m_DefaultRenderingPath: 1 47 | m_DefaultMobileRenderingPath: 1 48 | m_TierSettings: [] 49 | m_LightmapStripping: 0 50 | m_FogStripping: 0 51 | m_InstancingStripping: 0 52 | m_LightmapKeepPlain: 1 53 | m_LightmapKeepDirCombined: 1 54 | m_LightmapKeepDynamicPlain: 1 55 | m_LightmapKeepDynamicDirCombined: 1 56 | m_LightmapKeepShadowMask: 1 57 | m_LightmapKeepSubtractive: 1 58 | m_FogKeepLinear: 1 59 | m_FogKeepExp: 1 60 | m_FogKeepExp2: 1 61 | m_AlbedoSwatchInfos: [] 62 | m_LightsUseLinearIntensity: 0 63 | m_LightsUseColorTemperature: 0 64 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /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_AutoSyncTransforms: 1 28 | m_AlwaysShowColliders: 0 29 | m_ShowColliderSleep: 1 30 | m_ShowColliderContacts: 0 31 | m_ShowColliderAABB: 0 32 | m_ContactArrowScale: 0.2 33 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 34 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 35 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 36 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 37 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 38 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.2.3f1 2 | -------------------------------------------------------------------------------- /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: Ultra 11 | pixelLightCount: 4 12 | shadows: 2 13 | shadowResolution: 2 14 | shadowProjection: 1 15 | shadowCascades: 4 16 | shadowDistance: 150 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 1 21 | blendWeights: 4 22 | textureQuality: 0 23 | anisotropicTextures: 1 24 | antiAliasing: 4 25 | softParticles: 1 26 | softVegetation: 1 27 | realtimeReflectionProbes: 1 28 | billboardsFaceCameraPosition: 1 29 | vSyncCount: 1 30 | lodBias: 2 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4096 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 4 41 | resolutionScalingFixedDPIFactor: 1 42 | excludedTargetPlatforms: [] 43 | m_PerPlatformDefaultQuality: {} 44 | -------------------------------------------------------------------------------- /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 | - Scene3Deferred 8 | layers: 9 | - Default 10 | - TransparentFX 11 | - Ignore Raycast 12 | - 13 | - Water 14 | - UI 15 | - 16 | - 17 | - PostProcessing 18 | - 19 | - Main 20 | - Scene1 21 | - Scene2 22 | - Scene3 23 | - Scene4 24 | - Scene5 25 | - Scene6 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | - 41 | m_SortingLayers: 42 | - name: Default 43 | uniqueID: 0 44 | locked: 0 45 | -------------------------------------------------------------------------------- /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.1 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /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: 1 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_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate 14 | m_Enabled: 0 15 | m_CaptureEditorExceptions: 1 16 | UnityPurchasingSettings: 17 | m_Enabled: 0 18 | m_TestMode: 0 19 | UnityAnalyticsSettings: 20 | m_Enabled: 1 21 | m_InitializeOnStartup: 1 22 | m_TestMode: 0 23 | m_TestEventUrl: 24 | m_TestConfigUrl: 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BRDG20180827 2 | 3 | ![hero](https://user-images.githubusercontent.com/1403842/44858342-bb358780-acac-11e8-8d39-3a0ff500ee80.gif) 4 | 5 | A Unity-VJ system created for [ADIRECTOR CHANNEL](https://adirector.jp/) held in Tokyo, 2018-08-27. 6 | 7 | 8 | ## How to Run 9 | 10 | 1. Import required assets 11 | 2. Run `main.unity` 12 | 3. Rock it⚡ 13 | 14 | 15 | ## Required Assets 16 | 17 | - [MUST] [keijiro/Lasp](https://github.com/keijiro/Lasp) 18 | - [MUST] [keijiro/MidiJack](https://github.com/keijiro/MidiJack) 19 | - [MUST] [hecomi/uRaymarching](https://github.com/hecomi/uRaymarching) 20 | - [MAY] [unity3d-jp/FrameCapturer](https://github.com/unity3d-jp/FrameCapturer) 21 | - [MAY] [KRIPTO289/Realistic Effects Pack 4](https://assetstore.unity.com/packages/vfx/particles/spells/realistic-effects-pack-4-85675) 22 | 23 | `MUST` assets are required to run the scenes. 24 | `MAY` assets are used in some scenes, but not necessary if you don't want. 25 | 26 | 27 | ## Examples 28 | 29 | ![image 4](https://user-images.githubusercontent.com/1403842/44860559-7102d500-acb1-11e8-890e-f9e1c1ed07f8.png) 30 | ![image 1](https://user-images.githubusercontent.com/1403842/44860181-a0651200-acb0-11e8-8836-49802f7cf0b4.png) 31 | ![image 2](https://user-images.githubusercontent.com/1403842/44860178-a0651200-acb0-11e8-975f-07621ed67b2c.png) 32 | ![image 3](https://user-images.githubusercontent.com/1403842/44860179-a0651200-acb0-11e8-90c7-cc53469c58bf.png) 33 | ![pasted_image_at_2018-08-30__11_56_pm](https://user-images.githubusercontent.com/1403842/44860199-a955e380-acb0-11e8-9105-f41eca841aa0.png) 34 | ![image](https://user-images.githubusercontent.com/1403842/44860217-aeb32e00-acb0-11e8-9888-a83367cfbc5f.png) 35 | 36 | 37 | ## Author 38 | 39 | Amagi 40 | 41 | - GitHub: [@fand](https://github.com/fand) 42 | - Twitter: [@amagitakayosi](https://twitter.com/amagitakayosi) 43 | - Instagram: [@amagitakayosi](https://www.instagram.com/amagitakayosi) 44 | 45 | 46 | ## LICENSE 47 | 48 | MIT 49 | --------------------------------------------------------------------------------