├── .gitignore ├── Assets ├── Materials.meta ├── Materials │ ├── Sky.mat │ ├── Sky.mat.meta │ ├── Underwater_Reversed.mat │ └── Underwater_Reversed.mat.meta ├── Plugins.meta ├── Plugins │ ├── MP3Sharp.dll │ └── MP3Sharp.dll.meta ├── Prefabs.meta ├── Prefabs │ ├── Player.prefab │ ├── Player.prefab.meta │ ├── Spectator.prefab │ ├── Spectator.prefab.meta │ ├── TESUnity.prefab │ ├── TESUnity.prefab.meta │ ├── Water.prefab │ └── Water.prefab.meta ├── Resources.meta ├── Resources │ ├── Materials.meta │ ├── Materials │ │ ├── BumpedDiffuse.mat │ │ ├── BumpedDiffuse.mat.meta │ │ ├── BumpedDiffuseTransCutout.mat │ │ ├── BumpedDiffuseTransCutout.mat.meta │ │ ├── Standard.mat │ │ ├── Standard.mat.meta │ │ ├── StandardCutout.mat │ │ ├── StandardCutout.mat.meta │ │ ├── TESUnityAlphaBlend.mat │ │ ├── TESUnityAlphaBlend.mat.meta │ │ ├── TESUnityStandard.mat │ │ ├── TESUnityStandard.mat.meta │ │ ├── TESUnityTested.mat │ │ ├── TESUnityTested.mat.meta │ │ ├── Unlit.mat │ │ ├── Unlit.mat.meta │ │ ├── UnlitTransparentCutout.mat │ │ └── UnlitTransparentCutout.mat.meta │ ├── UI.meta │ └── UI │ │ ├── Book.prefab │ │ ├── Book.prefab.meta │ │ ├── InteractiveText.prefab │ │ ├── InteractiveText.prefab.meta │ │ ├── Scroll.prefab │ │ └── Scroll.prefab.meta ├── Scenes.meta ├── Scenes │ ├── AskPathScene.unity │ ├── AskPathScene.unity.meta │ ├── GameScene.unity │ └── GameScene.unity.meta ├── Scripts.meta ├── Scripts │ ├── Core.meta │ ├── Core │ │ ├── ArrayRange.cs │ │ ├── ArrayRange.cs.meta │ │ ├── ArrayUtils.cs │ │ ├── ArrayUtils.cs.meta │ │ ├── AudioUtils.cs │ │ ├── AudioUtils.cs.meta │ │ ├── ColorUtils.cs │ │ ├── ColorUtils.cs.meta │ │ ├── DDSReader.cs │ │ ├── DDSReader.cs.meta │ │ ├── Exceptions.cs │ │ ├── Exceptions.cs.meta │ │ ├── FlyingCameraComponent.cs │ │ ├── FlyingCameraComponent.cs.meta │ │ ├── GUIUtils.cs │ │ ├── GUIUtils.cs.meta │ │ ├── GameObjectUtils.cs │ │ ├── GameObjectUtils.cs.meta │ │ ├── MusicPlayer.cs │ │ ├── MusicPlayer.cs.meta │ │ ├── OneShotAudioStreamComponent.cs │ │ ├── OneShotAudioStreamComponent.cs.meta │ │ ├── StringUtils.cs │ │ ├── StringUtils.cs.meta │ │ ├── TemporalLoadBalancer.cs │ │ ├── TemporalLoadBalancer.cs.meta │ │ ├── Texture2DInfo.cs │ │ ├── Texture2DInfo.cs.meta │ │ ├── TextureUtils.cs │ │ ├── TextureUtils.cs.meta │ │ ├── UnityBinaryReader.cs │ │ ├── UnityBinaryReader.cs.meta │ │ ├── Utils.cs │ │ ├── Utils.cs.meta │ │ ├── Vector2i.cs │ │ ├── Vector2i.cs.meta │ │ ├── VirtualFileSystem.cs │ │ └── VirtualFileSystem.cs.meta │ ├── TES.meta │ └── TES │ │ ├── BSAFile.cs │ │ ├── BSAFile.cs.meta │ │ ├── CellManager.cs │ │ ├── CellManager.cs.meta │ │ ├── Components.meta │ │ ├── Components │ │ ├── PathSelectionComponent.cs │ │ ├── PathSelectionComponent.cs.meta │ │ ├── PlayerComponent.cs │ │ ├── PlayerComponent.cs.meta │ │ ├── PlayerInventory.cs │ │ ├── PlayerInventory.cs.meta │ │ ├── PostEffectManager.cs │ │ ├── PostEffectManager.cs.meta │ │ ├── Records.meta │ │ ├── Records │ │ │ ├── ActivatorComponent.cs │ │ │ ├── ActivatorComponent.cs.meta │ │ │ ├── AlchemyApparatusComponent.cs │ │ │ ├── AlchemyApparatusComponent.cs.meta │ │ │ ├── AlchemyComponent.cs │ │ │ ├── AlchemyComponent.cs.meta │ │ │ ├── ArmorComponent.cs │ │ │ ├── ArmorComponent.cs.meta │ │ │ ├── BookComponent.cs │ │ │ ├── BookComponent.cs.meta │ │ │ ├── ClothComponent.cs │ │ │ ├── ClothComponent.cs.meta │ │ │ ├── ContainerComponent.cs │ │ │ ├── ContainerComponent.cs.meta │ │ │ ├── CreatureComponent.cs │ │ │ ├── CreatureComponent.cs.meta │ │ │ ├── DoorComponent.cs │ │ │ ├── DoorComponent.cs.meta │ │ │ ├── GenericObjectComponent.cs │ │ │ ├── GenericObjectComponent.cs.meta │ │ │ ├── IngredientComponent.cs │ │ │ ├── IngredientComponent.cs.meta │ │ │ ├── LightComponent.cs │ │ │ ├── LightComponent.cs.meta │ │ │ ├── LockComponent.cs │ │ │ ├── LockComponent.cs.meta │ │ │ ├── MiscObjectComponent.cs │ │ │ ├── MiscObjectComponent.cs.meta │ │ │ ├── NPCComponent.cs │ │ │ ├── NPCComponent.cs.meta │ │ │ ├── ProbComponent.cs │ │ │ ├── ProbComponent.cs.meta │ │ │ ├── RepaireComponent.cs │ │ │ ├── RepaireComponent.cs.meta │ │ │ ├── WeaponComponent.cs │ │ │ └── WeaponComponent.cs.meta │ │ ├── VR.meta │ │ └── VR │ │ │ ├── OculusHand.cs │ │ │ ├── OculusHand.cs.meta │ │ │ ├── PlayerVRComponent.cs │ │ │ ├── PlayerVRComponent.cs.meta │ │ │ ├── VRGazeUI.cs │ │ │ └── VRGazeUI.cs.meta │ │ ├── Convert.cs │ │ ├── Convert.cs.meta │ │ ├── ESM.meta │ │ ├── ESM │ │ ├── ESMFile.cs │ │ ├── ESMFile.cs.meta │ │ ├── Records.cs │ │ └── Records.cs.meta │ │ ├── Effects.meta │ │ ├── Effects │ │ ├── LightAnim.cs │ │ ├── LightAnim.cs.meta │ │ ├── UnderwaterEffect.cs │ │ └── UnderwaterEffect.cs.meta │ │ ├── GameSettings.cs │ │ ├── GameSettings.cs.meta │ │ ├── MaterialManager.cs │ │ ├── MaterialManager.cs.meta │ │ ├── Materials.meta │ │ ├── Materials │ │ ├── MWBaseMaterial.cs │ │ ├── MWBaseMaterial.cs.meta │ │ ├── MWBumpedDiffuseMaterial.cs │ │ ├── MWBumpedDiffuseMaterial.cs.meta │ │ ├── MWDefaultMaterial.cs │ │ ├── MWDefaultMaterial.cs.meta │ │ ├── MWStandardMaterial.cs │ │ ├── MWStandardMaterial.cs.meta │ │ ├── MWUnlitMaterial.cs │ │ └── MWUnlitMaterial.cs.meta │ │ ├── MorrowindDataReader.cs │ │ ├── MorrowindDataReader.cs.meta │ │ ├── MorrowindEngine.cs │ │ ├── MorrowindEngine.cs.meta │ │ ├── NIF.meta │ │ ├── NIF │ │ ├── NIFManager.cs │ │ ├── NIFManager.cs.meta │ │ ├── NIFObjectBuilder.cs │ │ ├── NIFObjectBuilder.cs.meta │ │ ├── NIFParserGenerator.cs │ │ ├── NIFParserGenerator.cs.meta │ │ ├── NIFReader.cs │ │ ├── NIFReader.cs.meta │ │ ├── NIFUtils.cs │ │ └── NIFUtils.cs.meta │ │ ├── TESUnity.cs │ │ ├── TESUnity.cs.meta │ │ ├── TextureManager.cs │ │ ├── TextureManager.cs.meta │ │ ├── UI.meta │ │ └── UI │ │ ├── UIBook.cs │ │ ├── UIBook.cs.meta │ │ ├── UICrosshair.cs │ │ ├── UICrosshair.cs.meta │ │ ├── UIInteractiveText.cs │ │ ├── UIInteractiveText.cs.meta │ │ ├── UIManager.cs │ │ ├── UIManager.cs.meta │ │ ├── UIScroll.cs │ │ └── UIScroll.cs.meta ├── Shaders.meta ├── Shaders │ ├── MWCG.cginc │ ├── MWCG.cginc.meta │ ├── MW_Standard.shader │ ├── MW_Standard.shader.meta │ ├── MW_Standard_Blended.shader │ ├── MW_Standard_Blended.shader.meta │ ├── MW_Standard_Tested.shader │ └── MW_Standard_Tested.shader.meta ├── Textures.meta ├── Textures │ ├── AppBanner.png │ ├── AppBanner.png.meta │ ├── AppIcon.png │ ├── AppIcon.png.meta │ ├── Book_PlaceHolder.png │ ├── Book_PlaceHolder.png.meta │ ├── Scroll_Placeholder.png │ ├── Scroll_Placeholder.png.meta │ ├── TESFonts.meta │ └── TESFonts │ │ ├── Kingthings Exeter.ttf │ │ ├── Kingthings Exeter.ttf.meta │ │ ├── Kingthings Petrock light.ttf │ │ ├── Kingthings Petrock light.ttf.meta │ │ ├── Kingthings Petrock.ttf │ │ ├── Kingthings Petrock.ttf.meta │ │ ├── MorrisRomanBlack.ttf │ │ ├── MorrisRomanBlack.ttf.meta │ │ ├── MorrisRomanBlackAlt.ttf │ │ ├── MorrisRomanBlackAlt.ttf.meta │ │ ├── Planewalker.ttf │ │ ├── Planewalker.ttf.meta │ │ ├── Readme_TES_Fonts.txt │ │ ├── Readme_TES_Fonts.txt.meta │ │ ├── oblivion-font.ttf │ │ └── oblivion-font.ttf.meta ├── Vendors.meta └── Vendors │ ├── .gitignore │ ├── README.md │ ├── README.md.meta │ ├── Standard Assets.meta │ └── Standard Assets │ ├── Effects.meta │ ├── Effects │ ├── AmbientOcclusion.meta │ ├── AmbientOcclusion │ │ ├── AmbientOcclusion.cs │ │ ├── AmbientOcclusion.cs.meta │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── AmbientOcclusionEditor.cs │ │ │ └── AmbientOcclusionEditor.cs.meta │ │ ├── Helpers.meta │ │ ├── Helpers │ │ │ ├── PropertyObserver.cs │ │ │ ├── PropertyObserver.cs.meta │ │ │ ├── Settings.cs │ │ │ └── Settings.cs.meta │ │ ├── Resources.meta │ │ └── Resources │ │ │ ├── AmbientOcclusion.cginc │ │ │ ├── AmbientOcclusion.cginc.meta │ │ │ ├── AmbientOcclusion.shader │ │ │ └── AmbientOcclusion.shader.meta │ ├── AntiAliasing.meta │ ├── AntiAliasing │ │ ├── AntiAliasing.cs │ │ ├── AntiAliasing.cs.meta │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── AntiAliasingEditor.cs │ │ │ ├── AntiAliasingEditor.cs.meta │ │ │ ├── IAntiAliasingEditor.cs │ │ │ └── IAntiAliasingEditor.cs.meta │ │ ├── FXAA.meta │ │ ├── FXAA │ │ │ ├── Editor.meta │ │ │ ├── Editor │ │ │ │ ├── FXAAEditor.cs │ │ │ │ └── FXAAEditor.cs.meta │ │ │ ├── FXAA.cs │ │ │ ├── FXAA.cs.meta │ │ │ ├── Resources.meta │ │ │ └── Resources │ │ │ │ ├── FXAA.shader │ │ │ │ ├── FXAA.shader.meta │ │ │ │ ├── FXAA3.cginc │ │ │ │ └── FXAA3.cginc.meta │ │ ├── IAntiAliasing.cs │ │ ├── IAntiAliasing.cs.meta │ │ ├── SMAA.meta │ │ └── SMAA │ │ │ ├── Editor.meta │ │ │ ├── Editor │ │ │ ├── SMAAEditor.cs │ │ │ └── SMAAEditor.cs.meta │ │ │ ├── Resources.meta │ │ │ ├── Resources │ │ │ ├── AreaTex.tga │ │ │ ├── AreaTex.tga.meta │ │ │ ├── SMAA.cginc │ │ │ ├── SMAA.cginc.meta │ │ │ ├── SMAA.shader │ │ │ ├── SMAA.shader.meta │ │ │ ├── SearchTex.tga │ │ │ └── SearchTex.tga.meta │ │ │ ├── SMAA.cs │ │ │ └── SMAA.cs.meta │ ├── Bloom.meta │ ├── Bloom │ │ ├── Bloom.cs │ │ ├── Bloom.cs.meta │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── BloomEditor.cs │ │ │ ├── BloomEditor.cs.meta │ │ │ ├── BloomGraphDrawer.cs │ │ │ └── BloomGraphDrawer.cs.meta │ │ ├── Resources.meta │ │ └── Resources │ │ │ ├── Bloom.cginc │ │ │ ├── Bloom.cginc.meta │ │ │ ├── Bloom.shader │ │ │ └── Bloom.shader.meta │ ├── Common.meta │ └── Common │ │ ├── Editor.meta │ │ ├── Editor │ │ ├── EditorGUIHelper.cs │ │ ├── EditorGUIHelper.cs.meta │ │ ├── FieldFinder.cs │ │ ├── FieldFinder.cs.meta │ │ ├── MinDrawer.cs │ │ └── MinDrawer.cs.meta │ │ ├── ImageEffectHelper.cs │ │ ├── ImageEffectHelper.cs.meta │ │ ├── MinAttribute.cs │ │ ├── MinAttribute.cs.meta │ │ ├── RenderTextureUtility.cs │ │ └── RenderTextureUtility.cs.meta │ ├── Environment.meta │ └── Environment │ ├── Water (Basic).meta │ ├── Water (Basic) │ ├── Materials.meta │ ├── Materials │ │ ├── WaterBasicDaytime.mat │ │ ├── WaterBasicDaytime.mat.meta │ │ ├── WaterBasicNighttime.mat │ │ ├── WaterBasicNighttime.mat.meta │ │ ├── WaterDefault.mat │ │ └── WaterDefault.mat.meta │ ├── Models.meta │ ├── Models │ │ ├── WaterBasicPlane.fbx │ │ └── WaterBasicPlane.fbx.meta │ ├── Prefabs.meta │ ├── Prefabs │ │ ├── WaterBasicDaytime.prefab │ │ ├── WaterBasicDaytime.prefab.meta │ │ ├── WaterBasicNightime.prefab │ │ └── WaterBasicNightime.prefab.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── WaterBasic.cs │ │ └── WaterBasic.cs.meta │ ├── Shaders.meta │ ├── Shaders │ │ ├── FXWaterBasic.shader │ │ └── FXWaterBasic.shader.meta │ ├── Textures.meta │ └── Textures │ │ ├── WaterBasicDaytimeGradient.psd │ │ ├── WaterBasicDaytimeGradient.psd.meta │ │ ├── WaterBasicNighttimeGradient.psd │ │ ├── WaterBasicNighttimeGradient.psd.meta │ │ ├── WaterBasicNormals.jpg │ │ └── WaterBasicNormals.jpg.meta │ ├── Water.meta │ └── Water │ ├── Water.meta │ ├── Water │ ├── Materials.meta │ ├── Materials │ │ ├── WaterPlaneMaterial.mat │ │ ├── WaterPlaneMaterial.mat.meta │ │ ├── WaterProDaytime.mat │ │ ├── WaterProDaytime.mat.meta │ │ ├── WaterProNighttime.mat │ │ └── WaterProNighttime.mat.meta │ ├── Models.meta │ ├── Models │ │ ├── WaterPlane.fbx │ │ └── WaterPlane.fbx.meta │ ├── Prefabs.meta │ ├── Prefabs │ │ ├── WaterProDaytime.prefab │ │ ├── WaterProDaytime.prefab.meta │ │ ├── WaterProNighttime.prefab │ │ └── WaterProNighttime.prefab.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── Displace.cs │ │ ├── Displace.cs.meta │ │ ├── GerstnerDisplace.cs │ │ ├── GerstnerDisplace.cs.meta │ │ ├── MeshContainer.cs │ │ ├── MeshContainer.cs.meta │ │ ├── PlanarReflection.cs │ │ ├── PlanarReflection.cs.meta │ │ ├── SpecularLighting.cs │ │ ├── SpecularLighting.cs.meta │ │ ├── Water.cs │ │ ├── Water.cs.meta │ │ ├── WaterBase.cs │ │ ├── WaterBase.cs.meta │ │ ├── WaterTile.cs │ │ └── WaterTile.cs.meta │ ├── Shaders.meta │ ├── Shaders │ │ ├── FXWaterPro.shader │ │ └── FXWaterPro.shader.meta │ ├── Textures.meta │ └── Textures │ │ ├── WaterBump.jpg │ │ ├── WaterBump.jpg.meta │ │ ├── WaterFresnel.psd │ │ ├── WaterFresnel.psd.meta │ │ ├── WaterProDaytimeGradient.psd │ │ ├── WaterProDaytimeGradient.psd.meta │ │ ├── WaterProNighttimeGradient.psd │ │ └── WaterProNighttimeGradient.psd.meta │ ├── Water4.meta │ └── Water4 │ ├── Materials.meta │ ├── Materials │ ├── OceanPlaneMaterial.mat │ ├── OceanPlaneMaterial.mat.meta │ ├── Water4Advanced.mat │ ├── Water4Advanced.mat.meta │ ├── Water4Simple.mat │ └── Water4Simple.mat.meta │ ├── Models.meta │ ├── Models │ ├── OceanPlane.FBX │ └── OceanPlane.FBX.meta │ ├── Prefabs.meta │ ├── Prefabs │ ├── Water4Advanced.prefab │ ├── Water4Advanced.prefab.meta │ ├── Water4Simple.prefab │ └── Water4Simple.prefab.meta │ ├── Shaders.meta │ ├── Shaders │ ├── FXWater4Advanced.shader │ ├── FXWater4Advanced.shader.meta │ ├── FXWater4Simple.shader │ ├── FXWater4Simple.shader.meta │ ├── WaterInclude.cginc │ └── WaterInclude.cginc.meta │ ├── Textures.meta │ └── Textures │ ├── SimpleFoam.png │ ├── SimpleFoam.png.meta │ ├── SmallWaves.png │ └── SmallWaves.png.meta ├── CHANGES.md ├── LICENSE.txt ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NavMeshProjectSettings.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset ├── README-VR.md ├── README.md └── nif.xml /.gitignore: -------------------------------------------------------------------------------- 1 | # System files 2 | Thumbs.db 3 | Thumbs.db.meta 4 | *.DS_Store 5 | *.directory 6 | .vs 7 | .vscode 8 | 9 | # Android Build files 10 | *.apk 11 | *.obb 12 | 13 | # Visual Studio files 14 | *.cachefile 15 | *.csproj 16 | *.pidb 17 | *.sln 18 | *.suo 19 | *.unityproj 20 | *.user 21 | *.userprefs 22 | *.v11 23 | *.v12 24 | *.VC.db 25 | [C|c]onfig.ini 26 | 27 | # Folder to exclude 28 | [Bb]in 29 | [Dd]ebug*/ 30 | [Rr]elease*/ 31 | Builds/ 32 | ipch/ 33 | Library/ 34 | obj/ 35 | Temp/ 36 | Data Files/ -------------------------------------------------------------------------------- /Assets/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b20b7eb76671f0b4388312a71c581a81 3 | folderAsset: yes 4 | timeCreated: 1475518284 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Materials/Sky.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92eb28228f96ac444a9a51e476bf2cf3 3 | timeCreated: 1465089077 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Materials/Underwater_Reversed.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 82889a307a9eb8c4eb4cf458ecc902dd 3 | timeCreated: 1475745385 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a6b9a734c5ca55742838be272f387afc 3 | folderAsset: yes 4 | timeCreated: 1461534416 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/MP3Sharp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Plugins/MP3Sharp.dll -------------------------------------------------------------------------------- /Assets/Plugins/MP3Sharp.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fd42d1716e93bc449ad8126dab7d926 3 | timeCreated: 1461534474 4 | licenseType: Free 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | platformData: 11 | Any: 12 | enabled: 1 13 | settings: {} 14 | Editor: 15 | enabled: 0 16 | settings: 17 | DefaultValueInitialized: true 18 | WindowsStoreApps: 19 | enabled: 0 20 | settings: 21 | CPU: AnyCPU 22 | userData: 23 | assetBundleName: 24 | assetBundleVariant: 25 | -------------------------------------------------------------------------------- /Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 727864e4f2e5f5349a49ecec835059aa 3 | folderAsset: yes 4 | timeCreated: 1461697915 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Prefabs/Player.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb4f50960e3bc08459bb6f708eb7d79f 3 | timeCreated: 1478265346 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Prefabs/Spectator.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05215c92a43574f4a884ac60658dc925 3 | timeCreated: 1478261110 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Prefabs/TESUnity.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9a1ba27e850d6d478d4a64d027d1204 3 | timeCreated: 1461698038 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Prefabs/Water.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8e3a26facab0b742b401e1c0da419dc 3 | timeCreated: 1463031390 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42c77ec87d7d5044daeedba71d9d3ee3 3 | folderAsset: yes 4 | timeCreated: 1475517851 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Resources/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe0a5cfa7842c23419b51207ffabb53a 3 | folderAsset: yes 4 | timeCreated: 1475517876 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Resources/Materials/BumpedDiffuse.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5a2ed7dec6530f4290561a8fddcc05f 3 | timeCreated: 1475413068 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Materials/BumpedDiffuseTransCutout.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99a0e20f0a18120478fa6762b1153269 3 | timeCreated: 1475518231 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Materials/Standard.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa59a264c07340745a94d005661b3199 3 | timeCreated: 1475517819 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Materials/StandardCutout.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b4a867e70d287049b29e4be8887252d 3 | timeCreated: 1475520557 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Materials/TESUnityAlphaBlend.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ece1e54de347c0a4b935159566ed2500 3 | timeCreated: 1475518196 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Materials/TESUnityStandard.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4704d58012177bc4485a26a6fad2e89f 3 | timeCreated: 1475518196 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Materials/TESUnityTested.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 816aed95cc4819f4d976b28a5c72be1d 3 | timeCreated: 1475518196 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Materials/Unlit.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2fb90c2aec3c6134fbe9ac9f2b8fb820 3 | timeCreated: 1475517812 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/Materials/UnlitTransparentCutout.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e2254165450b2f4cb8c16530e57d347 3 | timeCreated: 1475518196 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/UI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cde8cc767e646f84593cadfe53e8dda5 3 | folderAsset: yes 4 | timeCreated: 1476016691 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Resources/UI/Book.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de2517ff4a7a99a48a683bc2b1defec0 3 | timeCreated: 1476079839 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/UI/InteractiveText.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 077b1d90dd328134999603a3db4259c8 3 | timeCreated: 1476016694 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Resources/UI/Scroll.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0beda27bcd6e09c4cb8135ce4f3028b6 3 | timeCreated: 1476271693 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70c8498f2d288bf4389fc5f677fa8c72 3 | folderAsset: yes 4 | timeCreated: 1461523844 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scenes/AskPathScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 46e30032f3a47fc4fbabc7234b162816 3 | timeCreated: 1461523859 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scenes/GameScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a8ff10dbfe696e45bca66d86c2f4347 3 | timeCreated: 1461523859 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d540b6e81cb1e1845b5b2cfe1d02e0ce 3 | folderAsset: yes 4 | timeCreated: 1461523871 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/Core.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a9a33a9608c70df40a401ef46a7e580e 3 | folderAsset: yes 4 | timeCreated: 1474250035 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/ArrayRange.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 743fb1b564f62fe4484be74cee2e87fe 3 | timeCreated: 1462777265 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/ArrayUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: baa9a86eff133c742ae59297f641f81f 3 | timeCreated: 1505016538 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/AudioUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5995496c049e6854db47a70e095df9f8 3 | timeCreated: 1461606676 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/ColorUtils.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public static class ColorUtils 4 | { 5 | public static Color B8G8R8ToColor(uint B8G8R8) 6 | { 7 | return B8G8R8ToColor32(B8G8R8); 8 | } 9 | public static Color32 B8G8R8ToColor32(uint B8G8R8) 10 | { 11 | var B8 = (byte)((B8G8R8 >> 16) & 0xFF); 12 | var G8 = (byte)((B8G8R8 >> 8) & 0xFF); 13 | var R8 = (byte)(B8G8R8 & 0xFF); 14 | 15 | return new Color32(R8, G8, B8, 255); 16 | } 17 | 18 | public static Color R5G6B5ToColor(ushort R5G6B5) 19 | { 20 | var R5 = ((R5G6B5 >> 11) & 31); 21 | var G6 = ((R5G6B5 >> 5) & 63); 22 | var B5 = (R5G6B5 & 31); 23 | 24 | return new Color((float)R5 / 31, (float)G6 / 63, (float)B5 / 31, 1); 25 | } 26 | public static Color32 R5G6B5ToColor32(ushort R5G6B5) 27 | { 28 | return R5G6B5ToColor(R5G6B5); 29 | } 30 | } -------------------------------------------------------------------------------- /Assets/Scripts/Core/ColorUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8d0561be41ea1f47967b98e6de7e308 3 | timeCreated: 1462763057 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/DDSReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94795e085c8e1ff41b3c24d4eaf8199b 3 | timeCreated: 1462763026 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/Exceptions.cs: -------------------------------------------------------------------------------- 1 | namespace System.IO 2 | { 3 | /// 4 | /// A reimplementation of a standard exception type that was introduced in .NET 3.0. 5 | /// 6 | public class FileFormatException : FormatException 7 | { 8 | public FileFormatException() : base() { } 9 | public FileFormatException(string message) : base(message) { } 10 | public FileFormatException(string message, Exception innerException) : base(message, innerException) { } 11 | } 12 | } -------------------------------------------------------------------------------- /Assets/Scripts/Core/Exceptions.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f12cce805a3d7cb488a480ee7d072263 3 | timeCreated: 1505016538 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/FlyingCameraComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a3618a963c0cbe4982fa3b654a3f39b 3 | timeCreated: 1462636103 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/GUIUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10d05a9427a4155459476c6d48d374a8 3 | timeCreated: 1461694815 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/GameObjectUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3fecafd2bebc2840ad01228b1f8cf5a 3 | timeCreated: 1462506485 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/MusicPlayer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | // shuffles and repeats 5 | public class MusicPlayer 6 | { 7 | public void AddSong(string songFilePath) 8 | { 9 | songFilePaths.Add(songFilePath); 10 | } 11 | public void AddSongs(string[] songFilePaths) 12 | { 13 | this.songFilePaths.AddRange(songFilePaths); 14 | } 15 | public void Play() 16 | { 17 | currentSongIndex = GetNextSongIndex(); 18 | 19 | if(currentSongIndex >= 0) 20 | { 21 | MP3StreamReader audioStream = new MP3StreamReader(songFilePaths[currentSongIndex]); 22 | currentAudioSourceObj = AudioUtils.Play2DAudioStream(audioStream); 23 | } 24 | } 25 | public void Update() 26 | { 27 | if(currentAudioSourceObj == null) 28 | { 29 | currentSongIndex = GetNextSongIndex(); 30 | 31 | if(currentSongIndex >= 0) 32 | { 33 | MP3StreamReader audioStream = new MP3StreamReader(songFilePaths[currentSongIndex]); 34 | currentAudioSourceObj = AudioUtils.Play2DAudioStream(audioStream); 35 | } 36 | } 37 | } 38 | 39 | private List songFilePaths = new List(); 40 | private int currentSongIndex = -1; 41 | private GameObject currentAudioSourceObj; 42 | private int GetNextSongIndex() 43 | { 44 | if(songFilePaths.Count == 0) 45 | { 46 | return -1; 47 | } 48 | else if(songFilePaths.Count == 1) 49 | { 50 | return 0; 51 | } 52 | else if(currentSongIndex < 0) 53 | { 54 | return Random.Range(0, songFilePaths.Count); 55 | } 56 | else 57 | { 58 | return (currentSongIndex + Random.Range(1, songFilePaths.Count - 1)) % songFilePaths.Count; 59 | } 60 | } 61 | } -------------------------------------------------------------------------------- /Assets/Scripts/Core/MusicPlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ca655fec2d85f0148bd3c0102d9f9ae7 3 | timeCreated: 1464137747 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/OneShotAudioStreamComponent.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class OneShotAudioStreamComponent : MonoBehaviour 4 | { 5 | public MP3StreamReader audioStream; 6 | 7 | /*private AudioSource audioSource; 8 | 9 | private void Awake() 10 | { 11 | audioSource = GetComponent(); 12 | audioSource.Play(); 13 | } 14 | private void Update() 15 | { 16 | if(audioStream != null && audioStream.isDoneStreaming) 17 | { 18 | Debug.Log(audioStream.streamedSampleFrameCount * audioStream.channelCount); 19 | audioStream = null; 20 | audioSource.loop = false; 21 | } 22 | 23 | if(!audioSource.isPlaying) 24 | { 25 | Destroy(gameObject, 0.5f); 26 | enabled = false; 27 | } 28 | }*/ 29 | 30 | private PCMAudioBuffer streamBuffer; 31 | private int UnitySampleRate = -1; 32 | 33 | private void Start() 34 | { 35 | streamBuffer = new PCMAudioBuffer(audioStream.channelCount, audioStream.bitDepth, audioStream.samplingRate, 8192); 36 | UnitySampleRate = AudioSettings.outputSampleRate; 37 | } 38 | private void Update() 39 | { 40 | if(audioStream.isDoneStreaming) 41 | { 42 | Destroy(gameObject); 43 | enabled = false; 44 | } 45 | } 46 | private void OnAudioFilterRead(float[] samples, int channelCount) 47 | { 48 | if(UnitySampleRate > 0) 49 | { 50 | int lowSRSampleCount = (int)((44100.0f / UnitySampleRate) * samples.Length); 51 | var lowSRSamples = new float[lowSRSampleCount]; 52 | 53 | int samplesReturned = AudioUtils.FillUnityStreamBuffer(lowSRSamples, streamBuffer, audioStream); 54 | AudioUtils.ResampleHack(lowSRSamples, samples); 55 | //AudioUtils.LowPassHack(samples); 56 | 57 | if(audioStream.isOpen && audioStream.isDoneStreaming) 58 | { 59 | audioStream.Close(); 60 | } 61 | } 62 | } 63 | } -------------------------------------------------------------------------------- /Assets/Scripts/Core/OneShotAudioStreamComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cdeea1427fb7d44fb9d3095d3aac389 3 | timeCreated: 1461569556 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/StringUtils.cs: -------------------------------------------------------------------------------- 1 | public static class StringUtils 2 | { 3 | /// 4 | /// Quickly checks if an ASCII encoded string is equal to a C# string. 5 | /// 6 | public static bool Equals(byte[] ASCIIBytes, string str) 7 | { 8 | if(ASCIIBytes.Length != str.Length) 9 | { 10 | return false; 11 | } 12 | 13 | for(int i = 0; i < ASCIIBytes.Length; i++) 14 | { 15 | if(ASCIIBytes[i] != str[i]) 16 | { 17 | return false; 18 | } 19 | } 20 | 21 | return true; 22 | } 23 | } -------------------------------------------------------------------------------- /Assets/Scripts/Core/StringUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8233cb3c52edf2e48aace0868edbb006 3 | timeCreated: 1505016538 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/TemporalLoadBalancer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using System.Diagnostics; 4 | 5 | /// 6 | /// Distributes work (the execution of coroutines) over several frames to avoid freezes by soft-limiting execution time. 7 | /// 8 | public class TemporalLoadBalancer 9 | { 10 | /// 11 | /// Adds a task coroutine and returns it. 12 | /// 13 | public IEnumerator AddTask(IEnumerator taskCoroutine) 14 | { 15 | tasks.Add(taskCoroutine); 16 | 17 | return taskCoroutine; 18 | } 19 | public void CancelTask(IEnumerator taskCoroutine) 20 | { 21 | tasks.Remove(taskCoroutine); 22 | } 23 | 24 | public void RunTasks(float desiredWorkTime) 25 | { 26 | Debug.Assert(desiredWorkTime >= 0); 27 | 28 | if(tasks.Count == 0) 29 | { 30 | return; 31 | } 32 | 33 | stopwatch.Reset(); 34 | stopwatch.Start(); 35 | 36 | // Run the tasks. 37 | do 38 | { 39 | // Try to execute an iteration of a task. Remove the task if it's execution has completed. 40 | if(!tasks[0].MoveNext()) 41 | { 42 | tasks.RemoveAt(0); 43 | } 44 | } while((tasks.Count > 0) && (stopwatch.Elapsed.TotalSeconds < desiredWorkTime)); 45 | 46 | stopwatch.Stop(); 47 | } 48 | 49 | public void WaitForTask(IEnumerator taskCoroutine) 50 | { 51 | Debug.Assert(tasks.Contains(taskCoroutine)); 52 | 53 | while(taskCoroutine.MoveNext()) 54 | { } 55 | 56 | tasks.Remove(taskCoroutine); 57 | } 58 | public void WaitForAllTasks() 59 | { 60 | foreach(var task in tasks) 61 | { 62 | while(task.MoveNext()) 63 | { } 64 | } 65 | 66 | tasks.Clear(); 67 | } 68 | 69 | private List tasks = new List(); 70 | private Stopwatch stopwatch = new Stopwatch(); 71 | } -------------------------------------------------------------------------------- /Assets/Scripts/Core/TemporalLoadBalancer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bee80cab33c088245bb00651aef78c8b 3 | timeCreated: 1505083803 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/Texture2DInfo.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | /// 4 | /// Stores information about a 2D texture. 5 | /// 6 | public class Texture2DInfo 7 | { 8 | public int width, height; 9 | public TextureFormat format; 10 | public bool hasMipmaps; 11 | public byte[] rawData; 12 | 13 | public Texture2DInfo(int width, int height, TextureFormat format, bool hasMipmaps, byte[] rawData) 14 | { 15 | this.width = width; 16 | this.height = height; 17 | this.format = format; 18 | this.hasMipmaps = hasMipmaps; 19 | this.rawData = rawData; 20 | } 21 | 22 | /// 23 | /// Creates a Unity Texture2D from this Texture2DInfo. 24 | /// 25 | public Texture2D ToTexture2D() 26 | { 27 | var texture = new Texture2D(width, height, format, hasMipmaps); 28 | 29 | if(rawData != null) 30 | { 31 | texture.LoadRawTextureData(rawData); 32 | texture.Apply(); 33 | } 34 | 35 | return texture; 36 | } 37 | } -------------------------------------------------------------------------------- /Assets/Scripts/Core/Texture2DInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bcab3a25f9b7964d852cbe1cd7b2d9b 3 | timeCreated: 1464657529 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/TextureUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54f7bb83109195442b42d1111bd2ea1d 3 | timeCreated: 1461640172 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/UnityBinaryReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec47c627b6eef334e9b6a4fc1cf8934a 3 | timeCreated: 1465008963 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/Utils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38f0c4d5f6b53c44b9930a38bf871f9e 3 | timeCreated: 1462777631 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/Vector2i.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | /// 4 | /// A 2-dimensional vector with integer components. 5 | /// 6 | public struct Vector2i : IEquatable 7 | { 8 | public static Vector2i zero { get { return new Vector2i(0, 0); } } 9 | public static Vector2i right { get { return new Vector2i(1, 0); } } 10 | public static Vector2i up { get { return new Vector2i(0, 1); } } 11 | public static Vector2i one { get { return new Vector2i(1, 1); } } 12 | 13 | public static bool operator == (Vector2i a, Vector2i b) 14 | { 15 | return (a.x == b.x) && (a.y == b.y); 16 | } 17 | public static bool operator != (Vector2i a, Vector2i b) 18 | { 19 | return (a.x != b.x) || (a.y != b.y); 20 | } 21 | 22 | public int x, y; 23 | 24 | public Vector2i(int x, int y) 25 | { 26 | this.x = x; 27 | this.y = y; 28 | } 29 | public bool Equals(Vector2i other) 30 | { 31 | return (x == other.x) && (y == other.y); 32 | } 33 | public override int GetHashCode() 34 | { 35 | return x ^ y; 36 | } 37 | public override string ToString() 38 | { 39 | return "(" + x.ToString() + ", " + y.ToString() + ")"; 40 | } 41 | } -------------------------------------------------------------------------------- /Assets/Scripts/Core/Vector2i.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a65d0a63c6fcb754f86cea0d437ab7c4 3 | timeCreated: 1462732664 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/Core/VirtualFileSystem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d01a15d343dc8a6498a5793276f1792f 3 | timeCreated: 1462383945 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f3da70bf241c324eaacf4c9daeeaa9c 3 | folderAsset: yes 4 | timeCreated: 1462762890 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/BSAFile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d68f93e2f1bce274bb722c0fe1694458 3 | timeCreated: 1461627998 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/CellManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b10d253cf11d1f45a4f6ba8825f0336 3 | timeCreated: 1505019263 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51d789855c6cc4e4dbe2744f6535927b 3 | folderAsset: yes 4 | timeCreated: 1475999880 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/PathSelectionComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9550292f04c2cc4f8e2986e8f5954aa 3 | timeCreated: 1476386718 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/PlayerComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 287f98db0499ceb4cbcc95e7d53a7d21 3 | timeCreated: 1475999880 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/PlayerInventory.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using TESUnity.Components.Records; 3 | using TESUnity.ESM; 4 | using UnityEngine; 5 | 6 | namespace TESUnity.Components 7 | { 8 | public class PlayerInventory : MonoBehaviour 9 | { 10 | private List _inventory = new List(); 11 | private Transform _disabledObjects = null; 12 | private PlayerComponent _player = null; 13 | 14 | void Start() 15 | { 16 | var disabledObjectGO = new GameObject("DisabledObjects"); 17 | disabledObjectGO.SetActive(false); 18 | _disabledObjects = disabledObjectGO.GetComponent(); 19 | _player = GetComponent(); 20 | } 21 | 22 | public void Add(GenericObjectComponent item) 23 | { 24 | Add(item.record); 25 | 26 | // For now. 27 | var weapon = item as WeaponComponent; 28 | if (weapon != null) 29 | { 30 | var rightHand = _player.rightHand; 31 | if (rightHand.childCount > 0) 32 | rightHand.GetChild(0).parent = _disabledObjects; 33 | 34 | ((WeaponComponent)item).Equip(rightHand); 35 | return; 36 | } 37 | 38 | item.transform.parent = _disabledObjects.transform; 39 | } 40 | 41 | public void Add(Record record) 42 | { 43 | _inventory.Add(record); 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/PlayerInventory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc55ed03eafa5ab40845a5fc46e6593d 3 | timeCreated: 1476098789 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/PostEffectManager.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityStandardAssets.CinematicEffects; 3 | 4 | namespace TESUnity.Components 5 | { 6 | [RequireComponent(typeof(Camera))] 7 | public class PostEffectManager : MonoBehaviour 8 | { 9 | void Awake() 10 | { 11 | var tes = TESUnity.instance; 12 | 13 | SetEffectEnabled(tes.ambientOcclusion); 14 | SetEffectEnabled(tes.antiAliasing); 15 | SetEffectEnabled(tes.bloom); 16 | } 17 | 18 | public void SetEffectEnabled(bool isEnabled) where T : MonoBehaviour 19 | { 20 | var effect = GetComponent(); 21 | if (effect != null) 22 | effect.enabled = isEnabled; 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/PostEffectManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e8e298e5c40ff74baee3e6259ce0c1d 3 | timeCreated: 1478265684 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 924211e1f4b64b5488ca9a6fbb81e70e 3 | folderAsset: yes 4 | timeCreated: 1476081573 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/ActivatorComponent.cs: -------------------------------------------------------------------------------- 1 | using TESUnity.ESM; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class ActivatorComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | usable = true; 10 | pickable = false; 11 | var ACTI = (ACTIRecord)record; 12 | objData.name = ACTI.FNAM.value; 13 | objData.interactionPrefix = "Use "; 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/ActivatorComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 282b17db4ed284845863cee5f80b8efe 3 | timeCreated: 1476121427 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/AlchemyApparatusComponent.cs: -------------------------------------------------------------------------------- 1 | using TESUnity.ESM; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class AlchemyApparatusComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | var APPA = (APPARecord)record; 10 | //objData.icon = TESUnity.instance.Engine.textureManager.LoadTexture(WPDT.ITEX.value, "icons"); 11 | objData.name = APPA.FNAM.value; 12 | objData.weight = APPA.AADT.weight.ToString(); 13 | objData.value = APPA.AADT.value.ToString(); 14 | objData.interactionPrefix = "Take "; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/AlchemyApparatusComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd83d80219eaf914e89cdc20a6caacb5 3 | timeCreated: 1476121427 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/AlchemyComponent.cs: -------------------------------------------------------------------------------- 1 | using TESUnity.ESM; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class AlchemyComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | var ALCH = (ALCHRecord)record; 10 | //objData.icon = TESUnity.instance.Engine.textureManager.LoadTexture(WPDT.ITEX.value, "icons"); 11 | objData.name = ALCH.FNAM.value; 12 | objData.weight = ALCH.ALDT.weight.ToString(); 13 | objData.value = ALCH.ALDT.value.ToString(); 14 | objData.interactionPrefix = "Take "; 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/AlchemyComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63ee4ffb96af8f34c825318862605f2f 3 | timeCreated: 1476121427 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/ArmorComponent.cs: -------------------------------------------------------------------------------- 1 | using TESUnity.ESM; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class ArmorComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | var ARMO = (ARMORecord)record; 10 | //objData.icon = TESUnity.instance.Engine.textureManager.LoadTexture(WPDT.ITEX.value, "icons"); 11 | objData.name = ARMO.FNAM.value; 12 | objData.weight = ARMO.AODT.weight.ToString(); 13 | objData.value = ARMO.AODT.value.ToString(); 14 | objData.interactionPrefix = "Take "; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/ArmorComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09685ccd14b88434dbaec8b14a0ea1ba 3 | timeCreated: 1476081573 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/BookComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1f1885f9316e9524aba32eef2214e161 3 | timeCreated: 1476081573 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/ClothComponent.cs: -------------------------------------------------------------------------------- 1 | using TESUnity.ESM; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class ClothComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | var CLOT = (CLOTRecord)record; 10 | //objData.icon = TESUnity.instance.Engine.textureManager.LoadTexture(WPDT.ITEX.value, "icons"); 11 | objData.name = CLOT.FNAM.value; 12 | objData.weight = CLOT.CTDT.weight.ToString(); 13 | objData.value = CLOT.CTDT.value.ToString(); 14 | objData.interactionPrefix = "Take "; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/ClothComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 632900d6a56e9de4aa454e36bc410cd1 3 | timeCreated: 1476121427 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/ContainerComponent.cs: -------------------------------------------------------------------------------- 1 | using TESUnity.ESM; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class ContainerComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | pickable = false; 10 | objData.name = ((CONTRecord)record).FNAM.value; 11 | objData.interactionPrefix = "Open "; 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/ContainerComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 96313e469a7b23b4aa57eb5d9e58b751 3 | timeCreated: 1476081574 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/CreatureComponent.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class CreatureComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | transform.rotation = Quaternion.Euler(-70, 0, 0); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/CreatureComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 887052cb9d670da4e8c01b8174041941 3 | timeCreated: 1476424680 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/DoorComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04f29058e173d2a40ba7b65df6d13a54 3 | timeCreated: 1476081573 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/GenericObjectComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 423c408bcb691e74a911acaf207f4919 3 | timeCreated: 1476081573 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/IngredientComponent.cs: -------------------------------------------------------------------------------- 1 | using TESUnity.ESM; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class IngredientComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | var INGR = (INGRRecord)record; 10 | //objData.icon = TESUnity.instance.Engine.textureManager.LoadTexture(INGR.ITEX.value, "icons"); 11 | objData.name = INGR.FNAM.value; 12 | objData.weight = INGR.IRDT.weight.ToString(); 13 | objData.value = INGR.IRDT.value.ToString(); 14 | objData.interactionPrefix = "Take "; 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/IngredientComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39ca8940ef3b33b4288f4916577b2cbc 3 | timeCreated: 1476081573 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/LightComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0abf0acbf59fd064987addebc6fb00fd 3 | timeCreated: 1476081573 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/LockComponent.cs: -------------------------------------------------------------------------------- 1 | using TESUnity.ESM; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class LockComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | usable = true; 10 | pickable = false; 11 | var LOCK = (LOCKRecord)record; 12 | //objData.icon = TESUnity.instance.Engine.textureManager.LoadTexture(WPDT.ITEX.value, "icons"); 13 | objData.name = LOCK.FNAM.value; 14 | objData.weight = LOCK.LKDT.weight.ToString(); 15 | objData.value = LOCK.LKDT.value.ToString(); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/LockComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a81d51915b3b7344ebf6a2de63fc9718 3 | timeCreated: 1476121427 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/MiscObjectComponent.cs: -------------------------------------------------------------------------------- 1 | using TESUnity.ESM; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class MiscObjectComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | var MISC = (MISCRecord)record; 10 | //objData.icon = TESUnity.instance.Engine.textureManager.LoadTexture(MISC.ITEX.value, "icons"); 11 | objData.name = MISC.FNAM.value; 12 | objData.weight = MISC.MCDT.weight.ToString(); 13 | objData.value = MISC.MCDT.value.ToString(); 14 | objData.interactionPrefix = "Take "; 15 | } 16 | 17 | public override void Interact() 18 | { 19 | 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/MiscObjectComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 59bd3657250b12d4a8b560e6e85fed61 3 | timeCreated: 1476081573 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/NPCComponent.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class NPCComponent : GenericObjectComponent 6 | { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/NPCComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01e086aca521b3b43814b7e2cdb125a7 3 | timeCreated: 1476424680 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/ProbComponent.cs: -------------------------------------------------------------------------------- 1 | using TESUnity.ESM; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class ProbComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | var PROB = (PROBRecord)record; 10 | //objData.icon = TESUnity.instance.Engine.textureManager.LoadTexture(WPDT.ITEX.value, "icons"); 11 | objData.name = PROB.FNAM.value; 12 | objData.weight = PROB.PBDT.weight.ToString(); 13 | objData.value = PROB.PBDT.value.ToString(); 14 | objData.interactionPrefix = "Take "; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/ProbComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe5833dfd7cad09429160976e41f8129 3 | timeCreated: 1476121427 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/RepaireComponent.cs: -------------------------------------------------------------------------------- 1 | using TESUnity.ESM; 2 | 3 | namespace TESUnity.Components.Records 4 | { 5 | public class RepaireComponent : GenericObjectComponent 6 | { 7 | void Start() 8 | { 9 | var REPA = (REPARecord)record; 10 | //objData.icon = TESUnity.instance.Engine.textureManager.LoadTexture(WPDT.ITEX.value, "icons"); 11 | objData.name = REPA.FNAM.value; 12 | objData.weight = REPA.RIDT.weight.ToString(); 13 | objData.value = REPA.RIDT.value.ToString(); 14 | objData.interactionPrefix = "Take "; 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/RepaireComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 822d06b3866cc6b4cbe47e93e9b6b84c 3 | timeCreated: 1476121427 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/Records/WeaponComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c5fc1c7af59a10d41be75f95226c3370 3 | timeCreated: 1476081574 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/VR.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 16d6bf4c1e8ac9f438a7166fe51ebeb0 3 | folderAsset: yes 4 | timeCreated: 1478260222 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/VR/OculusHand.cs: -------------------------------------------------------------------------------- 1 | #if OCULUS 2 | using UnityEngine; 3 | 4 | namespace TESUnity.Components.VR 5 | { 6 | public class OculusHand : MonoBehaviour 7 | { 8 | private Transform _transform = null; 9 | 10 | public OVRInput.Controller TouchID { get; set; } 11 | 12 | void Start() 13 | { 14 | _transform = GetComponent(); 15 | 16 | // Add Input Binding 17 | 18 | // TODO: Wait for Oculus Avatar to display hands. 19 | } 20 | 21 | void Update() 22 | { 23 | _transform.localPosition = OVRInput.GetLocalControllerPosition(TouchID); 24 | _transform.localRotation = OVRInput.GetLocalControllerRotation(TouchID); 25 | } 26 | } 27 | } 28 | #endif -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/VR/OculusHand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5cee5b9503805344baee4ebaaab33767 3 | timeCreated: 1479387438 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/VR/PlayerVRComponent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9afa197464882e469ecd9df334acd76 3 | timeCreated: 1476959286 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Components/VR/VRGazeUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0be9a3cc83314904e8580394a9e15c0e 3 | timeCreated: 1478260222 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Convert.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace TESUnity 4 | { 5 | public static class Convert 6 | { 7 | public const int yardInMWUnits = 64; 8 | public const float meterInYards = 1.09361f; 9 | public const float meterInMWUnits = meterInYards * yardInMWUnits; 10 | 11 | public const int exteriorCellSideLengthInMWUnits = 8192; 12 | public const float exteriorCellSideLengthInMeters = (float)exteriorCellSideLengthInMWUnits / meterInMWUnits; 13 | 14 | public static Quaternion RotationMatrixToQuaternion(Matrix4x4 matrix) 15 | { 16 | return Quaternion.LookRotation(matrix.GetColumn(2), matrix.GetColumn(1)); 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Convert.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9af1a871dc3e8df4a97ba2be742f5b5a 3 | timeCreated: 1463008305 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/ESM.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df63a8ab994ef1a499b785c3922a0cb2 3 | folderAsset: yes 4 | timeCreated: 1505017520 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/ESM/ESMFile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2e5f335e5d3c34b4b8d0718898f186a1 3 | timeCreated: 1461620232 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/ESM/Records.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7184834f6fce64047a2f761b9dc86f3a 3 | timeCreated: 1475836989 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Effects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb891dc142e571e4d8a32fd003287e5e 3 | folderAsset: yes 4 | timeCreated: 1475669637 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Effects/LightAnim.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | using System.Collections.Generic; 4 | 5 | namespace TESUnity 6 | { 7 | public enum LightAnimMode { None, Flicker, FlickerSlow, Pulse, PulseSlow, Fire }//None is included as courtesy 8 | public class LightAnim : MonoBehaviour 9 | { 10 | public LightAnimMode mode = LightAnimMode.None; 11 | new Light light; 12 | float baseIntensity = 1f; 13 | 14 | void Start () 15 | { 16 | //Debug.Log("Animated Light Created: " + mode); 17 | light = GetComponent(); 18 | baseIntensity = light.intensity; 19 | } 20 | 21 | void Update () 22 | { 23 | float value = 1f; 24 | switch (mode) 25 | { 26 | case LightAnimMode.None: 27 | break; 28 | case LightAnimMode.Flicker: 29 | value = Mathf.Round(Mathf.Clamp01(Random.value + 0.1f)); 30 | break; 31 | case LightAnimMode.FlickerSlow: 32 | value = Mathf.Round(Mathf.Clamp01(Random.value + 0.47f)); 33 | break; 34 | case LightAnimMode.Pulse: 35 | value = Mathf.Sin(Time.time) * 0.5f + 0.5f; 36 | break; 37 | case LightAnimMode.PulseSlow: 38 | value = Mathf.Sin(Time.time * 0.5f) * 0.5f + 0.5f; 39 | break; 40 | case LightAnimMode.Fire: 41 | value = Mathf.PerlinNoise(Time.time * 0.8f , transform.position.x+transform.position.z * 7.9253618f); 42 | value = 1f - value; 43 | value = value * value * value; 44 | value = 1f - value; 45 | break; 46 | } 47 | light.intensity = Mathf.Lerp(0.2f * baseIntensity , baseIntensity , value); 48 | } 49 | } 50 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Effects/LightAnim.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4a49906d693a37045bedfc519546cce8 3 | timeCreated: 1465069851 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Effects/UnderwaterEffect.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace TESUnity.Effects 4 | { 5 | public sealed class UnderwaterEffect : MonoBehaviour 6 | { 7 | private bool _defaultFog; 8 | private Color _defaultFogColor; 9 | private float _defaultFogDensity; 10 | private Material _defaultSkybox = null; 11 | private bool _isUnderwater = false; 12 | private Transform _transform = null; 13 | 14 | [SerializeField] 15 | private float underwaterLevel = 0.0f; 16 | [SerializeField] 17 | private Color ambientColor = Color.white; 18 | [SerializeField] 19 | private Color fogColor = new Color(0, 0.4f, 0.7f, 0.6f); 20 | [SerializeField] 21 | private float fogDensity = 0.04f; 22 | 23 | public float Level 24 | { 25 | get { return underwaterLevel; } 26 | set { underwaterLevel = value; } 27 | } 28 | 29 | void Start() 30 | { 31 | _defaultFog = RenderSettings.fog; 32 | _defaultFogColor = RenderSettings.fogColor; 33 | _defaultFogDensity = RenderSettings.fogDensity; 34 | _defaultSkybox = RenderSettings.skybox; 35 | _transform = GetComponent(); 36 | } 37 | 38 | void Update() 39 | { 40 | if (_transform.position.y < underwaterLevel && !_isUnderwater) 41 | SetEffectEnabled(true); 42 | else if (_transform.position.y > underwaterLevel && _isUnderwater) 43 | SetEffectEnabled(false); 44 | } 45 | 46 | public void SetEffectEnabled(bool enabled) 47 | { 48 | _isUnderwater = enabled; 49 | RenderSettings.fog = enabled; 50 | RenderSettings.fogColor = enabled ? fogColor : _defaultFogColor; 51 | RenderSettings.fogDensity = enabled ? fogDensity : _defaultFogDensity; 52 | RenderSettings.skybox = enabled ? null : _defaultSkybox; 53 | } 54 | } 55 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Effects/UnderwaterEffect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb1b459650c67b649b95d456bd502958 3 | timeCreated: 1475669647 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/GameSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d515562c5ed57e7438f8e45527b979b4 3 | timeCreated: 1478178893 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/MaterialManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d550d3ae4b82d0d49aa6f74dba337028 3 | timeCreated: 1475492624 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa2a521dd8302f54c9ae3279c73c10d3 3 | folderAsset: yes 4 | timeCreated: 1475492624 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Materials/MWBaseMaterial.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | using UnityEngine.Rendering; 4 | 5 | namespace TESUnity 6 | { 7 | /// 8 | /// An abstract class to describe a material. 9 | /// 10 | public abstract class MWBaseMaterial 11 | { 12 | protected Dictionary m_existingMaterials; 13 | protected TextureManager m_textureManager; 14 | 15 | public MWBaseMaterial(TextureManager textureManager) 16 | { 17 | m_textureManager = textureManager; 18 | m_existingMaterials = new Dictionary(); 19 | } 20 | 21 | public abstract Material BuildMaterialFromProperties(MWMaterialProps mp); 22 | public abstract Material BuildMaterial(); 23 | public abstract Material BuildMaterialBlended(BlendMode sourceBlendMode, BlendMode destinationBlendMode); 24 | public abstract Material BuildMaterialTested(float cutoff = 0.5f); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Materials/MWBaseMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a9aa721d27562d46a4f75259e27f033 3 | timeCreated: 1475492624 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Materials/MWBumpedDiffuseMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f45e98f2297c93f4c8ea3c05bffa86be 3 | timeCreated: 1475492624 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Materials/MWDefaultMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec4d072728a80eb47bf9b99d4902a805 3 | timeCreated: 1475492624 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Materials/MWStandardMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98f444a3782e69244a9c13f55a14566d 3 | timeCreated: 1475492624 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/Materials/MWUnlitMaterial.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using ur = UnityEngine.Rendering; 3 | 4 | namespace TESUnity 5 | { 6 | /// 7 | /// A material that uses the Unlit Shader. 8 | /// 9 | public class MWUnliteMaterial : MWBaseMaterial 10 | { 11 | public MWUnliteMaterial(TextureManager textureManager) : base(textureManager) { } 12 | 13 | public override Material BuildMaterialFromProperties(MWMaterialProps mp) 14 | { 15 | Material material; 16 | 17 | //check if the material is already cached 18 | if (!m_existingMaterials.TryGetValue(mp, out material)) 19 | { 20 | //otherwise create a new material and cache it 21 | if (mp.alphaBlended) 22 | material = BuildMaterialBlended(mp.srcBlendMode, mp.dstBlendMode); 23 | else if (mp.alphaTest) 24 | material = BuildMaterialTested(mp.alphaCutoff); 25 | else 26 | material = BuildMaterial(); 27 | 28 | if (mp.textures.mainFilePath != null) 29 | material.mainTexture = m_textureManager.LoadTexture(mp.textures.mainFilePath); 30 | 31 | m_existingMaterials[mp] = material; 32 | } 33 | return material; 34 | } 35 | 36 | public override Material BuildMaterial() 37 | { 38 | return new Material(Shader.Find("Unlit/Texture")); 39 | } 40 | 41 | public override Material BuildMaterialBlended(ur.BlendMode sourceBlendMode, ur.BlendMode destinationBlendMode) 42 | { 43 | var material = BuildMaterialTested(); 44 | material.SetInt("_SrcBlend", (int)sourceBlendMode); 45 | material.SetInt("_DstBlend", (int)destinationBlendMode); 46 | return material; 47 | } 48 | 49 | public override Material BuildMaterialTested(float cutoff = 0.5f) 50 | { 51 | Material material = new Material(Shader.Find("Unlit/Transparent Cutout")); 52 | material.SetFloat("_AlphaCutoff", cutoff); 53 | return material; 54 | } 55 | } 56 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/Materials/MWUnlitMaterial.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88748d05cb69abd4894d5db3d5edd33d 3 | timeCreated: 1475493999 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/MorrowindDataReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7cf9fad84b70e03468099cef8cb59a91 3 | timeCreated: 1462391394 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/MorrowindEngine.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb6885d49240dc24e8a4c264d91533e0 3 | timeCreated: 1463714811 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/NIF.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87c1d75a87f21204ba26a9c81df55a3f 3 | folderAsset: yes 4 | timeCreated: 1505017520 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/NIF/NIFManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c97638808ba3c184a8534af2b5a350ae 3 | timeCreated: 1505017520 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/NIF/NIFObjectBuilder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 64c006d03f5656147b27acf1e24e572b 3 | timeCreated: 1505017520 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/NIF/NIFParserGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1997da79ed1b0854bb8a951c48465006 3 | timeCreated: 1505017520 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/NIF/NIFReader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df9079d9523000945bffebdf613bff53 3 | timeCreated: 1505017520 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/NIF/NIFUtils.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace TESUnity 6 | { 7 | public static class NIFUtils 8 | { 9 | public static Vector3 NifVectorToUnityVector(Vector3 NIFVector) 10 | { 11 | Utils.Swap(ref NIFVector.y, ref NIFVector.z); 12 | 13 | return NIFVector; 14 | } 15 | public static Vector3 NifPointToUnityPoint(Vector3 NIFPoint) 16 | { 17 | return NifVectorToUnityVector(NIFPoint) / Convert.meterInMWUnits; 18 | } 19 | public static Matrix4x4 NifRotationMatrixToUnityRotationMatrix(Matrix4x4 NIFRotationMatrix) 20 | { 21 | Matrix4x4 matrix = new Matrix4x4(); 22 | matrix.m00 = NIFRotationMatrix.m00; 23 | matrix.m01 = NIFRotationMatrix.m02; 24 | matrix.m02 = NIFRotationMatrix.m01; 25 | matrix.m03 = 0; 26 | matrix.m10 = NIFRotationMatrix.m20; 27 | matrix.m11 = NIFRotationMatrix.m22; 28 | matrix.m12 = NIFRotationMatrix.m21; 29 | matrix.m13 = 0; 30 | matrix.m20 = NIFRotationMatrix.m10; 31 | matrix.m21 = NIFRotationMatrix.m12; 32 | matrix.m22 = NIFRotationMatrix.m11; 33 | matrix.m23 = 0; 34 | matrix.m30 = 0; 35 | matrix.m31 = 0; 36 | matrix.m32 = 0; 37 | matrix.m33 = 1; 38 | 39 | return matrix; 40 | } 41 | public static Quaternion NifRotationMatrixToUnityQuaternion(Matrix4x4 NIFRotationMatrix) 42 | { 43 | return Convert.RotationMatrixToQuaternion(NifRotationMatrixToUnityRotationMatrix(NIFRotationMatrix)); 44 | } 45 | public static Quaternion NifEulerAnglesToUnityQuaternion(Vector3 NifEulerAngles) 46 | { 47 | var eulerAngles = NifVectorToUnityVector(NifEulerAngles); 48 | 49 | var xRot = Quaternion.AngleAxis(Mathf.Rad2Deg * eulerAngles.x, Vector3.right); 50 | var yRot = Quaternion.AngleAxis(Mathf.Rad2Deg * eulerAngles.y, Vector3.up); 51 | var zRot = Quaternion.AngleAxis(Mathf.Rad2Deg * eulerAngles.z, Vector3.forward); 52 | 53 | return xRot * zRot * yRot; 54 | } 55 | } 56 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/NIF/NIFUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93ab7678c98245d4da3f4dcbc67f8450 3 | timeCreated: 1505017520 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/TESUnity.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f45c2eae24c43174a92eeaa8e8613dd6 3 | timeCreated: 1461523893 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/TextureManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 70e941dc06992be45823c4bf2e57d9ef 3 | timeCreated: 1464456263 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/UI.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4cfd29ea406f45d488bf7391d3740126 3 | folderAsset: yes 4 | timeCreated: 1476017031 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/UI/UIBook.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bac47b9f84e3d974e80fc296fc674999 3 | timeCreated: 1476079145 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/UI/UICrosshair.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEngine.UI; 3 | 4 | namespace TESUnity.UI 5 | { 6 | [RequireComponent(typeof(Image))] 7 | public class UICrosshair : MonoBehaviour 8 | { 9 | private Image _crosshair = null; 10 | 11 | public bool Enabled 12 | { 13 | get { return _crosshair.enabled; } 14 | set { _crosshair.enabled = value; } 15 | } 16 | 17 | void Start() 18 | { 19 | var textureManager = TESUnity.instance.TextureManager; 20 | var crosshairTexture = textureManager.LoadTexture("target", true); 21 | _crosshair = GetComponent(); 22 | _crosshair.sprite = GUIUtils.CreateSprite(crosshairTexture); 23 | } 24 | 25 | public void SetActive(bool active) 26 | { 27 | gameObject.SetActive(active); 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/UI/UICrosshair.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 538e06f691a3eb245a87164fee88a92c 3 | timeCreated: 1476959286 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/UI/UIInteractiveText.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | using UnityEngine.UI; 4 | 5 | namespace TESUnity.UI 6 | { 7 | public class UIInteractiveText : MonoBehaviour 8 | { 9 | private const int WidgetWidth = 200; 10 | private const int WidgetHeight = 100; 11 | 12 | private bool _opened; 13 | 14 | [SerializeField] 15 | private GameObject _container = null; 16 | [SerializeField] 17 | private Image _icon = null; 18 | [SerializeField] 19 | private Text _title = null; 20 | 21 | [SerializeField] 22 | private GameObject _inventoryInfos = null; 23 | [SerializeField] 24 | private Text _weight = null; 25 | [SerializeField] 26 | private Text _value = null; 27 | 28 | void Start() 29 | { 30 | _opened = false; 31 | _container.SetActive(false); 32 | } 33 | 34 | public void Show(Sprite icon, string prefixTitle, string title, string weight, string value) 35 | { 36 | _icon.enabled = icon != null; 37 | if (_icon.enabled) 38 | _icon.sprite = icon; 39 | 40 | _title.text = string.IsNullOrEmpty(prefixTitle) ? title : prefixTitle + title; 41 | 42 | var showInventoryInfos = !string.IsNullOrEmpty(weight) && !string.IsNullOrEmpty(value); 43 | 44 | _inventoryInfos.SetActive(showInventoryInfos); 45 | _container.GetComponent().SetSizeWithCurrentAnchors(RectTransform.Axis.Vertical, showInventoryInfos ? WidgetHeight : WidgetHeight / 2.0f); 46 | 47 | if (showInventoryInfos) 48 | { 49 | _weight.text = "Weight: " + weight; 50 | _value.text = "Value: " + value; 51 | } 52 | 53 | _container.SetActive(true); 54 | _opened = true; 55 | } 56 | 57 | public void Close() 58 | { 59 | if (_opened) 60 | { 61 | _container.SetActive(false); 62 | _opened = false; 63 | } 64 | } 65 | } 66 | } -------------------------------------------------------------------------------- /Assets/Scripts/TES/UI/UIInteractiveText.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edbaf40d891757c449a7d199e03a4f14 3 | timeCreated: 1476017031 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/UI/UIManager.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace TESUnity.UI 4 | { 5 | [RequireComponent(typeof(Canvas))] 6 | public class UIManager : MonoBehaviour 7 | { 8 | private Canvas _canvas = null; 9 | private Transform _hudTransform = null; 10 | private Transform _uiTransform = null; 11 | 12 | [Header("HUD Elements")] 13 | [SerializeField] 14 | private UICrosshair _crosshair = null; 15 | [SerializeField] 16 | private UIInteractiveText _interactiveText = null; 17 | 18 | [Header("UI Elements")] 19 | [SerializeField] 20 | private UIBook _book = null; 21 | [SerializeField] 22 | private UIScroll _scroll = null; 23 | 24 | #region Public Fields 25 | 26 | public UIBook Book 27 | { 28 | get { return _book; } 29 | } 30 | 31 | public UIInteractiveText InteractiveText 32 | { 33 | get { return _interactiveText; } 34 | } 35 | 36 | public UIScroll Scroll 37 | { 38 | get { return _scroll; } 39 | } 40 | 41 | public UICrosshair Crosshair 42 | { 43 | get { return _crosshair; } 44 | } 45 | 46 | public Transform HUD 47 | { 48 | get { return _hudTransform; } 49 | } 50 | 51 | public Transform UI 52 | { 53 | get { return _uiTransform; } 54 | } 55 | 56 | public bool Visible 57 | { 58 | get { return _canvas.enabled; } 59 | set { _canvas.enabled = value; } 60 | } 61 | 62 | public bool Active 63 | { 64 | get { return _hudTransform.gameObject.activeSelf; } 65 | set 66 | { 67 | _hudTransform.gameObject.SetActive(value); 68 | _uiTransform.gameObject.SetActive(value); 69 | } 70 | } 71 | 72 | #endregion 73 | 74 | void Awake() 75 | { 76 | _canvas = GetComponent(); 77 | _hudTransform = transform.Find("HUD"); 78 | _uiTransform = transform.Find("UI"); 79 | } 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/UI/UIManager.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 574de57989583a44990fe937a48d5353 3 | timeCreated: 1478279134 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Scripts/TES/UI/UIScroll.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ce3d5180db7d3a4e8b3bd844c434045 3 | timeCreated: 1476187903 4 | licenseType: Free 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b509b1615ce217e439430f5d9c90d2af 3 | folderAsset: yes 4 | timeCreated: 1464996897 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/MWCG.cginc: -------------------------------------------------------------------------------- 1 | // Upgrade NOTE: replaced '_Object2World' with 'unity_ObjectToWorld' 2 | // Upgrade NOTE: replaced '_World2Object' with 'unity_WorldToObject' 3 | 4 | 5 | half4 _Color; 6 | sampler2D _MainTex; 7 | sampler2D _DetailTex; 8 | sampler2D _DarkTex;//occlusion? 9 | sampler2D _GlossTex; 10 | sampler2D _GlowTex; 11 | half _Metallic; 12 | 13 | struct Input 14 | { 15 | float2 uv_MainTex; 16 | float2 uv_DetailTex; 17 | float2 uv_DarkTex; 18 | float2 uv_GlowTex; 19 | float2 uv_GlossTex; 20 | }; 21 | 22 | 23 | 24 | void vertwavy(inout appdata_full v) 25 | { 26 | float3 wpos = mul(unity_ObjectToWorld, float4(v.vertex.xyz, 1.0)).xyz; 27 | float3 wnor = mul(unity_ObjectToWorld, float4(v.normal.xyz, 0.0)).xyz; 28 | wpos.xz += wnor.xz * sin(_Time.y - wpos.y) * 0.1; 29 | v.vertex.xyz = mul(unity_WorldToObject, float4(wpos.xyz, 1.0)).xyz; 30 | } 31 | 32 | 33 | 34 | 35 | half4 ReadDiffuse(Input i) 36 | { 37 | half4 res = 1.0; 38 | res *= tex2D(_MainTex, i.uv_MainTex); 39 | res *= tex2D(_DetailTex, i.uv_DetailTex); 40 | res *= _Color; 41 | return res; 42 | } 43 | 44 | half ReadDark(Input i) 45 | { 46 | return Luminance(tex2D(_DarkTex, i.uv_DarkTex).rgb); 47 | } 48 | 49 | half ReadGloss(Input i) 50 | { 51 | return Luminance(tex2D(_GlossTex, i.uv_GlossTex).rgb); 52 | } 53 | 54 | half4 ReadGlow(Input i) 55 | { 56 | return tex2D(_GlowTex, i.uv_GlowTex); 57 | } 58 | -------------------------------------------------------------------------------- /Assets/Shaders/MWCG.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b82c9129f123d5548a26cb346098ceab 3 | timeCreated: 1465098887 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/MW_Standard.shader: -------------------------------------------------------------------------------- 1 | Shader "TES Unity/Standard" 2 | { 3 | Properties 4 | { 5 | _Color ("Color", Color) = (1,1,1,1) 6 | _MainTex("Main Texture", 2D) = "white" {} 7 | _DetailTex("Detail Texture", 2D) = "white" {} 8 | _DarkTex("Occlusion Texture", 2D) = "white" {} 9 | _GlossTex("Gloss Texture", 2D) = "black" {} 10 | _GlowTex ("Glow Texture", 2D) = "black" {} 11 | _Metallic("Metallic", Range(0,1)) = 0.0 12 | } 13 | SubShader 14 | { 15 | Tags { "RenderType"="Opaque" "Queue"="Geometry"} 16 | ZWrite On 17 | 18 | CGPROGRAM 19 | #pragma surface surf Standard fullforwardshadows 20 | #pragma target 3.0 21 | #include "MWCG.cginc" 22 | 23 | void surf (Input i, inout SurfaceOutputStandard o) 24 | { 25 | half4 diff = ReadDiffuse(i); 26 | o.Albedo = diff.rgb; 27 | o.Emission = ReadGlow(i).rgb; 28 | o.Occlusion = ReadDark(i); 29 | //o.Smoothness = ReadGloss(i); 30 | o.Metallic = _Metallic; 31 | o.Alpha = diff.a; 32 | } 33 | ENDCG 34 | } 35 | FallBack "Diffuse" 36 | } -------------------------------------------------------------------------------- /Assets/Shaders/MW_Standard.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8a452ce45b34dab448b9a3c05ba46fc8 3 | timeCreated: 1464951592 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/MW_Standard_Blended.shader: -------------------------------------------------------------------------------- 1 | Shader "TES Unity/Alpha Blended" 2 | { 3 | Properties 4 | { 5 | _Color("Color", Color) = (1,1,1,1) 6 | _MainTex("Main Texture", 2D) = "white" {} 7 | _DetailTex("Detail Texture", 2D) = "white" {} 8 | _DarkTex("Occlusion Texture", 2D) = "white" {} 9 | _GlossTex("Gloss Texture", 2D) = "black" {} 10 | _GlowTex("Glow Texture", 2D) = "black" {} 11 | _Metallic("Metallic", Range(0,1)) = 0.0 12 | 13 | [HideInInspector] _SrcBlend("__src", Float) = 1.0 14 | [HideInInspector] _DstBlend("__dst", Float) = 0.0 15 | [HideInInspector]_Cutoff("cutoff", Float) = 0.5 16 | } 17 | SubShader 18 | { 19 | Tags { "RenderType" = "Transparent" "Queue" = "Transparent" } 20 | Blend[_SrcBlend][_DstBlend] 21 | ZWrite Off 22 | 23 | CGPROGRAM 24 | #pragma surface surf Standard alpha:fade 25 | #pragma target 3.0 26 | #include "MWCG.cginc" 27 | 28 | fixed _Cutoff; 29 | 30 | void surf (Input i, inout SurfaceOutputStandard o) 31 | { 32 | half4 diff = ReadDiffuse(i); 33 | o.Albedo = diff.rgb; 34 | o.Emission = ReadGlow(i).rgb; 35 | o.Occlusion = ReadDark(i); 36 | o.Smoothness = ReadGloss(i); 37 | o.Metallic = _Metallic; 38 | o.Alpha = diff.a; 39 | } 40 | ENDCG 41 | } 42 | FallBack "Transparent/Cutout/Diffuse" 43 | } -------------------------------------------------------------------------------- /Assets/Shaders/MW_Standard_Blended.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 21b5a8a25beba9448b0888b62a81262d 3 | timeCreated: 1464952492 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Shaders/MW_Standard_Tested.shader: -------------------------------------------------------------------------------- 1 | Shader "TES Unity/Alpha Tested" 2 | { 3 | Properties 4 | { 5 | _Color("Color", Color) = (1,1,1,1) 6 | _MainTex("Main Texture", 2D) = "white" {} 7 | _DetailTex("Detail Texture", 2D) = "white" {} 8 | _DarkTex("Occlusion Texture", 2D) = "white" {} 9 | _GlossTex("Gloss Texture", 2D) = "black" {} 10 | _GlowTex("Glow Texture", 2D) = "black" {} 11 | _Metallic("Metallic", Range(0,1)) = 0.0 12 | 13 | [HideInInspector]_Cutoff("cutoff", Float) = 0.5 14 | } 15 | SubShader 16 | { 17 | Tags { "RenderType"="TransparentCutout" "Queue"="AlphaTest" } 18 | Blend SrcAlpha OneMinusSrcAlpha 19 | ZWrite On 20 | 21 | CGPROGRAM 22 | #pragma surface surf Standard fullforwardshadows alpha 23 | #pragma target 3.0 24 | #include "MWCG.cginc" 25 | 26 | fixed _Cutoff; 27 | 28 | void surf (Input i, inout SurfaceOutputStandard o) 29 | { 30 | half4 diff = ReadDiffuse(i); 31 | 32 | if (diff.a < _Cutoff) discard; 33 | 34 | o.Albedo = diff.rgb; 35 | o.Emission = ReadGlow(i).rgb; 36 | o.Occlusion = ReadDark(i); 37 | o.Smoothness = ReadGloss(i); 38 | o.Metallic = _Metallic; 39 | o.Alpha = diff.a; 40 | } 41 | ENDCG 42 | } 43 | FallBack "Transparent/Cutout/Diffuse" 44 | } -------------------------------------------------------------------------------- /Assets/Shaders/MW_Standard_Tested.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b4423db847ccaf94998802192ac9542b 3 | timeCreated: 1464960081 4 | licenseType: Free 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a4cee6aca148c3e418e9a5279aa02fa9 3 | folderAsset: yes 4 | timeCreated: 1475412360 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Textures/AppBanner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Textures/AppBanner.png -------------------------------------------------------------------------------- /Assets/Textures/AppBanner.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 811646d4e9ce6b94d86f4f10fa0b5d79 3 | timeCreated: 1475412373 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: 0 51 | buildTargetSettings: 52 | - buildTarget: Standalone 53 | maxTextureSize: 2048 54 | textureFormat: -3 55 | compressionQuality: 50 56 | allowsAlphaSplitting: 0 57 | spriteSheet: 58 | serializedVersion: 2 59 | sprites: [] 60 | outline: [] 61 | spritePackingTag: 62 | userData: 63 | assetBundleName: 64 | assetBundleVariant: 65 | -------------------------------------------------------------------------------- /Assets/Textures/AppIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Textures/AppIcon.png -------------------------------------------------------------------------------- /Assets/Textures/AppIcon.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa289c60f7cd0fd4390d5684283f8f4a 3 | timeCreated: 1475412360 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | spriteTessellationDetail: -1 50 | textureType: 0 51 | buildTargetSettings: 52 | - buildTarget: Standalone 53 | maxTextureSize: 2048 54 | textureFormat: -3 55 | compressionQuality: 50 56 | allowsAlphaSplitting: 0 57 | spriteSheet: 58 | serializedVersion: 2 59 | sprites: [] 60 | outline: [] 61 | spritePackingTag: 62 | userData: 63 | assetBundleName: 64 | assetBundleVariant: 65 | -------------------------------------------------------------------------------- /Assets/Textures/Book_PlaceHolder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Textures/Book_PlaceHolder.png -------------------------------------------------------------------------------- /Assets/Textures/Book_PlaceHolder.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93244a7a5e964ee418682c9c835c50a7 3 | timeCreated: 1476164217 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 8 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Textures/Scroll_Placeholder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Textures/Scroll_Placeholder.png -------------------------------------------------------------------------------- /Assets/Textures/Scroll_Placeholder.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 54974567bca67d34f9ca76be57fe9459 3 | timeCreated: 1476272195 4 | licenseType: Free 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 8 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /Assets/Textures/TESFonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b24bdb090e547d0469d8ea5ff8712d1e 3 | folderAsset: yes 4 | timeCreated: 1476268240 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/Kingthings Exeter.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Textures/TESFonts/Kingthings Exeter.ttf -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/Kingthings Exeter.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b36fd84c78cb2c34a898027547a00378 3 | TrueTypeFontImporter: 4 | serializedVersion: 2 5 | fontSize: 16 6 | forceTextureCase: -2 7 | characterSpacing: 1 8 | characterPadding: 0 9 | includeFontData: 1 10 | use2xBehaviour: 0 11 | fontNames: [] 12 | customCharacters: 13 | fontRenderingMode: 0 14 | userData: 15 | -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/Kingthings Petrock light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Textures/TESFonts/Kingthings Petrock light.ttf -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/Kingthings Petrock light.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58619f879fd4b6b4eafd50f12bdefd6f 3 | TrueTypeFontImporter: 4 | serializedVersion: 2 5 | fontSize: 16 6 | forceTextureCase: -2 7 | characterSpacing: 1 8 | characterPadding: 0 9 | includeFontData: 1 10 | use2xBehaviour: 0 11 | fontNames: [] 12 | customCharacters: 13 | fontRenderingMode: 0 14 | userData: 15 | -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/Kingthings Petrock.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Textures/TESFonts/Kingthings Petrock.ttf -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/Kingthings Petrock.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6bf5a37a181225488809a487565e7cc 3 | TrueTypeFontImporter: 4 | serializedVersion: 2 5 | fontSize: 16 6 | forceTextureCase: -2 7 | characterSpacing: 1 8 | characterPadding: 0 9 | includeFontData: 1 10 | use2xBehaviour: 0 11 | fontNames: [] 12 | customCharacters: 13 | fontRenderingMode: 0 14 | userData: 15 | -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/MorrisRomanBlack.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Textures/TESFonts/MorrisRomanBlack.ttf -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/MorrisRomanBlack.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05135310b88c825428cb22fbe57d574d 3 | TrueTypeFontImporter: 4 | serializedVersion: 2 5 | fontSize: 16 6 | forceTextureCase: -2 7 | characterSpacing: 1 8 | characterPadding: 0 9 | includeFontData: 1 10 | use2xBehaviour: 0 11 | fontNames: [] 12 | customCharacters: 13 | fontRenderingMode: 0 14 | userData: 15 | -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/MorrisRomanBlackAlt.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Textures/TESFonts/MorrisRomanBlackAlt.ttf -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/MorrisRomanBlackAlt.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04c8fd0278dfb124bbcfa49878fd257e 3 | TrueTypeFontImporter: 4 | serializedVersion: 2 5 | fontSize: 16 6 | forceTextureCase: -2 7 | characterSpacing: 1 8 | characterPadding: 0 9 | includeFontData: 1 10 | use2xBehaviour: 0 11 | fontNames: [] 12 | customCharacters: 13 | fontRenderingMode: 0 14 | userData: 15 | -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/Planewalker.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Textures/TESFonts/Planewalker.ttf -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/Planewalker.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22607200cdf6a8e45a9c8f3a1f651ff0 3 | TrueTypeFontImporter: 4 | serializedVersion: 2 5 | fontSize: 16 6 | forceTextureCase: -2 7 | characterSpacing: 1 8 | characterPadding: 0 9 | includeFontData: 1 10 | use2xBehaviour: 0 11 | fontNames: [] 12 | customCharacters: 13 | fontRenderingMode: 0 14 | userData: 15 | -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/Readme_TES_Fonts.txt: -------------------------------------------------------------------------------- 1 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 | TES Font Pack 3 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 | Version: v1.0 5 | Date: 11/18/2011 6 | Category: Font/Modder Resource 7 | Author: Various 8 | 9 | Description 10 | =========== 11 | Font pack for Elderscrolls or similar games. 12 | 13 | Includes the following fonts and type faces: 14 | Planewalker 15 | Oblivion 16 | Kingthings Petrock 17 | Kingthings Exeter 18 | Morris Roman 19 | 20 | Install 21 | ======= 22 | 1. Download. 23 | 2. Extract. Copy/Move the files to your %Windows\Fonts folder (where, % is usually C:\) or click install if you're a Win 7 user) 24 | 25 | Uninstall 26 | ========= 27 | 1. Delete the individual font files from your %Windows\Fonts folder 28 | 29 | Known Issues or Bugs 30 | ==================== 31 | Please report bugs to me at skyrimnexus.com or bethsoft.com forums. 32 | 33 | Contact 34 | ======= 35 | If you want to get a hold of me, I'm at the bethsoft forums as SPARTAN VI. 36 | 37 | 38 | 39 | Licensing/Legal 40 | =============== 41 | This is a modder's resource so you're absolutely encouraged to use these fonts in any way you like. 42 | You do not need to request permission from me or the font authors to use these fonts. 43 | -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/Readme_TES_Fonts.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2aac107335f2bc84582d6cbde1c0e042 3 | TextScriptImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/oblivion-font.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Textures/TESFonts/oblivion-font.ttf -------------------------------------------------------------------------------- /Assets/Textures/TESFonts/oblivion-font.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 027fd2eb8eb11174eb3dee5f867a8916 3 | TrueTypeFontImporter: 4 | serializedVersion: 2 5 | fontSize: 16 6 | forceTextureCase: -2 7 | characterSpacing: 1 8 | characterPadding: 0 9 | includeFontData: 1 10 | use2xBehaviour: 0 11 | fontNames: [] 12 | customCharacters: 13 | fontRenderingMode: 0 14 | userData: 15 | -------------------------------------------------------------------------------- /Assets/Vendors.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd4614dfa91e2be4e8ec06c4ac2e7058 3 | folderAsset: yes 4 | timeCreated: 1476873522 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/.gitignore: -------------------------------------------------------------------------------- 1 | # VR SDKs 2 | OSVRUnity* 3 | OVR* 4 | SteamVR* -------------------------------------------------------------------------------- /Assets/Vendors/README.md: -------------------------------------------------------------------------------- 1 | # Vendors 2 | 3 | This folder contains all external assets, libraries, SDKs, etc. For an obvious reason, some assets are not versionned. 4 | 5 | VR SDKs are the perfect example because they are often updated. 6 | 7 | ## Enable advanced VR support 8 | For now there are three SDKs : `Oculus`, `OSVR` and `SteamVR`. Enabling one of this SDKs allows you to enjoy extra. 9 | 10 | The first step is to copy the SDK you want in this folder. `OSVR` and `Oculus` comes with a `Plugins` folder, you have to copy it in the folder of its SDK. 11 | Doing this allows you to contribute to the project without pushing unecessary files. 12 | 13 | The second step is to open Unity, File / Build Settings / Player Settings and add one of the following preprocessors in the `Scripting Define Symbols` input box. 14 | 15 | * OSVR 16 | * OCULUS 17 | * STEAMVR 18 | 19 | It'll activate the SDK and all scripts who use this SDK. 20 | -------------------------------------------------------------------------------- /Assets/Vendors/README.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20878fb1b7cbfaa419ad4625b6dad068 3 | timeCreated: 1476873522 4 | licenseType: Free 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb743f01de0a62f4f8af3dd8e9e08f59 3 | folderAsset: yes 4 | timeCreated: 1462572413 5 | licenseType: Free 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0755a2659a5ae8641aad257bcb3ea630 3 | folderAsset: yes 4 | timeCreated: 1448959325 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AmbientOcclusion.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ed6d7947a564a4dd1987f60392be4349 3 | folderAsset: yes 4 | timeCreated: 1457326591 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AmbientOcclusion/AmbientOcclusion.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e89654dcf6db746d2a57aeaaa14f5e83 3 | timeCreated: 1457327177 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - _aoShader: {fileID: 4800000, guid: 65e203e5acda447acbf9dc1ef78c4a39, type: 3} 9 | - _quadMesh: {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} 10 | executionOrder: 0 11 | icon: {instanceID: 0} 12 | userData: 13 | assetBundleName: 14 | assetBundleVariant: 15 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AmbientOcclusion/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1589efc0706e448d9a0af709e2c99cc 3 | folderAsset: yes 4 | timeCreated: 1457326964 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AmbientOcclusion/Editor/AmbientOcclusionEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 05ea8e27ed8e74e67a9220b4f4119e51 3 | timeCreated: 1457327141 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AmbientOcclusion/Helpers.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d775599023574a39befabe47bdfddde 3 | folderAsset: yes 4 | timeCreated: 1457326936 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AmbientOcclusion/Helpers/PropertyObserver.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace UnityStandardAssets.CinematicEffects 4 | { 5 | public partial class AmbientOcclusion : MonoBehaviour 6 | { 7 | // Observer class that detects changes on properties 8 | struct PropertyObserver 9 | { 10 | // AO properties 11 | bool _downsampling; 12 | OcclusionSource _occlusionSource; 13 | bool _ambientOnly; 14 | bool _debug; 15 | 16 | // Camera properties 17 | int _pixelWidth; 18 | int _pixelHeight; 19 | 20 | // Check if it has to reset itself for property changes. 21 | public bool CheckNeedsReset(Settings setting, Camera camera) 22 | { 23 | return 24 | _downsampling != setting.downsampling || 25 | _occlusionSource != setting.occlusionSource || 26 | _ambientOnly != setting.ambientOnly || 27 | _debug != setting.debug || 28 | _pixelWidth != camera.pixelWidth || 29 | _pixelHeight != camera.pixelHeight; 30 | } 31 | 32 | // Update the internal state. 33 | public void Update(Settings setting, Camera camera) 34 | { 35 | _downsampling = setting.downsampling; 36 | _occlusionSource = setting.occlusionSource; 37 | _ambientOnly = setting.ambientOnly; 38 | _debug = setting.debug; 39 | _pixelWidth = camera.pixelWidth; 40 | _pixelHeight = camera.pixelHeight; 41 | } 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AmbientOcclusion/Helpers/PropertyObserver.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1d9548d9a173a40e4b758ecf6e4fed49 3 | timeCreated: 1457326885 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AmbientOcclusion/Helpers/Settings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e952a344c72354904a417d27abe6f55e 3 | timeCreated: 1457331804 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AmbientOcclusion/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae08100d29090452888e1b6a7b5a7170 3 | folderAsset: yes 4 | timeCreated: 1457326958 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AmbientOcclusion/Resources/AmbientOcclusion.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7bbc8f354c22e447dbd9deb502530d91 3 | timeCreated: 1463553768 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AmbientOcclusion/Resources/AmbientOcclusion.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65e203e5acda447acbf9dc1ef78c4a39 3 | timeCreated: 1457327141 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b15f777774297b4f91455d3353a0c40 3 | folderAsset: yes 4 | timeCreated: 1454589502 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/AntiAliasing.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fdc35e0180670ab4e8d2f9439137791f 3 | timeCreated: 1454589503 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 738f82ccf57b5974cb672f8032c72169 3 | folderAsset: yes 4 | timeCreated: 1454595975 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/Editor/AntiAliasingEditor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEditor; 3 | 4 | namespace UnityStandardAssets.CinematicEffects 5 | { 6 | [CustomEditor(typeof(AntiAliasing))] 7 | public class AntiAliasingEditor : Editor 8 | { 9 | private string[] methodNames = 10 | { 11 | "Subpixel Morphological Anti-aliasing", 12 | "Fast Approximate Anti-aliasing" 13 | }; 14 | 15 | private int m_SelectedMethod; 16 | 17 | private SMAAEditor m_SMAAEditor = new SMAAEditor(); 18 | private FXAAEditor m_FXAAEditor = new FXAAEditor(); 19 | 20 | IAntiAliasingEditor m_AntiAliasingEditor; 21 | 22 | private void OnEnable() 23 | { 24 | m_SMAAEditor.OnEnable(serializedObject, "m_SMAA"); 25 | m_FXAAEditor.OnEnable(serializedObject, "m_FXAA"); 26 | } 27 | 28 | public override void OnInspectorGUI() 29 | { 30 | var antiAliasingTarget = (AntiAliasing)target; 31 | 32 | m_SelectedMethod = antiAliasingTarget.method; 33 | 34 | EditorGUI.BeginChangeCheck(); 35 | m_SelectedMethod = EditorGUILayout.Popup("Method", m_SelectedMethod, methodNames); 36 | 37 | bool dirty = false; 38 | 39 | if (EditorGUI.EndChangeCheck()) 40 | { 41 | if (m_SelectedMethod < 0) 42 | m_SelectedMethod = 0; 43 | else if (m_SelectedMethod > 1) 44 | m_SelectedMethod = 1; 45 | 46 | antiAliasingTarget.method = m_SelectedMethod; 47 | dirty = true; 48 | } 49 | 50 | if (m_SelectedMethod == 0) 51 | m_AntiAliasingEditor = m_SMAAEditor; 52 | else 53 | m_AntiAliasingEditor = m_FXAAEditor; 54 | 55 | dirty |= m_AntiAliasingEditor.OnInspectorGUI(antiAliasingTarget.current); 56 | 57 | if (dirty) 58 | { 59 | EditorUtility.SetDirty(antiAliasingTarget); 60 | serializedObject.ApplyModifiedProperties(); 61 | } 62 | } 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/Editor/AntiAliasingEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6bd9375ab74a65448b556b0452e8c6af 3 | timeCreated: 1454593885 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/Editor/IAntiAliasingEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | 3 | namespace UnityStandardAssets.CinematicEffects 4 | { 5 | public interface IAntiAliasingEditor 6 | { 7 | void OnEnable(SerializedObject serializedObject, string path); 8 | bool OnInspectorGUI(IAntiAliasing target); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/Editor/IAntiAliasingEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 015ee83e537e9e4438f403e2149c69ae 3 | timeCreated: 1454595240 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/FXAA.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7629f5693f26f34448aa9c713d257e26 3 | folderAsset: yes 4 | timeCreated: 1453733554 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/FXAA/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 880813d23951c624d9d5c3e6d2a4e93c 3 | folderAsset: yes 4 | timeCreated: 1454331861 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/FXAA/Editor/FXAAEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | 3 | namespace UnityStandardAssets.CinematicEffects 4 | { 5 | public class FXAAEditor : IAntiAliasingEditor 6 | { 7 | private string[] presetNames = 8 | { 9 | "Extreme performance", 10 | "Performance", 11 | "Default", 12 | "Quality", 13 | "Extreme quality" 14 | }; 15 | 16 | 17 | public void OnEnable(SerializedObject serializedObject, string path) 18 | { 19 | } 20 | 21 | public bool OnInspectorGUI(IAntiAliasing target) 22 | { 23 | var fxaaTarget = (FXAA)target; 24 | 25 | if (!fxaaTarget.validSourceFormat) 26 | EditorGUILayout.HelpBox("FXAA should be used at the end of the post-processing stack after conversion to LDR (after Tonemapping) to maximize quality and avoid artifacts.", MessageType.Warning); 27 | 28 | int selectedPreset = 2; 29 | 30 | if (fxaaTarget.preset.Equals(FXAA.Preset.extremePerformancePreset)) 31 | selectedPreset = 0; 32 | else if (fxaaTarget.preset.Equals(FXAA.Preset.performancePreset)) 33 | selectedPreset = 1; 34 | else if (fxaaTarget.preset.Equals(FXAA.Preset.defaultPreset)) 35 | selectedPreset = 2; 36 | else if (fxaaTarget.preset.Equals(FXAA.Preset.qualityPreset)) 37 | selectedPreset = 3; 38 | else if (fxaaTarget.preset.Equals(FXAA.Preset.extremeQualityPreset)) 39 | selectedPreset = 4; 40 | 41 | EditorGUI.BeginChangeCheck(); 42 | selectedPreset = EditorGUILayout.Popup("Preset", selectedPreset, presetNames); 43 | 44 | if (EditorGUI.EndChangeCheck()) 45 | { 46 | if (selectedPreset < 0) 47 | selectedPreset = 0; 48 | else if (selectedPreset > 4) 49 | selectedPreset = 4; 50 | 51 | fxaaTarget.preset = FXAA.availablePresets[selectedPreset]; 52 | return true; 53 | } 54 | return false; 55 | } 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/FXAA/Editor/FXAAEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60bfb637c85e3e04ea76962349fee327 3 | timeCreated: 1454331861 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/FXAA/FXAA.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ca0fe85db4ef594fb0771b250c00e23 3 | timeCreated: 1453738651 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - shader: {fileID: 4800000, guid: 3eaaee164ee0fed4d9a0bbe8434805a6, type: 3} 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/FXAA/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f7cc4a9005f5f846957997471c28f2b 3 | folderAsset: yes 4 | timeCreated: 1455022968 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/FXAA/Resources/FXAA.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3eaaee164ee0fed4d9a0bbe8434805a6 3 | timeCreated: 1453736553 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/FXAA/Resources/FXAA3.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b44d2ca11a7157e4db9f1e02f5249f95 3 | timeCreated: 1453990603 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/IAntiAliasing.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace UnityStandardAssets.CinematicEffects 4 | { 5 | public interface IAntiAliasing 6 | { 7 | void OnEnable(AntiAliasing owner); 8 | void OnDisable(); 9 | void OnPreCull(Camera camera); 10 | void OnPostRender(Camera camera); 11 | void OnRenderImage(Camera camera, RenderTexture source, RenderTexture destination); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/IAntiAliasing.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90329fa7c7a616243a47de84e6e5c041 3 | timeCreated: 1454590083 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d958f8498dd28db459dc41b661331fc8 3 | folderAsset: yes 4 | timeCreated: 1446717353 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ab9eab0d04085b4abd47b6b0657143c 3 | folderAsset: yes 4 | timeCreated: 1430588699 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Editor/SMAAEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c2ffc06b5a6ee64d8e1d9bdf074732c 3 | timeCreated: 1430643832 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9362798305520c448b294dd314a7daff 3 | folderAsset: yes 4 | timeCreated: 1430505545 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Resources/AreaTex.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Resources/AreaTex.tga -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Resources/AreaTex.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e62aa7035ea66c94b90b2d8774d02cca 3 | timeCreated: 1432601000 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 1 33 | aniso: 0 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 2 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 5 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Resources/SMAA.cginc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Resources/SMAA.cginc -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Resources/SMAA.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74597699f47d8ae458dca68f79f1b21f 3 | timeCreated: 1430504573 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Resources/SMAA.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4505fec7a81214243b8e59edf89e3a53 3 | timeCreated: 1432603500 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Resources/SearchTex.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Resources/SearchTex.tga -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/Resources/SearchTex.tga.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 387ed7c38eb63554db846987adb98e68 3 | timeCreated: 1432601000 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 1 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: 1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 0 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 2 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 0 49 | textureType: 5 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/AntiAliasing/SMAA/SMAA.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c2502951f8f3e743917c441eba57d1c 3 | timeCreated: 1454511067 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - m_Shader: {fileID: 4800000, guid: 4505fec7a81214243b8e59edf89e3a53, type: 3} 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Bloom.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 193f90bb87f484c62ad73788d9cb2d44 3 | folderAsset: yes 4 | timeCreated: 1454052266 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Bloom/Bloom.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32187365ced0c42219cde2b57c99b323 3 | timeCreated: 1454052338 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - _shader: {fileID: 4800000, guid: e45d4f28262b04d10a075856ab5fdb5e, type: 3} 9 | executionOrder: 0 10 | icon: {instanceID: 0} 11 | userData: 12 | assetBundleName: 13 | assetBundleVariant: 14 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Bloom/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92a024b1f1430409eb656f65969aa3d5 3 | folderAsset: yes 4 | timeCreated: 1454052266 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Bloom/Editor/BloomEditor.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEditor; 5 | 6 | namespace UnityStandardAssets.CinematicEffects 7 | { 8 | [CanEditMultipleObjects] 9 | [CustomEditor(typeof(Bloom))] 10 | public class BloomEditor : Editor 11 | { 12 | [NonSerialized] 13 | private List m_Properties = new List(); 14 | 15 | BloomGraphDrawer _graph; 16 | 17 | bool CheckHdr(Bloom target) 18 | { 19 | var camera = target.GetComponent(); 20 | return camera != null && camera.hdr; 21 | } 22 | 23 | void OnEnable() 24 | { 25 | var settings = FieldFinder.GetField(x => x.settings); 26 | foreach (var setting in settings.FieldType.GetFields()) 27 | { 28 | var prop = settings.Name + "." + setting.Name; 29 | m_Properties.Add(serializedObject.FindProperty(prop)); 30 | } 31 | 32 | _graph = new BloomGraphDrawer(); 33 | } 34 | 35 | public override void OnInspectorGUI() 36 | { 37 | serializedObject.Update(); 38 | 39 | if (!serializedObject.isEditingMultipleObjects) 40 | { 41 | EditorGUILayout.Space(); 42 | var bloom = (Bloom)target; 43 | _graph.Prepare(bloom.settings, CheckHdr(bloom)); 44 | _graph.DrawGraph(); 45 | EditorGUILayout.Space(); 46 | } 47 | 48 | foreach (var property in m_Properties) 49 | EditorGUILayout.PropertyField(property); 50 | 51 | serializedObject.ApplyModifiedProperties(); 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Bloom/Editor/BloomEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38020a6029a85434a95a6f725a5aae5f 3 | timeCreated: 1454052266 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Bloom/Editor/BloomGraphDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2d62b6f4e4eb4c6783477b5d99abdff 3 | timeCreated: 1465439082 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Bloom/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4af3202dbe79e460e9be42bcb6509fe0 3 | folderAsset: yes 4 | timeCreated: 1454052266 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Bloom/Resources/Bloom.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 386a80fc77a074d2ca8e6f097dd68ea3 3 | timeCreated: 1463538726 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Bloom/Resources/Bloom.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e45d4f28262b04d10a075856ab5fdb5e 3 | timeCreated: 1454052270 4 | licenseType: Store 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88d2f1c604c7f6d4bb80a72b2f0219a7 3 | folderAsset: yes 4 | timeCreated: 1449044555 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e862ecde714eb154ca2d86a9a0809732 3 | folderAsset: yes 4 | timeCreated: 1453372226 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/Editor/EditorGUIHelper.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | using System; 4 | using System.Linq.Expressions; 5 | using System.Reflection; 6 | 7 | namespace UnityStandardAssets.CinematicEffects 8 | { 9 | public static class EditorGUIHelper 10 | { 11 | private static Styles s_Styles; 12 | private class Styles 13 | { 14 | public GUIStyle header = "ShurikenModuleTitle"; 15 | public GUIStyle headerCheckbox = "ShurikenCheckMark"; 16 | 17 | internal Styles() 18 | { 19 | header.font = (new GUIStyle("Label")).font; 20 | header.border = new RectOffset(15, 7, 4, 4); 21 | header.fixedHeight = 22; 22 | header.contentOffset = new Vector2(20f, -2f); 23 | } 24 | } 25 | 26 | static EditorGUIHelper() 27 | { 28 | s_Styles = new Styles(); 29 | } 30 | 31 | public static bool Header(SerializedProperty group, SerializedProperty enabledField) 32 | { 33 | var display = group == null || group.isExpanded; 34 | var enabled = enabledField != null && enabledField.boolValue; 35 | var title = group == null ? "Unknown Group" : ObjectNames.NicifyVariableName(group.displayName); 36 | 37 | Rect rect = GUILayoutUtility.GetRect(16f, 22f, s_Styles.header); 38 | GUI.Box(rect, title, s_Styles.header); 39 | 40 | Rect toggleRect = new Rect(rect.x + 4f, rect.y + 4f, 13f, 13f); 41 | if (Event.current.type == EventType.Repaint) 42 | s_Styles.headerCheckbox.Draw(toggleRect, false, false, enabled, false); 43 | 44 | Event e = Event.current; 45 | if (e.type == EventType.MouseDown) 46 | { 47 | if (toggleRect.Contains(e.mousePosition) && enabledField != null) 48 | { 49 | enabledField.boolValue = !enabledField.boolValue; 50 | e.Use(); 51 | } 52 | else if (rect.Contains(e.mousePosition) && group != null) 53 | { 54 | display = !display; 55 | group.isExpanded = !group.isExpanded; 56 | e.Use(); 57 | } 58 | } 59 | return display; 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/Editor/EditorGUIHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b995f06a3ed14d449823cf7ab1c5a58 3 | timeCreated: 1454681943 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/Editor/FieldFinder.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Linq.Expressions; 3 | using System.Reflection; 4 | 5 | namespace UnityStandardAssets.CinematicEffects 6 | { 7 | public static class FieldFinder 8 | { 9 | public static FieldInfo GetField(Expression> selector) 10 | { 11 | Expression body = selector; 12 | if (body is LambdaExpression) 13 | { 14 | body = ((LambdaExpression)body).Body; 15 | } 16 | switch (body.NodeType) 17 | { 18 | case ExpressionType.MemberAccess: 19 | return (FieldInfo)((MemberExpression)body).Member; 20 | default: 21 | throw new InvalidOperationException(); 22 | } 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/Editor/FieldFinder.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 39e54cb37a3a81a40b248f1cc25c4619 3 | timeCreated: 1454073160 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/Editor/MinDrawer.cs: -------------------------------------------------------------------------------- 1 | using UnityEditor; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.CinematicEffects 5 | { 6 | [CustomPropertyDrawer(typeof(MinAttribute))] 7 | internal sealed class MinDrawer : PropertyDrawer 8 | { 9 | public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) 10 | { 11 | MinAttribute attribute = (MinAttribute) base.attribute; 12 | 13 | if (property.propertyType == SerializedPropertyType.Integer) 14 | { 15 | int v = EditorGUI.IntField(position, label, property.intValue); 16 | property.intValue = (int)Mathf.Max(v, attribute.min); 17 | } 18 | else if (property.propertyType == SerializedPropertyType.Float) 19 | { 20 | float v = EditorGUI.FloatField(position, label, property.floatValue); 21 | property.floatValue = Mathf.Max(v, attribute.min); 22 | } 23 | else 24 | { 25 | EditorGUI.LabelField(position, label.text, "Use Min with float or int."); 26 | } 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/Editor/MinDrawer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9c615a85f13c6764fa4496d1d7f75f52 3 | timeCreated: 1453220014 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/ImageEffectHelper.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab6a3f50deeee984c88794eeeb901226 3 | timeCreated: 1448544124 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/MinAttribute.cs: -------------------------------------------------------------------------------- 1 | namespace UnityStandardAssets.CinematicEffects 2 | { 3 | using UnityEngine; 4 | 5 | public sealed class MinAttribute : PropertyAttribute 6 | { 7 | public readonly float min; 8 | 9 | public MinAttribute(float min) 10 | { 11 | this.min = min; 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/MinAttribute.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b07292ae638766047a6751da7552e566 3 | timeCreated: 1453220005 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/RenderTextureUtility.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.CinematicEffects 5 | { 6 | public class RenderTextureUtility 7 | { 8 | //Temporary render texture handling 9 | private List m_TemporaryRTs = new List(); 10 | 11 | public RenderTexture GetTemporaryRenderTexture(int width, int height, int depthBuffer = 0, RenderTextureFormat format = RenderTextureFormat.ARGBHalf, FilterMode filterMode = FilterMode.Bilinear) 12 | { 13 | var rt = RenderTexture.GetTemporary(width, height, depthBuffer, format); 14 | rt.filterMode = filterMode; 15 | rt.wrapMode = TextureWrapMode.Clamp; 16 | rt.name = "RenderTextureUtilityTempTexture"; 17 | m_TemporaryRTs.Add(rt); 18 | return rt; 19 | } 20 | 21 | public void ReleaseTemporaryRenderTexture(RenderTexture rt) 22 | { 23 | if (rt == null) 24 | return; 25 | 26 | if (!m_TemporaryRTs.Contains(rt)) 27 | { 28 | Debug.LogErrorFormat("Attempting to remove texture that was not allocated: {0}", rt); 29 | return; 30 | } 31 | 32 | m_TemporaryRTs.Remove(rt); 33 | RenderTexture.ReleaseTemporary(rt); 34 | } 35 | 36 | public void ReleaseAllTemporaryRenderTextures() 37 | { 38 | for (int i = 0; i < m_TemporaryRTs.Count; ++i) 39 | RenderTexture.ReleaseTemporary(m_TemporaryRTs[i]); 40 | 41 | m_TemporaryRTs.Clear(); 42 | } 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Effects/Common/RenderTextureUtility.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 054e694bae00c374a97c2bc495fca66b 3 | timeCreated: 1449148391 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ca8c4e270f964e0da9f731d7d34b123 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic).meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc7abfa0435174ded902b073322d67cc 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 706eadfad28bc4c1c9bb137b31052b14 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Materials/WaterBasicDaytime.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52b7d70b1de7c4ce09662b77c14d9fda 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Materials/WaterBasicNighttime.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c55afdc4a8a3b4890b07cc7d176510bb 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Materials/WaterDefault.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 3 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: WaterDefault 10 | m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 11 | m_ShaderKeywords: [] 12 | m_CustomRenderQueue: -1 13 | m_SavedProperties: 14 | serializedVersion: 2 15 | m_TexEnvs: 16 | data: 17 | first: 18 | name: _MainTex 19 | second: 20 | m_Texture: {fileID: 2800000, guid: c2ef94ff9d11915d1100a04b44295342, type: 3} 21 | m_Scale: {x: 1, y: 1} 22 | m_Offset: {x: 0, y: 0} 23 | m_Floats: {} 24 | m_Colors: 25 | data: 26 | first: 27 | name: _Color 28 | second: {r: .5, g: .5, b: .5, a: 1} 29 | --- !u!1002 &2100001 30 | EditorExtensionImpl: 31 | serializedVersion: 6 32 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Materials/WaterDefault.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 30abebfd9bf1c49d8a2d26e61e66bc15 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ca387966638baf478f257729f7d9ffd 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Models/WaterBasicPlane.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water (Basic)/Models/WaterBasicPlane.fbx -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Models/WaterBasicPlane.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce8d79c79d11b8f9d00076e98d76c639 3 | ModelImporter: 4 | serializedVersion: 18 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: pPlane1 11 | 4300002: nurbsToPoly1 12 | 4300004: pCylinder1 13 | 4300006: waterPlaneMesh 14 | 4300008: WaterBasicPlane 15 | 4300010: WaterSimplePlane 16 | 11100000: //RootNode 17 | materials: 18 | importMaterials: 0 19 | materialName: 1 20 | materialSearch: 2 21 | animations: 22 | legacyGenerateAnimations: 0 23 | bakeSimulation: 0 24 | optimizeGameObjects: 0 25 | motionNodeName: 26 | pivotNodeName: 27 | animationCompression: 1 28 | animationRotationError: .5 29 | animationPositionError: .5 30 | animationScaleError: .5 31 | animationWrapMode: 0 32 | extraExposedTransformPaths: [] 33 | clipAnimations: [] 34 | isReadable: 1 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | importBlendShapes: 1 41 | swapUVChannels: 0 42 | generateSecondaryUV: 0 43 | useFileUnits: 0 44 | optimizeMeshForGPU: 1 45 | weldVertices: 1 46 | secondaryUVAngleDistortion: 8 47 | secondaryUVAreaDistortion: 15 48 | secondaryUVHardAngle: 88 49 | secondaryUVPackMargin: 4 50 | useFileScale: 0 51 | tangentSpace: 52 | normalSmoothAngle: 60 53 | splitTangentsAcrossUV: 0 54 | normalImportMode: 0 55 | tangentImportMode: 1 56 | importAnimation: 1 57 | copyAvatar: 0 58 | humanDescription: 59 | human: [] 60 | skeleton: [] 61 | armTwist: .5 62 | foreArmTwist: .5 63 | upperLegTwist: .5 64 | legTwist: .5 65 | armStretch: .0500000007 66 | legStretch: .0500000007 67 | feetSpacing: 0 68 | rootMotionBoneName: 69 | lastHumanDescriptionAvatarSource: {instanceID: 0} 70 | animationType: 1 71 | additionalBone: 0 72 | userData: 73 | assetBundleName: 74 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 50d95e01ce44ff842949168ffec200cf 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Prefabs/WaterBasicDaytime.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9485b0c79d11e2e4d0007da98d76c639 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Prefabs/WaterBasicNightime.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6b436d069d11415d1100ab9b44295342 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac85670a1b2274f22905d6a43940371a 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Scripts/WaterBasic.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.Water 5 | { 6 | [ExecuteInEditMode] 7 | public class WaterBasic : MonoBehaviour 8 | { 9 | void Update() 10 | { 11 | Renderer r = GetComponent(); 12 | if (!r) 13 | { 14 | return; 15 | } 16 | Material mat = r.sharedMaterial; 17 | if (!mat) 18 | { 19 | return; 20 | } 21 | 22 | Vector4 waveSpeed = mat.GetVector("WaveSpeed"); 23 | float waveScale = mat.GetFloat("_WaveScale"); 24 | float t = Time.time / 20.0f; 25 | 26 | Vector4 offset4 = waveSpeed * (t * waveScale); 27 | Vector4 offsetClamped = new Vector4(Mathf.Repeat(offset4.x, 1.0f), Mathf.Repeat(offset4.y, 1.0f), 28 | Mathf.Repeat(offset4.z, 1.0f), Mathf.Repeat(offset4.w, 1.0f)); 29 | mat.SetVector("_WaveOffset", offsetClamped); 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Scripts/WaterBasic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0d2f50a8e0bb841a5aaa90ae55db8849 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8e96a067d1ef4982b454cf5a686f648 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Shaders/FXWaterBasic.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9dccc8e8f0da4494991c26ef59019551 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33850b67ffcaa4b6c9a7146e4be0b917 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Textures/WaterBasicDaytimeGradient.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water (Basic)/Textures/WaterBasicDaytimeGradient.psd -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Textures/WaterBasicDaytimeGradient.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 047330f39d11745ad0004adb8d76c639 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .100000001 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 32 29 | textureSettings: 30 | filterMode: 1 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 0 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Textures/WaterBasicNighttimeGradient.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water (Basic)/Textures/WaterBasicNighttimeGradient.psd -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Textures/WaterBasicNighttimeGradient.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8403d3349d112ba4d000be1be39e7c39 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .100000001 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 32 29 | textureSettings: 30 | filterMode: 1 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 0 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Textures/WaterBasicNormals.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water (Basic)/Textures/WaterBasicNormals.jpg -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water (Basic)/Textures/WaterBasicNormals.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a53cf5449d11a15d1100a04b44295342 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 1 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 1 17 | externalNormalMap: 1 18 | heightScale: .0164516103 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 512 29 | textureSettings: 30 | filterMode: 2 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 0 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 1 47 | buildTargetSettings: 48 | - buildTarget: iPhone 49 | maxTextureSize: 256 50 | textureFormat: -1 51 | compressionQuality: 50 52 | - buildTarget: Android 53 | maxTextureSize: 256 54 | textureFormat: -1 55 | compressionQuality: 50 56 | - buildTarget: BlackBerry 57 | maxTextureSize: 256 58 | textureFormat: -1 59 | compressionQuality: 50 60 | - buildTarget: WP8 61 | maxTextureSize: 256 62 | textureFormat: -1 63 | compressionQuality: 50 64 | spriteSheet: 65 | sprites: [] 66 | spritePackingTag: 67 | userData: 68 | assetBundleName: 69 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f65f58f1750429468db4bef75317815 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e2e84b28786ce854391d79fb76df820b 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8269a010592f549af8f11b1683d9e794 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Materials/WaterPlaneMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1bc741ea0e69a241896582ddb633d55 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Materials/WaterProDaytime.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7350b65a6431f604a8496c39db1ac9c5 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Materials/WaterProNighttime.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e633a20421c47426aa04444234225b69 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe5d00245bc1d42a7927f4b2879026b8 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Models/WaterPlane.fbx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water/Water/Models/WaterPlane.fbx -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Models/WaterPlane.fbx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ba6a41dc489914734857bb5924eb70ad 3 | ModelImporter: 4 | serializedVersion: 18 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: pPlane1 11 | 4300002: nurbsToPoly1 12 | 4300004: pCylinder1 13 | 4300006: waterPlaneMesh 14 | 11100000: //RootNode 15 | materials: 16 | importMaterials: 1 17 | materialName: 1 18 | materialSearch: 1 19 | animations: 20 | legacyGenerateAnimations: 0 21 | bakeSimulation: 0 22 | optimizeGameObjects: 0 23 | motionNodeName: 24 | pivotNodeName: 25 | animationCompression: 1 26 | animationRotationError: .5 27 | animationPositionError: .5 28 | animationScaleError: .5 29 | animationWrapMode: 0 30 | extraExposedTransformPaths: [] 31 | clipAnimations: [] 32 | isReadable: 1 33 | meshes: 34 | lODScreenPercentages: [] 35 | globalScale: 1 36 | meshCompression: 0 37 | addColliders: 0 38 | importBlendShapes: 1 39 | swapUVChannels: 0 40 | generateSecondaryUV: 0 41 | useFileUnits: 0 42 | optimizeMeshForGPU: 1 43 | weldVertices: 1 44 | secondaryUVAngleDistortion: 8 45 | secondaryUVAreaDistortion: 15 46 | secondaryUVHardAngle: 88 47 | secondaryUVPackMargin: 4 48 | useFileScale: 0 49 | tangentSpace: 50 | normalSmoothAngle: 60 51 | splitTangentsAcrossUV: 0 52 | normalImportMode: 0 53 | tangentImportMode: 1 54 | importAnimation: 1 55 | copyAvatar: 0 56 | humanDescription: 57 | human: [] 58 | skeleton: [] 59 | armTwist: .5 60 | foreArmTwist: .5 61 | upperLegTwist: .5 62 | legTwist: .5 63 | armStretch: .0500000007 64 | legStretch: .0500000007 65 | feetSpacing: 0 66 | rootMotionBoneName: 67 | lastHumanDescriptionAvatarSource: {instanceID: 0} 68 | animationType: 1 69 | additionalBone: 1 70 | userData: 71 | assetBundleName: 72 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2dc67c8fe799ae845add403087340bd1 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Prefabs/WaterProDaytime.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 780611a67e8e941a2b3aa96e5915a793 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Prefabs/WaterProNighttime.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bcae914220acd4907840a029bb9d9aec 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5b8c0f9acc2944f086c02cb83f4ae76 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/Displace.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.Water 5 | { 6 | [ExecuteInEditMode] 7 | [RequireComponent(typeof(WaterBase))] 8 | public class Displace : MonoBehaviour 9 | { 10 | public void Awake() 11 | { 12 | if (enabled) 13 | { 14 | OnEnable(); 15 | } 16 | else 17 | { 18 | OnDisable(); 19 | } 20 | } 21 | 22 | 23 | public void OnEnable() 24 | { 25 | Shader.EnableKeyword("WATER_VERTEX_DISPLACEMENT_ON"); 26 | Shader.DisableKeyword("WATER_VERTEX_DISPLACEMENT_OFF"); 27 | } 28 | 29 | 30 | public void OnDisable() 31 | { 32 | Shader.EnableKeyword("WATER_VERTEX_DISPLACEMENT_OFF"); 33 | Shader.DisableKeyword("WATER_VERTEX_DISPLACEMENT_ON"); 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/Displace.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c62b7d87755b447919138e67f8e22e0c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/GerstnerDisplace.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.Water 5 | { 6 | [ExecuteInEditMode] 7 | [RequireComponent(typeof(WaterBase))] 8 | public class GerstnerDisplace : Displace { } 9 | } -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/GerstnerDisplace.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42e7f46d0e5a84171a3909479c1646ba 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/MeshContainer.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.Water 5 | { 6 | public class MeshContainer 7 | { 8 | public Mesh mesh; 9 | public Vector3[] vertices; 10 | public Vector3[] normals; 11 | 12 | 13 | public MeshContainer(Mesh m) 14 | { 15 | mesh = m; 16 | vertices = m.vertices; 17 | normals = m.normals; 18 | } 19 | 20 | 21 | public void Update() 22 | { 23 | mesh.vertices = vertices; 24 | mesh.normals = normals; 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/MeshContainer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 951d74f7d57bed84cb623c62436bd064 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/PlanarReflection.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4185bc77c7194462ca3b1097ef4a5de0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/SpecularLighting.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.Water 5 | { 6 | [RequireComponent(typeof(WaterBase))] 7 | [ExecuteInEditMode] 8 | public class SpecularLighting : MonoBehaviour 9 | { 10 | public Transform specularLight; 11 | private WaterBase m_WaterBase; 12 | 13 | 14 | public void Start() 15 | { 16 | m_WaterBase = (WaterBase)gameObject.GetComponent(typeof(WaterBase)); 17 | } 18 | 19 | 20 | public void Update() 21 | { 22 | if (!m_WaterBase) 23 | { 24 | m_WaterBase = (WaterBase)gameObject.GetComponent(typeof(WaterBase)); 25 | } 26 | 27 | if (specularLight && m_WaterBase.sharedMaterial) 28 | { 29 | m_WaterBase.sharedMaterial.SetVector("_WorldLightDir", specularLight.transform.forward); 30 | } 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/SpecularLighting.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de2ab2b9ac93bb544b9552e49030371b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/Water.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3d3ef1a5bbfb4e0a910fbbe5830b1f9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/WaterBase.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1da353243062479a9b31c85074a796b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/WaterTile.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | namespace UnityStandardAssets.Water 5 | { 6 | [ExecuteInEditMode] 7 | public class WaterTile : MonoBehaviour 8 | { 9 | public PlanarReflection reflection; 10 | public WaterBase waterBase; 11 | 12 | 13 | public void Start() 14 | { 15 | AcquireComponents(); 16 | } 17 | 18 | 19 | void AcquireComponents() 20 | { 21 | if (!reflection) 22 | { 23 | if (transform.parent) 24 | { 25 | reflection = transform.parent.GetComponent(); 26 | } 27 | else 28 | { 29 | reflection = transform.GetComponent(); 30 | } 31 | } 32 | 33 | if (!waterBase) 34 | { 35 | if (transform.parent) 36 | { 37 | waterBase = transform.parent.GetComponent(); 38 | } 39 | else 40 | { 41 | waterBase = transform.GetComponent(); 42 | } 43 | } 44 | } 45 | 46 | 47 | #if UNITY_EDITOR 48 | public void Update() 49 | { 50 | AcquireComponents(); 51 | } 52 | #endif 53 | 54 | 55 | public void OnWillRenderObject() 56 | { 57 | if (reflection) 58 | { 59 | reflection.WaterTileBeingRendered(transform, Camera.current); 60 | } 61 | if (waterBase) 62 | { 63 | waterBase.WaterTileBeingRendered(transform, Camera.current); 64 | } 65 | } 66 | } 67 | } -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Scripts/WaterTile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a91e8dd37cdd41efb4859b65aced7a2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e70b47c0cfc1d4b12a3c663d7582a523 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Shaders/FXWaterPro.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1cac2e0bcc34e4b3cbb4bd85982eba83 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c22094bc116524b2a95c9aae09278b22 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterBump.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterBump.jpg -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterBump.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2dd3788f8589b40bf82a92d76ffc5091 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 1 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 1 17 | externalNormalMap: 1 18 | heightScale: .0164516103 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 512 29 | textureSettings: 30 | filterMode: 1 31 | aniso: 3 32 | mipBias: 0 33 | wrapMode: 0 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterFresnel.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterFresnel.psd -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterFresnel.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b5c5575fd4c74abd9f7b30862fb76a3 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: 1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: 1 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 0 34 | nPOTScale: 0 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: -1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterProDaytimeGradient.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterProDaytimeGradient.psd -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterProDaytimeGradient.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab97f9ab7c2ce724ebc9446060a819a4 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .100000001 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 32 29 | textureSettings: 30 | filterMode: 1 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 0 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterProNighttimeGradient.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterProNighttimeGradient.psd -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water/Textures/WaterProNighttimeGradient.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b725b62cfc9d04e4886735ab2a8107d1 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 2 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .100000001 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 32 29 | textureSettings: 30 | filterMode: 1 31 | aniso: 1 32 | mipBias: 0 33 | wrapMode: 1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 0 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17e234879cb994b7f93d7437c10d23d6 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a771af3b1958445078af5fe2e9ec726c 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Materials/OceanPlaneMaterial.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a437a9b380909fa4d98f929428f70388 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Materials/Water4Advanced.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a5f2339f242f6cc41a982ec55ea3c201 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Materials/Water4Simple.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 656fde119942645aa8e062e04c119aa1 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Models.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6aa58ee2f84094af2846e1a7bb0c23f9 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Models/OceanPlane.FBX: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water/Water4/Models/OceanPlane.FBX -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Models/OceanPlane.FBX.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 681e41ee1260343b395ca58745c94870 3 | ModelImporter: 4 | serializedVersion: 18 5 | fileIDToRecycleName: 6 | 100000: //RootNode 7 | 400000: //RootNode 8 | 2300000: //RootNode 9 | 3300000: //RootNode 10 | 4300000: kraut_plane 11 | 4300002: OceanPlane 12 | 11100000: //RootNode 13 | materials: 14 | importMaterials: 1 15 | materialName: 1 16 | materialSearch: 1 17 | animations: 18 | legacyGenerateAnimations: 3 19 | bakeSimulation: 0 20 | optimizeGameObjects: 0 21 | motionNodeName: 22 | pivotNodeName: 23 | animationCompression: 1 24 | animationRotationError: .5 25 | animationPositionError: .5 26 | animationScaleError: .5 27 | animationWrapMode: 0 28 | extraExposedTransformPaths: [] 29 | clipAnimations: [] 30 | isReadable: 1 31 | meshes: 32 | lODScreenPercentages: [] 33 | globalScale: 1 34 | meshCompression: 0 35 | addColliders: 0 36 | importBlendShapes: 1 37 | swapUVChannels: 0 38 | generateSecondaryUV: 0 39 | useFileUnits: 0 40 | optimizeMeshForGPU: 1 41 | weldVertices: 1 42 | secondaryUVAngleDistortion: 8 43 | secondaryUVAreaDistortion: 15.000001 44 | secondaryUVHardAngle: 88 45 | secondaryUVPackMargin: 4 46 | useFileScale: 0 47 | tangentSpace: 48 | normalSmoothAngle: 60 49 | splitTangentsAcrossUV: 1 50 | normalImportMode: 0 51 | tangentImportMode: 1 52 | importAnimation: 1 53 | copyAvatar: 0 54 | humanDescription: 55 | human: [] 56 | skeleton: [] 57 | armTwist: .5 58 | foreArmTwist: .5 59 | upperLegTwist: .5 60 | legTwist: .5 61 | armStretch: .0500000007 62 | legStretch: .0500000007 63 | feetSpacing: 0 64 | rootMotionBoneName: 65 | lastHumanDescriptionAvatarSource: {instanceID: 0} 66 | animationType: 1 67 | additionalBone: 0 68 | userData: 69 | assetBundleName: 70 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d25c4f81e90442d4bbda4d5285669c95 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Prefabs/Water4Advanced.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b544816461f324e56a39767fdeb5b114 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Prefabs/Water4Simple.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 843740dbe549a4a6ba9556d1b80001f5 3 | NativeFormatImporter: 4 | userData: 5 | assetBundleName: 6 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2c538784885b34a5987ed9f6651d9ecd 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Shaders/FXWater4Advanced.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 475c4a4e617a8401b84ca7b32c7cc460 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Shaders/FXWater4Simple.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8aaff0751054e4a9cb4642d01eaf5be9 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Shaders/WaterInclude.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34e1452e07a0b40c295c5b10aa679465 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Textures.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3cc8ac37e0da341db819af6143a07b03 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | assetBundleName: 7 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Textures/SimpleFoam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water/Water4/Textures/SimpleFoam.png -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Textures/SimpleFoam.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36dd0b22da8874ed38075789055ca664 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 0 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 0 17 | externalNormalMap: 0 18 | heightScale: .25 19 | normalMapFilter: 0 20 | isReadable: 0 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 1024 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: -1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Textures/SmallWaves.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ColeDeanShepherd/TESUnity/f4d5e19f68da380da9da745356c7904f3428b9d6/Assets/Vendors/Standard Assets/Environment/Water/Water4/Textures/SmallWaves.png -------------------------------------------------------------------------------- /Assets/Vendors/Standard Assets/Environment/Water/Water4/Textures/SmallWaves.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb6566c21f717904f83743a5a76dd0b0 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | serializedVersion: 2 6 | mipmaps: 7 | mipMapMode: 0 8 | enableMipMap: 1 9 | linearTexture: 1 10 | correctGamma: 0 11 | fadeOut: 0 12 | borderMipMap: 0 13 | mipMapFadeDistanceStart: 1 14 | mipMapFadeDistanceEnd: 3 15 | bumpmap: 16 | convertToNormalMap: 1 17 | externalNormalMap: 1 18 | heightScale: .131052643 19 | normalMapFilter: 1 20 | isReadable: 1 21 | grayScaleToAlpha: 0 22 | generateCubemap: 0 23 | cubemapConvolution: 0 24 | cubemapConvolutionSteps: 8 25 | cubemapConvolutionExponent: 1.5 26 | seamlessCubemap: 0 27 | textureFormat: -1 28 | maxTextureSize: 256 29 | textureSettings: 30 | filterMode: -1 31 | aniso: -1 32 | mipBias: -1 33 | wrapMode: -1 34 | nPOTScale: 1 35 | lightmap: 0 36 | rGBM: 0 37 | compressionQuality: 50 38 | spriteMode: 0 39 | spriteExtrude: 1 40 | spriteMeshType: 1 41 | alignment: 0 42 | spritePivot: {x: .5, y: .5} 43 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 44 | spritePixelsToUnits: 100 45 | alphaIsTransparency: 0 46 | textureType: 1 47 | buildTargetSettings: [] 48 | spriteSheet: 49 | sprites: [] 50 | spritePackingTag: 51 | userData: 52 | assetBundleName: 53 | -------------------------------------------------------------------------------- /CHANGES.md: -------------------------------------------------------------------------------- 1 | #TESUnity Changelog 2 | 3 | ## Version 0.5 - 10/21/2016 4 | ### Added 5 | - OSVR Support 6 | - Other VR SDKs Support (not yet enabled) 7 | - Enhanced VR support for UI and HUD 8 | 9 | ## Version 0.4 - 10/18/2016 10 | ### Added 11 | - New flags to enable new features (see readme.md) 12 | - Experimental static creatures support 13 | - Experimental weapon support (with home made animation) 14 | - Books and scrolls support 15 | - Crosshair 16 | - Morrowind cursor 17 | 18 | ### Changes 19 | - Use the same keys binding as Morrowind 20 | 21 | ### Fixes 22 | - Fixed an encoding issue for texts with accents 23 | 24 | ## Version 0.3 - 10/09/2016 25 | ### Added 26 | - More parameters in config.ini 27 | - Post Effects: Ambient Occlusion, AntiAliasing, Bloom, UnderWater 28 | - Move in the head direction (VR) 29 | 30 | ## Version 0.2 - 10/05/2016 31 | ### Added 32 | - Possibility to keep the Morrowind's folder path 33 | - Configuration file 34 | - New material system (Standard, Bumped, Unlit, MWMaterial) 35 | ### Fixes 36 | - Few fixes here and there 37 | 38 | ## Version 0.1 - 10/02/2016 39 | ### Added 40 | - VR Support (Oculus Rift / OpenVR) 41 | - VR UI 42 | - Gamepad support 43 | ### Fixes 44 | - Fixed the MWMaterial -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009-2015 Cole Shepherd 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 0 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_DisableAudio: 0 16 | -------------------------------------------------------------------------------- /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: 2 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_SolverIterationCount: 6 13 | m_QueriesHitTriggers: 1 14 | m_EnableAdaptiveForce: 0 15 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 16 | -------------------------------------------------------------------------------- /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/AskPathScene.unity 10 | - enabled: 1 11 | path: Assets/Scenes/GameScene.unity 12 | -------------------------------------------------------------------------------- /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: 3 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_WebSecurityEmulationEnabled: 0 10 | m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d 11 | m_DefaultBehaviorMode: 0 12 | m_SpritePackerMode: 2 13 | m_SpritePackerPaddingPower: 1 14 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd 15 | m_ProjectGenerationRootNamespace: 16 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshAreas: 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 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshAreas: 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 | -------------------------------------------------------------------------------- /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: 2 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_MinPenetrationForPenalty: 0.01 17 | m_BaumgarteScale: 0.2 18 | m_BaumgarteTimeOfImpactScale: 0.75 19 | m_TimeToSleep: 0.5 20 | m_LinearSleepTolerance: 0.01 21 | m_AngularSleepTolerance: 2 22 | m_QueriesHitTriggers: 1 23 | m_QueriesStartInColliders: 1 24 | m_ChangeStopsCallbacks: 0 25 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 26 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2017.1.1f1 2 | -------------------------------------------------------------------------------- /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 | - Cell 8 | - Door 9 | - Container 10 | - Book 11 | - MiscObj 12 | - Weapon 13 | - Ingredient 14 | - Clothing 15 | - Armor 16 | - Light 17 | - Activator 18 | - RepairTool 19 | - Lock 20 | - Probe 21 | - Apparatus 22 | - Alchemical 23 | - Creature 24 | - NPC 25 | layers: 26 | - Default 27 | - TransparentFX 28 | - Ignore Raycast 29 | - 30 | - Water 31 | - UI 32 | - 33 | - 34 | - Marker 35 | - 36 | - 37 | - 38 | - 39 | - 40 | - 41 | - 42 | - 43 | - 44 | - 45 | - 46 | - 47 | - 48 | - 49 | - 50 | - 51 | - 52 | - 53 | - 54 | - 55 | - 56 | - 57 | - 58 | m_SortingLayers: 59 | - name: Default 60 | uniqueID: 0 61 | locked: 0 62 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_Enabled: 0 14 | m_CaptureEditorExceptions: 1 15 | UnityPurchasingSettings: 16 | m_Enabled: 0 17 | m_TestMode: 0 18 | UnityAnalyticsSettings: 19 | m_Enabled: 0 20 | m_InitializeOnStartup: 1 21 | m_TestMode: 0 22 | m_TestEventUrl: 23 | m_TestConfigUrl: 24 | UnityAdsSettings: 25 | m_Enabled: 0 26 | m_InitializeOnStartup: 1 27 | m_TestMode: 0 28 | m_EnabledPlatforms: 4294967295 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /README-VR.md: -------------------------------------------------------------------------------- 1 | # TESUnity VR 2 | 3 | TESUnity supports the Oculus Rift, OSVR and the OpenVR API. The world of Morrowind is generated at runtime, so some optimizations can't be done, especially lights and culling optimizations. Because of that, the game can slow down when a new group of cells are loaded. 4 | 5 | ## OSVR Users 6 | The [OSVR Unity plugin](https://github.com/OSVR/OSVR-Unity) is not as optimized as other VR vendors. It is recommanded to switch to OpenVR (using SteamVR-OSVR) for best performance. However if you want to use the native OSVR integration, it is recommanded to turn off all effects and use the Unlit shader. We'll work with the OSVR Unity Team to find how to solve this problem. 7 | 8 | If the [SteamVR-OSVR plugin](https://github.com/OSVR/SteamVR-OSVR) is enabled, it will load the OpenVR integration automatically, preventing you to start the game with the native OSVR integration. To solve that, you can 9 | * Disable your SteamVR driver 10 | * Start the game like that `TESUnity.exe -vrmode None`. --------------------------------------------------------------------------------