├── .gitattributes.txt ├── .gitignore ├── Assets ├── Mesh.meta ├── Mesh │ ├── LPSHead.meta │ ├── LPSHead │ │ ├── Head_Combined.mtl │ │ ├── Head_Combined.mtl.meta │ │ ├── Head_Combined.obj │ │ ├── Head_Combined.obj.meta │ │ ├── Infinite-Scan_License.txt │ │ ├── Infinite-Scan_License.txt.meta │ │ ├── head.OBJ │ │ ├── head.OBJ.meta │ │ ├── head.mtl │ │ ├── head.mtl.meta │ │ ├── lambertian.jpg │ │ └── lambertian.jpg.meta │ ├── Standford Bunny.meta │ └── Standford Bunny │ │ ├── 20180310_KickAir8P_UVUnwrapped_Ceramic_Stanford_Bunny.mtl │ │ ├── 20180310_KickAir8P_UVUnwrapped_Ceramic_Stanford_Bunny.mtl.meta │ │ ├── 20180310_KickAir8P_UVUnwrapped_Stanford_Bunny.obj │ │ ├── 20180310_KickAir8P_UVUnwrapped_Stanford_Bunny.obj.meta │ │ ├── BunnyEye001_g003.png │ │ ├── BunnyEye001_g003.png.meta │ │ ├── ReadMe_20180310_KickAir8P_UVUnwrapped_Stanford_Bunny_OBJ-JPG.txt │ │ ├── ReadMe_20180310_KickAir8P_UVUnwrapped_Stanford_Bunny_OBJ-JPG.txt.meta │ │ ├── bunnystanford_res1_UVmapping3072_TerraCotta_g001c.jpg │ │ ├── bunnystanford_res1_UVmapping3072_TerraCotta_g001c.jpg.meta │ │ ├── bunnystanford_res1_UVmapping3072_g005c.jpg │ │ └── bunnystanford_res1_UVmapping3072_g005c.jpg.meta ├── PointCLouds.meta └── PointCLouds │ ├── MoveCamera.cs │ ├── MoveCamera.cs.meta │ ├── New Material 1.mat │ ├── New Material 1.mat.meta │ ├── New Material.mat │ ├── New Material.mat.meta │ ├── ParticleGenerator.cs │ ├── ParticleGenerator.cs.meta │ ├── PointCloud.unity │ ├── PointCloud.unity.meta │ ├── Points.shader │ ├── Points.shader.meta │ ├── Skybox.shader │ ├── Skybox.shader.meta │ ├── Unlit_Points.mat │ ├── Unlit_Points.mat.meta │ ├── pointCloudMain.compute │ └── pointCloudMain.compute.meta ├── LICENSE.md ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset └── XRSettings.asset └── README.md /.gitattributes.txt: -------------------------------------------------------------------------------- 1 | ## Unity ## 2 | 3 | 4 | 5 | *.cs diff=csharp text 6 | 7 | *.cginc text 8 | 9 | *.shader text 10 | 11 | 12 | 13 | *.mat merge=unityyamlmerge eol=lf 14 | 15 | *.anim merge=unityyamlmerge eol=lf 16 | 17 | *.unity merge=unityyamlmerge eol=lf 18 | 19 | *.prefab merge=unityyamlmerge eol=lf 20 | 21 | *.physicsMaterial2D merge=unityyamlmerge eol=lf 22 | 23 | *.physicMaterial merge=unityyamlmerge eol=lf 24 | 25 | *.asset merge=unityyamlmerge eol=lf 26 | 27 | *.meta merge=unityyamlmerge eol=lf 28 | 29 | *.controller merge=unityyamlmerge eol=lf 30 | 31 | 32 | 33 | 34 | 35 | ## git-lfs ## 36 | 37 | 38 | 39 | #Image 40 | 41 | *.jpg filter=lfs diff=lfs merge=lfs -text 42 | 43 | *.jpeg filter=lfs diff=lfs merge=lfs -text 44 | 45 | *.png filter=lfs diff=lfs merge=lfs -text 46 | 47 | *.gif filter=lfs diff=lfs merge=lfs -text 48 | 49 | *.psd filter=lfs diff=lfs merge=lfs -text 50 | 51 | *.ai filter=lfs diff=lfs merge=lfs -text 52 | 53 | 54 | 55 | #Audio 56 | 57 | *.mp3 filter=lfs diff=lfs merge=lfs -text 58 | 59 | *.wav filter=lfs diff=lfs merge=lfs -text 60 | 61 | *.ogg filter=lfs diff=lfs merge=lfs -text 62 | 63 | 64 | 65 | #Video 66 | 67 | *.mp4 filter=lfs diff=lfs merge=lfs -text 68 | 69 | *.mov filter=lfs diff=lfs merge=lfs -text 70 | 71 | 72 | 73 | #3D Object 74 | 75 | *.FBX filter=lfs diff=lfs merge=lfs -text 76 | 77 | *.fbx filter=lfs diff=lfs merge=lfs -text 78 | 79 | *.blend filter=lfs diff=lfs merge=lfs -text 80 | 81 | *.obj filter=lfs diff=lfs merge=lfs -text 82 | 83 | 84 | 85 | #ETC 86 | 87 | *.a filter=lfs diff=lfs merge=lfs -text 88 | 89 | *.exr filter=lfs diff=lfs merge=lfs -text 90 | 91 | *.tga filter=lfs diff=lfs merge=lfs -text 92 | 93 | *.pdf filter=lfs diff=lfs merge=lfs -text 94 | 95 | *.zip filter=lfs diff=lfs merge=lfs -text 96 | 97 | *.dll filter=lfs diff=lfs merge=lfs -text 98 | 99 | *.unitypackage filter=lfs diff=lfs merge=lfs -text 100 | 101 | *.aif filter=lfs diff=lfs merge=lfs -text 102 | 103 | *.ttf filter=lfs diff=lfs merge=lfs -text 104 | 105 | *.rns filter=lfs diff=lfs merge=lfs -text 106 | 107 | *.reason filter=lfs diff=lfs merge=lfs -text 108 | 109 | *.lxo filter=lfs diff=lfs merge=lfs -text -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # This .gitignore file should be placed at the root of your Unity project directory 2 | 3 | # 4 | 5 | # Get latest from httpsgithub.comgithubgitignoreblobmasterUnity.gitignore 6 | 7 | # 8 | 9 | [Ll]ibrary 10 | 11 | [Tt]emp 12 | 13 | [Oo]bj 14 | 15 | [Bb]uild 16 | 17 | [Bb]uilds 18 | 19 | [Ll]ogs 20 | 21 | [Mm]emoryCaptures 22 | 23 | 24 | 25 | # Never ignore Asset meta data 26 | 27 | ![Aa]ssets.meta 28 | 29 | 30 | 31 | # Uncomment this line if you wish to ignore the asset store tools plugin 32 | 33 | # [Aa]ssetsAssetStoreTools 34 | 35 | 36 | 37 | # TextMesh Pro files 38 | 39 | [Aa]ssetsTextMeshPro 40 | 41 | 42 | 43 | # Autogenerated Jetbrains Rider plugin 44 | 45 | [Aa]ssetsPluginsEditorJetBrains 46 | 47 | 48 | 49 | # Visual Studio cache directory 50 | 51 | .vs 52 | 53 | 54 | 55 | # Gradle cache directory 56 | 57 | .gradle 58 | 59 | 60 | 61 | # Autogenerated VSMDConsulo solution and project files 62 | 63 | ExportedObj 64 | 65 | .consulo 66 | 67 | .csproj 68 | 69 | .unityproj 70 | 71 | .sln 72 | 73 | .suo 74 | 75 | .tmp 76 | 77 | .user 78 | 79 | .userprefs 80 | 81 | .pidb 82 | 83 | .booproj 84 | 85 | .svd 86 | 87 | .pdb 88 | 89 | .mdb 90 | 91 | .opendb 92 | 93 | .VC.db 94 | 95 | 96 | 97 | # Unity3D generated meta files 98 | 99 | .pidb.meta 100 | 101 | .pdb.meta 102 | 103 | .mdb.meta 104 | 105 | 106 | 107 | # Unity3D generated file on crash reports 108 | 109 | sysinfo.txt 110 | 111 | 112 | 113 | # Builds 114 | 115 | .apk 116 | 117 | .unitypackage 118 | 119 | 120 | 121 | # Crashlytics generated file 122 | 123 | crashlytics-build.properties -------------------------------------------------------------------------------- /Assets/Mesh.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5d0eceb7dc2d324e8a2283bc9124aa4 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Mesh/LPSHead.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b00694519fdaaaf48a7ad57916ef5aa5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Mesh/LPSHead/Head_Combined.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: 'None' 2 | # Material Count: 1 3 | 4 | newmtl defaultMat 5 | Ns 3.921569 6 | Ka 1.000000 1.000000 1.000000 7 | Kd 0.640000 0.640000 0.640000 8 | Ks 0.000100 0.000100 0.000100 9 | Ke 0.000000 0.000000 0.000000 10 | Ni 1.000000 11 | d 1.000000 12 | illum 2 13 | map_Kd lambertian.jpg 14 | map_Bump bump-lowRes.png 15 | -------------------------------------------------------------------------------- /Assets/Mesh/LPSHead/Head_Combined.mtl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2612b0a2118453439d50a6acb3f355e 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Mesh/LPSHead/Head_Combined.obj.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b0aaca988e2a76e4eb0baa14ec8c0ea9 3 | ModelImporter: 4 | serializedVersion: 25 5 | internalIDToNameTable: [] 6 | externalObjects: {} 7 | materials: 8 | importMaterials: 1 9 | materialName: 0 10 | materialSearch: 1 11 | materialLocation: 1 12 | animations: 13 | legacyGenerateAnimations: 4 14 | bakeSimulation: 0 15 | resampleCurves: 1 16 | optimizeGameObjects: 0 17 | motionNodeName: 18 | rigImportErrors: 19 | rigImportWarnings: 20 | animationImportErrors: 21 | animationImportWarnings: 22 | animationRetargetingWarnings: 23 | animationDoRetargetingWarnings: 0 24 | importAnimatedCustomProperties: 0 25 | importConstraints: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | extraUserProperties: [] 33 | clipAnimations: [] 34 | isReadable: 1 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | useSRGBMaterialColor: 1 41 | importVisibility: 1 42 | importBlendShapes: 1 43 | importCameras: 1 44 | importLights: 1 45 | swapUVChannels: 0 46 | generateSecondaryUV: 0 47 | useFileUnits: 1 48 | keepQuads: 0 49 | weldVertices: 1 50 | preserveHierarchy: 0 51 | skinWeightsMode: 0 52 | maxBonesPerVertex: 4 53 | minBoneWeight: 0.001 54 | meshOptimizationFlags: -1 55 | indexFormat: 0 56 | secondaryUVAngleDistortion: 8 57 | secondaryUVAreaDistortion: 15.000001 58 | secondaryUVHardAngle: 88 59 | secondaryUVPackMargin: 4 60 | useFileScale: 1 61 | tangentSpace: 62 | normalSmoothAngle: 60 63 | normalImportMode: 0 64 | tangentImportMode: 3 65 | normalCalculationMode: 4 66 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 67 | blendShapeNormalImportMode: 1 68 | normalSmoothingSource: 0 69 | referencedClips: [] 70 | importAnimation: 1 71 | copyAvatar: 0 72 | humanDescription: 73 | serializedVersion: 3 74 | human: [] 75 | skeleton: [] 76 | armTwist: 0.5 77 | foreArmTwist: 0.5 78 | upperLegTwist: 0.5 79 | legTwist: 0.5 80 | armStretch: 0.05 81 | legStretch: 0.05 82 | feetSpacing: 0 83 | globalScale: 1 84 | rootMotionBoneName: 85 | hasTranslationDoF: 0 86 | hasExtraRoot: 0 87 | skeletonHasParents: 1 88 | lastHumanDescriptionAvatarSource: {instanceID: 0} 89 | animationType: 0 90 | humanoidOversampling: 1 91 | additionalBone: 0 92 | userData: 93 | assetBundleName: 94 | assetBundleVariant: 95 | -------------------------------------------------------------------------------- /Assets/Mesh/LPSHead/Infinite-Scan_License.txt: -------------------------------------------------------------------------------- 1 | Creative Commons Licence 2 | Infinite, 3D Head Scan by Lee Perry-Smith is licensed under a Creative Commons Attribution 3.0 Unported License. 3 | Based on a work at www.triplegangers.com. 4 | Permissions beyond the scope of this license may be available at http://www.ir-ltd.net/ 5 | Please remember: Do what you want with the files, but always mention where you got them from... 6 | ---------------------- 7 | This distribution was created by Morgan McGuire and Guedis Cardenas 8 | http://graphics.cs.williams.edu/data/ 9 | 10 | 11 | Downloaded from: 12 | http://www.ir-ltd.net/infinite-3d-head-scan-released 13 | Then decompressed the Object and displacement maps .rar files. We renamed Map-COL.jpg to lambertian.jpg 14 | We converted the displacement file from .tif to 16-bit .png. and saved it as bump.png 15 | Then made a lowRes version of the bump map by rescaling it with sharpening in Photoshop using 16 | Autolevels to fill the dynamic range, converting 8-bit, and filling the seams with content aware fill. 17 | We saved this as bump-lowRes.png. 18 | 19 | Edited mtl file: 20 | Set up texture maps and adjusted the default glossy highlight. 21 | We added: 22 | map_bump -bm 0.001 bump-lowRes.png 23 | 24 | map_bump -bm 0.02 bump.png (high res) 25 | ks .0001 .0001 .0001 26 | Ns 5 27 | 28 | -------------------------------------------------------------------------------- /Assets/Mesh/LPSHead/Infinite-Scan_License.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b4639d81d6bc4148a65502fbaad34ef 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Mesh/LPSHead/head.OBJ.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc7d38b71a8bc1c4f8a14486c587d7db 3 | ModelImporter: 4 | serializedVersion: 25 5 | internalIDToNameTable: [] 6 | externalObjects: {} 7 | materials: 8 | importMaterials: 1 9 | materialName: 0 10 | materialSearch: 1 11 | materialLocation: 1 12 | animations: 13 | legacyGenerateAnimations: 4 14 | bakeSimulation: 0 15 | resampleCurves: 1 16 | optimizeGameObjects: 0 17 | motionNodeName: 18 | rigImportErrors: 19 | rigImportWarnings: 20 | animationImportErrors: 21 | animationImportWarnings: 22 | animationRetargetingWarnings: 23 | animationDoRetargetingWarnings: 0 24 | importAnimatedCustomProperties: 0 25 | importConstraints: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | extraUserProperties: [] 33 | clipAnimations: [] 34 | isReadable: 1 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | useSRGBMaterialColor: 1 41 | importVisibility: 1 42 | importBlendShapes: 1 43 | importCameras: 1 44 | importLights: 1 45 | swapUVChannels: 0 46 | generateSecondaryUV: 0 47 | useFileUnits: 1 48 | keepQuads: 0 49 | weldVertices: 1 50 | preserveHierarchy: 0 51 | skinWeightsMode: 0 52 | maxBonesPerVertex: 4 53 | minBoneWeight: 0.001 54 | meshOptimizationFlags: -1 55 | indexFormat: 0 56 | secondaryUVAngleDistortion: 8 57 | secondaryUVAreaDistortion: 15.000001 58 | secondaryUVHardAngle: 88 59 | secondaryUVPackMargin: 4 60 | useFileScale: 1 61 | tangentSpace: 62 | normalSmoothAngle: 60 63 | normalImportMode: 0 64 | tangentImportMode: 3 65 | normalCalculationMode: 4 66 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 67 | blendShapeNormalImportMode: 1 68 | normalSmoothingSource: 0 69 | referencedClips: [] 70 | importAnimation: 1 71 | copyAvatar: 0 72 | humanDescription: 73 | serializedVersion: 3 74 | human: [] 75 | skeleton: [] 76 | armTwist: 0.5 77 | foreArmTwist: 0.5 78 | upperLegTwist: 0.5 79 | legTwist: 0.5 80 | armStretch: 0.05 81 | legStretch: 0.05 82 | feetSpacing: 0 83 | globalScale: 1 84 | rootMotionBoneName: 85 | hasTranslationDoF: 0 86 | hasExtraRoot: 0 87 | skeletonHasParents: 1 88 | lastHumanDescriptionAvatarSource: {instanceID: 0} 89 | animationType: 0 90 | humanoidOversampling: 1 91 | additionalBone: 0 92 | userData: 93 | assetBundleName: 94 | assetBundleVariant: 95 | -------------------------------------------------------------------------------- /Assets/Mesh/LPSHead/head.mtl: -------------------------------------------------------------------------------- 1 | # File created by ZBrush 2 | # ToolType: PolyMesh3D 3 | # www.zbrush.com 4 | newmtl defaultMat 5 | map_Kd lambertian.jpg 6 | map_bump -bm 0.001 bump-lowRes.png 7 | #map_bump -bm 0.02 bump.png 8 | Ks .0001 .0001 .0001 9 | Ns 5 10 | -------------------------------------------------------------------------------- /Assets/Mesh/LPSHead/head.mtl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6574656782e6b40418bc6956bce6afaa 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Mesh/LPSHead/lambertian.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IRCSS/pointclouds-compute-shaders/bb6fd56940acf59d4434177f341b3ded69dccc8b/Assets/Mesh/LPSHead/lambertian.jpg -------------------------------------------------------------------------------- /Assets/Mesh/LPSHead/lambertian.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f198e645ac25b6a42b852db0f5efe74b 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | internalID: 0 80 | vertices: [] 81 | indices: 82 | edges: [] 83 | weights: [] 84 | secondaryTextures: [] 85 | spritePackingTag: 86 | pSDRemoveMatte: 0 87 | pSDShowRemoveMatteOption: 0 88 | userData: 89 | assetBundleName: 90 | assetBundleVariant: 91 | -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 580619fd707844e41b6c37046b2290b5 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny/20180310_KickAir8P_UVUnwrapped_Ceramic_Stanford_Bunny.mtl: -------------------------------------------------------------------------------- 1 | # Blender MTL File: '20180310_UVUnwrapped_Ceramic_Stanford_Bunny.blend' 2 | # Material Count: 1 3 | 4 | newmtl Bunny_Material.001 5 | Ns 96.078431 6 | Ka 1.000000 1.000000 1.000000 7 | Kd 0.640000 0.640000 0.640000 8 | Ks 0.500000 0.500000 0.500000 9 | Ke 0.000000 0.000000 0.000000 10 | Ni 1.000000 11 | d 1.000000 12 | illum 2 13 | -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny/20180310_KickAir8P_UVUnwrapped_Ceramic_Stanford_Bunny.mtl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58e566c08fc57ee4abefa1141b80f937 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny/20180310_KickAir8P_UVUnwrapped_Stanford_Bunny.obj.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 504941062745b1c4a9296aff75260a3c 3 | ModelImporter: 4 | serializedVersion: 25 5 | internalIDToNameTable: [] 6 | externalObjects: {} 7 | materials: 8 | importMaterials: 1 9 | materialName: 0 10 | materialSearch: 1 11 | materialLocation: 1 12 | animations: 13 | legacyGenerateAnimations: 4 14 | bakeSimulation: 0 15 | resampleCurves: 1 16 | optimizeGameObjects: 0 17 | motionNodeName: 18 | rigImportErrors: 19 | rigImportWarnings: 20 | animationImportErrors: 21 | animationImportWarnings: 22 | animationRetargetingWarnings: 23 | animationDoRetargetingWarnings: 0 24 | importAnimatedCustomProperties: 0 25 | importConstraints: 0 26 | animationCompression: 1 27 | animationRotationError: 0.5 28 | animationPositionError: 0.5 29 | animationScaleError: 0.5 30 | animationWrapMode: 0 31 | extraExposedTransformPaths: [] 32 | extraUserProperties: [] 33 | clipAnimations: [] 34 | isReadable: 1 35 | meshes: 36 | lODScreenPercentages: [] 37 | globalScale: 1 38 | meshCompression: 0 39 | addColliders: 0 40 | useSRGBMaterialColor: 1 41 | importVisibility: 1 42 | importBlendShapes: 1 43 | importCameras: 1 44 | importLights: 1 45 | swapUVChannels: 0 46 | generateSecondaryUV: 0 47 | useFileUnits: 1 48 | keepQuads: 0 49 | weldVertices: 1 50 | preserveHierarchy: 0 51 | skinWeightsMode: 0 52 | maxBonesPerVertex: 4 53 | minBoneWeight: 0.001 54 | meshOptimizationFlags: -1 55 | indexFormat: 0 56 | secondaryUVAngleDistortion: 8 57 | secondaryUVAreaDistortion: 15.000001 58 | secondaryUVHardAngle: 88 59 | secondaryUVPackMargin: 4 60 | useFileScale: 1 61 | tangentSpace: 62 | normalSmoothAngle: 60 63 | normalImportMode: 0 64 | tangentImportMode: 3 65 | normalCalculationMode: 4 66 | legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 67 | blendShapeNormalImportMode: 1 68 | normalSmoothingSource: 0 69 | referencedClips: [] 70 | importAnimation: 1 71 | copyAvatar: 0 72 | humanDescription: 73 | serializedVersion: 3 74 | human: [] 75 | skeleton: [] 76 | armTwist: 0.5 77 | foreArmTwist: 0.5 78 | upperLegTwist: 0.5 79 | legTwist: 0.5 80 | armStretch: 0.05 81 | legStretch: 0.05 82 | feetSpacing: 0 83 | globalScale: 1 84 | rootMotionBoneName: 85 | hasTranslationDoF: 0 86 | hasExtraRoot: 0 87 | skeletonHasParents: 1 88 | lastHumanDescriptionAvatarSource: {instanceID: 0} 89 | animationType: 0 90 | humanoidOversampling: 1 91 | additionalBone: 0 92 | userData: 93 | assetBundleName: 94 | assetBundleVariant: 95 | -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny/BunnyEye001_g003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IRCSS/pointclouds-compute-shaders/bb6fd56940acf59d4434177f341b3ded69dccc8b/Assets/Mesh/Standford Bunny/BunnyEye001_g003.png -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny/BunnyEye001_g003.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: be445c1977fa3e74c8df991ed6533f13 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | internalID: 0 80 | vertices: [] 81 | indices: 82 | edges: [] 83 | weights: [] 84 | secondaryTextures: [] 85 | spritePackingTag: 86 | pSDRemoveMatte: 0 87 | pSDShowRemoveMatteOption: 0 88 | userData: 89 | assetBundleName: 90 | assetBundleVariant: 91 | -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny/ReadMe_20180310_KickAir8P_UVUnwrapped_Stanford_Bunny_OBJ-JPG.txt: -------------------------------------------------------------------------------- 1 | ReadMe_20180310_KickAir8P_UVUnwrapped_Stanford_Bunny_OBJ-JPG.txt 2 | -------------------------------------------------------- 3 | 4 | File List: 5 | 6 | 20180310_KickAir8P_UVUnwrapped_Stanford_Bunny.obj 7 | 20180310_KickAir8P_UVUnwrapped_Ceramic_Stanford_Bunny.mtl 8 | bunnystanford_res1_UVmapping3072_g005c.jpg 9 | bunnystanford_res1_UVmapping3072_TerraCotta_g001c.jpg 10 | BunnyEye001_g003.png 11 | 12 | 13 | All contents of this zip file are CC0 2018 KickAir8P - Public Domain with the following exception: 14 | 15 | 16 | Although the Stanford Bunny ( https://en.wikipedia.org/wiki/Stanford_bunny ) has been made freely available for non-commercial use, it is not public domain. 17 | 18 | -----30----- 19 | -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny/ReadMe_20180310_KickAir8P_UVUnwrapped_Stanford_Bunny_OBJ-JPG.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e0c9918e522ddbe48a047855c96d5eab 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny/bunnystanford_res1_UVmapping3072_TerraCotta_g001c.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IRCSS/pointclouds-compute-shaders/bb6fd56940acf59d4434177f341b3ded69dccc8b/Assets/Mesh/Standford Bunny/bunnystanford_res1_UVmapping3072_TerraCotta_g001c.jpg -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny/bunnystanford_res1_UVmapping3072_TerraCotta_g001c.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b27c60848e6db394da6f4e0f0c147166 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79 | internalID: 0 80 | vertices: [] 81 | indices: 82 | edges: [] 83 | weights: [] 84 | secondaryTextures: [] 85 | spritePackingTag: 86 | pSDRemoveMatte: 0 87 | pSDShowRemoveMatteOption: 0 88 | userData: 89 | assetBundleName: 90 | assetBundleVariant: 91 | -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny/bunnystanford_res1_UVmapping3072_g005c.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IRCSS/pointclouds-compute-shaders/bb6fd56940acf59d4434177f341b3ded69dccc8b/Assets/Mesh/Standford Bunny/bunnystanford_res1_UVmapping3072_g005c.jpg -------------------------------------------------------------------------------- /Assets/Mesh/Standford Bunny/bunnystanford_res1_UVmapping3072_g005c.jpg.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b5038cee39b84a478bfce71cb5346fe 3 | TextureImporter: 4 | internalIDToNameTable: [] 5 | externalObjects: {} 6 | serializedVersion: 10 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 1 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: -1 38 | wrapV: -1 39 | wrapW: -1 40 | nPOTScale: 1 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 0 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 0 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | - serializedVersion: 2 73 | buildTarget: Standalone 74 | maxTextureSize: 2048 75 | resizeAlgorithm: 0 76 | textureFormat: -1 77 | textureCompression: 1 78 | compressionQuality: 50 79 | crunchedCompression: 0 80 | allowsAlphaSplitting: 0 81 | overridden: 0 82 | androidETC2FallbackOverride: 0 83 | spriteSheet: 84 | serializedVersion: 2 85 | sprites: [] 86 | outline: [] 87 | physicsShape: [] 88 | bones: [] 89 | spriteID: 90 | internalID: 0 91 | vertices: [] 92 | indices: 93 | edges: [] 94 | weights: [] 95 | secondaryTextures: [] 96 | spritePackingTag: 97 | pSDRemoveMatte: 0 98 | pSDShowRemoveMatteOption: 0 99 | userData: 100 | assetBundleName: 101 | assetBundleVariant: 102 | -------------------------------------------------------------------------------- /Assets/PointCLouds.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f585291566c049a49ac2a2779b5c59c3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PointCLouds/MoveCamera.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class MoveCamera : MonoBehaviour { 6 | 7 | 8 | public float HorizontalVerticalSensitivity = 0.1f; 9 | public float UpDownSensitivity = 0.015f; 10 | public bool InvertedY = false; 11 | public float SpeedMultiplyerOnShiftPressed = 4f; 12 | 13 | private float moveUpDown; 14 | private float speedMultiplyer = 1f; 15 | private float inversion = -1f; 16 | void Start() 17 | { 18 | if (InvertedY) inversion = 1f; 19 | else inversion = -1f; 20 | 21 | } 22 | 23 | void Update () { 24 | 25 | if (!Input.GetKey(KeyCode.Mouse1)) return; 26 | 27 | float x = Input.GetAxis("Horizontal"); 28 | float y = Input.GetAxis("Vertical"); 29 | float mouseX = Input.GetAxis("Mouse X"); 30 | float mouseY = Input.GetAxis("Mouse Y"); 31 | 32 | speedMultiplyer = Mathf.Lerp(speedMultiplyer, 1f, 0.1f); 33 | if (Input.GetKey(KeyCode.LeftShift)) 34 | { 35 | speedMultiplyer += 0.2f; 36 | speedMultiplyer = Mathf.Clamp(speedMultiplyer, 1f, SpeedMultiplyerOnShiftPressed); 37 | } 38 | 39 | moveUpDown = Mathf.Lerp(moveUpDown, 0f, 0.1f); 40 | if (Input.GetKey(KeyCode.E)) moveUpDown += UpDownSensitivity; 41 | if (Input.GetKey(KeyCode.Q)) moveUpDown -= UpDownSensitivity; 42 | 43 | this.transform.Rotate(Vector3.up * mouseX, Space.World); 44 | this.transform.Rotate(this.transform.right *-1f * mouseY, Space.World); 45 | this.transform.position += this.transform.right * x* HorizontalVerticalSensitivity * speedMultiplyer; 46 | this.transform.position += this.transform.forward * y* HorizontalVerticalSensitivity * speedMultiplyer; 47 | this.transform.position += this.transform.up * moveUpDown* speedMultiplyer; 48 | 49 | 50 | } 51 | } 52 | 53 | -------------------------------------------------------------------------------- /Assets/PointCLouds/MoveCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 02be186e7791d2248b7e78bc7ccff6e1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/PointCLouds/New Material 1.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: New Material 1 11 | m_Shader: {fileID: 10755, guid: 0000000000000000f000000000000000, type: 0} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SmoothnessTextureChannel: 0 71 | - _SpecularHighlights: 1 72 | - _SrcBlend: 1 73 | - _UVSec: 0 74 | - _ZWrite: 1 75 | m_Colors: 76 | - _Color: {r: 0.654902, g: 0.38823533, b: 0.17254902, a: 1} 77 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 78 | -------------------------------------------------------------------------------- /Assets/PointCLouds/New Material 1.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 979831e9a738fa043b0a2718b65d429e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PointCLouds/New Material.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: New Material 11 | m_Shader: {fileID: 4800000, guid: 38be7ffb46f515745baf31e076cd1094, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: 22 | - _BumpMap: 23 | m_Texture: {fileID: 0} 24 | m_Scale: {x: 1, y: 1} 25 | m_Offset: {x: 0, y: 0} 26 | - _DetailAlbedoMap: 27 | m_Texture: {fileID: 0} 28 | m_Scale: {x: 1, y: 1} 29 | m_Offset: {x: 0, y: 0} 30 | - _DetailMask: 31 | m_Texture: {fileID: 0} 32 | m_Scale: {x: 1, y: 1} 33 | m_Offset: {x: 0, y: 0} 34 | - _DetailNormalMap: 35 | m_Texture: {fileID: 0} 36 | m_Scale: {x: 1, y: 1} 37 | m_Offset: {x: 0, y: 0} 38 | - _EmissionMap: 39 | m_Texture: {fileID: 0} 40 | m_Scale: {x: 1, y: 1} 41 | m_Offset: {x: 0, y: 0} 42 | - _MainTex: 43 | m_Texture: {fileID: 0} 44 | m_Scale: {x: 1, y: 1} 45 | m_Offset: {x: 0, y: 0} 46 | - _MetallicGlossMap: 47 | m_Texture: {fileID: 0} 48 | m_Scale: {x: 1, y: 1} 49 | m_Offset: {x: 0, y: 0} 50 | - _OcclusionMap: 51 | m_Texture: {fileID: 0} 52 | m_Scale: {x: 1, y: 1} 53 | m_Offset: {x: 0, y: 0} 54 | - _ParallaxMap: 55 | m_Texture: {fileID: 0} 56 | m_Scale: {x: 1, y: 1} 57 | m_Offset: {x: 0, y: 0} 58 | m_Floats: 59 | - _BumpScale: 1 60 | - _Cutoff: 0.5 61 | - _DetailNormalMapScale: 1 62 | - _DstBlend: 0 63 | - _GlossMapScale: 1 64 | - _Glossiness: 0.5 65 | - _GlossyReflections: 1 66 | - _Metallic: 0 67 | - _Mode: 0 68 | - _OcclusionStrength: 1 69 | - _Parallax: 0.02 70 | - _SkyExponent1: 0 71 | - _SkyIntensity: 1.47 72 | - _SmoothnessTextureChannel: 0 73 | - _SpecularHighlights: 1 74 | - _SrcBlend: 1 75 | - _SunIntensity: 4.36 76 | - _UVSec: 0 77 | - _ZWrite: 1 78 | m_Colors: 79 | - _Color: {r: 1, g: 1, b: 1, a: 1} 80 | - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} 81 | - _MoonVector: {r: 0.269, g: 0.615, b: 0.74, a: 0} 82 | - _SkyColor1: {r: 0.6792453, g: 0.6429334, b: 0.6247775, a: 0} 83 | - _SkyColor2: {r: 0.33121216, g: 0.33962262, b: 0.30598074, a: 0} 84 | - _SunColor: {r: 1, g: 0.41635388, b: 0, a: 1} 85 | -------------------------------------------------------------------------------- /Assets/PointCLouds/New Material.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0e8d26c76154c5d439e85a183ec9f63f 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PointCLouds/ParticleGenerator.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class ParticleGenerator : MonoBehaviour 6 | { 7 | // ------------------------------------------------------------------------------------------------------------------------------------------- 8 | [System.Serializable] 9 | public struct MeshSettings 10 | { 11 | public GameObject PointCacheSource; 12 | public Texture meshTexture; 13 | public float particleSize; 14 | public float meshScaleFactor; 15 | public Vector3 meshPosOffset; 16 | 17 | public ComputeBuffer MeshDataBuffer; 18 | public ComputeBuffer MeshUVDataBuffer; 19 | 20 | [HideInInspector] 21 | public Mesh meshToBake; 22 | } 23 | 24 | struct ParticleData 25 | { 26 | public Vector4 Position; 27 | public Vector4 Color; 28 | } 29 | 30 | struct MeshData 31 | { 32 | public Vector3 Position; 33 | } 34 | 35 | // ------------------------------------------------------------------------------------------------------------------------------------------- 36 | public ComputeShader cp; 37 | public int numberOfParticles = 60000; 38 | public Material mt; 39 | 40 | [Range(0,1)] 41 | public float ColorizationStrength; 42 | [Range(0,1)] 43 | public float MeshOneTwoTransition; 44 | public bool autoTransition; 45 | 46 | 47 | [Header("Mesh")] 48 | public MeshSettings MeshOne; 49 | public MeshSettings MeshTwo; 50 | 51 | [Header("Coloring")] 52 | public Color KeyOne =new Color(0.4588236f,0.4901961f,0.3647059f); 53 | public Color KeyTwo = new Color(0.8509805f, 0.2901961f, 0.007843138f); 54 | public Color KeyThree = new Color(0.9245283f, 0.7576204f, 0.4099323f); 55 | public Color FogColor = new Color(0.9188747f, 1, 0.3113208f); 56 | 57 | ComputeBuffer ParticleBuffer; 58 | ComputeBuffer OldParticleBuffer; 59 | 60 | bool isOld; 61 | // ------------------------------------------------------------------------------------------------------------------------------------------- 62 | 63 | void Start() 64 | { 65 | PopulateBufferWithMeshPositions(ref MeshOne); 66 | PopulateBufferWithMeshPositions(ref MeshTwo); 67 | ParticleBuffer = new ComputeBuffer(numberOfParticles, sizeof(float) * 8); 68 | OldParticleBuffer = new ComputeBuffer(numberOfParticles, sizeof(float) * 8); 69 | 70 | } 71 | 72 | // Update is called once per frame 73 | void Update() 74 | { 75 | if (autoTransition) 76 | { 77 | MeshOneTwoTransition = Mathf.Clamp01( Mathf.Abs( Mathf.Sin(Time.time) )*2f -0.5f); 78 | } 79 | ExecuteComputeShader(); 80 | } 81 | 82 | 83 | private void OnRenderObject() 84 | { 85 | Rendershapes(); 86 | } 87 | 88 | 89 | 90 | private void OnDestroy() 91 | { 92 | ParticleBuffer.Release(); 93 | OldParticleBuffer.Release(); 94 | } 95 | 96 | // ------------------------------------------------------------------------------------------------------------------------------------------- 97 | void Rendershapes() 98 | { 99 | mt.SetPass(0); 100 | Matrix4x4 ow = this.transform.localToWorldMatrix; 101 | mt.SetMatrix("My_Object2World", ow); 102 | 103 | if (isOld) mt.SetBuffer("_ParticleDataBuff", OldParticleBuffer); 104 | else mt.SetBuffer("_ParticleDataBuff", ParticleBuffer); 105 | mt.SetColor("_FogColorc", FogColor); 106 | mt.SetFloat("_ParticleSize", Mathf.Lerp(MeshOne.particleSize, MeshTwo.particleSize, MeshOneTwoTransition)); 107 | Graphics.DrawProceduralNow(MeshTopology.Triangles, 3 * 4, numberOfParticles); 108 | } 109 | 110 | void ExecuteComputeShader() 111 | { 112 | int kernelHandle = cp.FindKernel("CSMain"); 113 | if (isOld) 114 | { 115 | cp.SetBuffer(kernelHandle ,"_inParticleBuffer", ParticleBuffer); 116 | cp.SetBuffer(kernelHandle, "_outParticleBuffer", OldParticleBuffer); 117 | }else 118 | { 119 | cp.SetBuffer(kernelHandle, "_inParticleBuffer", OldParticleBuffer); 120 | cp.SetBuffer(kernelHandle, "_outParticleBuffer", ParticleBuffer); 121 | } 122 | 123 | //Setting meshOne variables 124 | cp.SetBuffer(kernelHandle, "_MeshDataOne", MeshOne.MeshDataBuffer); 125 | cp.SetBuffer(kernelHandle, "_MeshDataUVOne", MeshOne.MeshUVDataBuffer); 126 | cp.SetInt("_CachePointVertexcoundOne", MeshOne.meshToBake.vertexCount); 127 | cp.SetTexture(kernelHandle, "_MeshTextureOne", MeshOne.meshTexture); 128 | cp.SetVector("_transformInfoOne", new Vector4(MeshOne.meshPosOffset.x, MeshOne.meshPosOffset.y, 129 | MeshOne.meshPosOffset.z, MeshOne.meshScaleFactor)); 130 | 131 | //Setting meshTwo variables 132 | cp.SetBuffer(kernelHandle, "_MeshDataTwo", MeshTwo.MeshDataBuffer); 133 | cp.SetBuffer(kernelHandle, "_MeshDataUVTwo", MeshTwo.MeshUVDataBuffer); 134 | cp.SetInt("_CachePointVertexcoundTwo", MeshTwo.meshToBake.vertexCount); 135 | cp.SetTexture(kernelHandle, "_MeshTextureTwo", MeshTwo.meshTexture); 136 | cp.SetVector("_transformInfoTwo", new Vector4(MeshTwo.meshPosOffset.x, MeshTwo.meshPosOffset.y, 137 | MeshTwo.meshPosOffset.z, MeshTwo.meshScaleFactor)); 138 | 139 | cp.SetFloat("meshOneTwoTransition", MeshOneTwoTransition); 140 | cp.SetInt("_NumberOfParticles", numberOfParticles); 141 | cp.SetFloat("_Time", Time.time); 142 | KeyOne.a = ColorizationStrength; 143 | cp.SetVector("_Color1", KeyOne); 144 | cp.SetVector("_Color2", KeyTwo); 145 | cp.SetVector("_Color3", KeyThree); 146 | cp.SetVector("CameraPosition", this.transform.InverseTransformPoint(Camera.main.transform.position)); 147 | cp.SetVector("CameraForward", this.transform.InverseTransformDirection(Camera.main.transform.forward)); 148 | 149 | cp.Dispatch(kernelHandle, numberOfParticles/10, 1, 1); 150 | isOld = !isOld; 151 | 152 | 153 | } 154 | 155 | 156 | 157 | void PopulateBufferWithMeshPositions(ref MeshSettings toSet) 158 | { 159 | MeshFilter m = toSet.PointCacheSource.GetComponent(); 160 | if (m == null) m = toSet.PointCacheSource.GetComponentInChildren(); 161 | toSet.meshToBake = m.sharedMesh; 162 | 163 | 164 | 165 | int stride =numberOfParticles / toSet.meshToBake.vertexCount; 166 | toSet.MeshDataBuffer = new ComputeBuffer(toSet.meshToBake.vertexCount, sizeof(float) * 3); 167 | 168 | 169 | toSet.MeshDataBuffer.SetData(toSet.meshToBake.vertices); 170 | 171 | 172 | toSet.MeshUVDataBuffer = new ComputeBuffer(toSet.meshToBake.vertexCount, sizeof(float) * 2); 173 | 174 | toSet.MeshUVDataBuffer.SetData(toSet.meshToBake.uv); 175 | } 176 | 177 | 178 | 179 | } 180 | -------------------------------------------------------------------------------- /Assets/PointCLouds/ParticleGenerator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae430b9185f9a0b468555c9c05653e7b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /Assets/PointCLouds/PointCloud.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | OcclusionCullingSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_OcclusionBakeSettings: 8 | smallestOccluder: 5 9 | smallestHole: 0.25 10 | backfaceThreshold: 100 11 | m_SceneGUID: 00000000000000000000000000000000 12 | m_OcclusionCullingData: {fileID: 0} 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 9 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 0 28 | m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} 29 | m_SkyboxMaterial: {fileID: 2100000, guid: 0e8d26c76154c5d439e85a183ec9f63f, type: 2} 30 | m_HaloStrength: 0.5 31 | m_FlareStrength: 1 32 | m_FlareFadeSpeed: 3 33 | m_HaloTexture: {fileID: 0} 34 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 35 | m_DefaultReflectionMode: 0 36 | m_DefaultReflectionResolution: 128 37 | m_ReflectionBounces: 1 38 | m_ReflectionIntensity: 1 39 | m_CustomReflection: {fileID: 0} 40 | m_Sun: {fileID: 0} 41 | m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} 42 | m_UseRadianceAmbientProbe: 0 43 | --- !u!157 &3 44 | LightmapSettings: 45 | m_ObjectHideFlags: 0 46 | serializedVersion: 11 47 | m_GIWorkflowMode: 1 48 | m_GISettings: 49 | serializedVersion: 2 50 | m_BounceScale: 1 51 | m_IndirectOutputScale: 1 52 | m_AlbedoBoost: 1 53 | m_EnvironmentLightingMode: 0 54 | m_EnableBakedLightmaps: 1 55 | m_EnableRealtimeLightmaps: 1 56 | m_LightmapEditorSettings: 57 | serializedVersion: 12 58 | m_Resolution: 2 59 | m_BakeResolution: 40 60 | m_AtlasSize: 1024 61 | m_AO: 0 62 | m_AOMaxDistance: 1 63 | m_CompAOExponent: 1 64 | m_CompAOExponentDirect: 0 65 | m_ExtractAmbientOcclusion: 0 66 | m_Padding: 2 67 | m_LightmapParameters: {fileID: 0} 68 | m_LightmapsBakeMode: 1 69 | m_TextureCompression: 1 70 | m_FinalGather: 0 71 | m_FinalGatherFiltering: 1 72 | m_FinalGatherRayCount: 256 73 | m_ReflectionCompression: 2 74 | m_MixedBakeMode: 2 75 | m_BakeBackend: 1 76 | m_PVRSampling: 1 77 | m_PVRDirectSampleCount: 32 78 | m_PVRSampleCount: 512 79 | m_PVRBounces: 2 80 | m_PVREnvironmentSampleCount: 256 81 | m_PVREnvironmentReferencePointCount: 2048 82 | m_PVRFilteringMode: 1 83 | m_PVRDenoiserTypeDirect: 1 84 | m_PVRDenoiserTypeIndirect: 1 85 | m_PVRDenoiserTypeAO: 1 86 | m_PVRFilterTypeDirect: 0 87 | m_PVRFilterTypeIndirect: 0 88 | m_PVRFilterTypeAO: 0 89 | m_PVREnvironmentMIS: 1 90 | m_PVRCulling: 1 91 | m_PVRFilteringGaussRadiusDirect: 1 92 | m_PVRFilteringGaussRadiusIndirect: 5 93 | m_PVRFilteringGaussRadiusAO: 2 94 | m_PVRFilteringAtrousPositionSigmaDirect: 0.5 95 | m_PVRFilteringAtrousPositionSigmaIndirect: 2 96 | m_PVRFilteringAtrousPositionSigmaAO: 1 97 | m_ShowResolutionOverlay: 1 98 | m_ExportTrainingData: 0 99 | m_LightingDataAsset: {fileID: 0} 100 | m_UseShadowmask: 1 101 | --- !u!196 &4 102 | NavMeshSettings: 103 | serializedVersion: 2 104 | m_ObjectHideFlags: 0 105 | m_BuildSettings: 106 | serializedVersion: 2 107 | agentTypeID: 0 108 | agentRadius: 0.5 109 | agentHeight: 2 110 | agentSlope: 45 111 | agentClimb: 0.4 112 | ledgeDropHeight: 0 113 | maxJumpAcrossDistance: 0 114 | minRegionArea: 2 115 | manualCellSize: 0 116 | cellSize: 0.16666667 117 | manualTileSize: 0 118 | tileSize: 256 119 | accuratePlacement: 0 120 | debug: 121 | m_Flags: 0 122 | m_NavMeshData: {fileID: 0} 123 | --- !u!1 &1131707792 124 | GameObject: 125 | m_ObjectHideFlags: 0 126 | m_CorrespondingSourceObject: {fileID: 0} 127 | m_PrefabInstance: {fileID: 0} 128 | m_PrefabAsset: {fileID: 0} 129 | serializedVersion: 6 130 | m_Component: 131 | - component: {fileID: 1131707794} 132 | - component: {fileID: 1131707793} 133 | m_Layer: 0 134 | m_Name: PointCloudManager 135 | m_TagString: Untagged 136 | m_Icon: {fileID: 0} 137 | m_NavMeshLayer: 0 138 | m_StaticEditorFlags: 0 139 | m_IsActive: 1 140 | --- !u!114 &1131707793 141 | MonoBehaviour: 142 | m_ObjectHideFlags: 0 143 | m_CorrespondingSourceObject: {fileID: 0} 144 | m_PrefabInstance: {fileID: 0} 145 | m_PrefabAsset: {fileID: 0} 146 | m_GameObject: {fileID: 1131707792} 147 | m_Enabled: 1 148 | m_EditorHideFlags: 0 149 | m_Script: {fileID: 11500000, guid: ae430b9185f9a0b468555c9c05653e7b, type: 3} 150 | m_Name: 151 | m_EditorClassIdentifier: 152 | cp: {fileID: 7200000, guid: 373802ad4a06f354da78d46b55eb9c6f, type: 3} 153 | numberOfParticles: 60000 154 | mt: {fileID: 2100000, guid: 5045dae2b9cf5504386a221da2db70ff, type: 2} 155 | ColorizationStrength: 0 156 | MeshOneTwoTransition: 0 157 | autoTransition: 1 158 | MeshOne: 159 | PointCacheSource: {fileID: -927199367670048503, guid: b0aaca988e2a76e4eb0baa14ec8c0ea9, 160 | type: 3} 161 | meshTexture: {fileID: 2800000, guid: f198e645ac25b6a42b852db0f5efe74b, type: 3} 162 | particleSize: 0.02 163 | meshScaleFactor: 5 164 | meshPosOffset: {x: 0, y: 0.49, z: 0} 165 | meshToBake: {fileID: 0} 166 | MeshTwo: 167 | PointCacheSource: {fileID: -927199367670048503, guid: 504941062745b1c4a9296aff75260a3c, 168 | type: 3} 169 | meshTexture: {fileID: 2800000, guid: 5b5038cee39b84a478bfce71cb5346fe, type: 3} 170 | particleSize: 0.005 171 | meshScaleFactor: 5 172 | meshPosOffset: {x: 0, y: 0, z: 0} 173 | meshToBake: {fileID: 0} 174 | KeyOne: {r: 0.45882356, g: 0.4901961, b: 0.3647059, a: 1} 175 | KeyTwo: {r: 0.85098046, g: 0.2901961, b: 0.007843138, a: 1} 176 | KeyThree: {r: 0.9245283, g: 0.7576204, b: 0.40993235, a: 1} 177 | FogColor: {r: 0.91887474, g: 1, b: 0.31132078, a: 1} 178 | --- !u!4 &1131707794 179 | Transform: 180 | m_ObjectHideFlags: 0 181 | m_CorrespondingSourceObject: {fileID: 0} 182 | m_PrefabInstance: {fileID: 0} 183 | m_PrefabAsset: {fileID: 0} 184 | m_GameObject: {fileID: 1131707792} 185 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 186 | m_LocalPosition: {x: 0, y: 0, z: 0} 187 | m_LocalScale: {x: 1, y: 1, z: 1} 188 | m_Children: [] 189 | m_Father: {fileID: 0} 190 | m_RootOrder: 1 191 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 192 | --- !u!1 &1268542953 193 | GameObject: 194 | m_ObjectHideFlags: 0 195 | m_CorrespondingSourceObject: {fileID: 0} 196 | m_PrefabInstance: {fileID: 0} 197 | m_PrefabAsset: {fileID: 0} 198 | serializedVersion: 6 199 | m_Component: 200 | - component: {fileID: 1268542956} 201 | - component: {fileID: 1268542955} 202 | - component: {fileID: 1268542954} 203 | - component: {fileID: 1268542957} 204 | m_Layer: 0 205 | m_Name: Main Camera 206 | m_TagString: MainCamera 207 | m_Icon: {fileID: 0} 208 | m_NavMeshLayer: 0 209 | m_StaticEditorFlags: 0 210 | m_IsActive: 1 211 | --- !u!81 &1268542954 212 | AudioListener: 213 | m_ObjectHideFlags: 0 214 | m_CorrespondingSourceObject: {fileID: 0} 215 | m_PrefabInstance: {fileID: 0} 216 | m_PrefabAsset: {fileID: 0} 217 | m_GameObject: {fileID: 1268542953} 218 | m_Enabled: 1 219 | --- !u!20 &1268542955 220 | Camera: 221 | m_ObjectHideFlags: 0 222 | m_CorrespondingSourceObject: {fileID: 0} 223 | m_PrefabInstance: {fileID: 0} 224 | m_PrefabAsset: {fileID: 0} 225 | m_GameObject: {fileID: 1268542953} 226 | m_Enabled: 1 227 | serializedVersion: 2 228 | m_ClearFlags: 1 229 | m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0} 230 | m_projectionMatrixMode: 1 231 | m_GateFitMode: 2 232 | m_FOVAxisMode: 0 233 | m_SensorSize: {x: 36, y: 24} 234 | m_LensShift: {x: 0, y: 0} 235 | m_FocalLength: 50 236 | m_NormalizedViewPortRect: 237 | serializedVersion: 2 238 | x: 0 239 | y: 0 240 | width: 1 241 | height: 1 242 | near clip plane: 0.3 243 | far clip plane: 10000 244 | field of view: 60 245 | orthographic: 0 246 | orthographic size: 5 247 | m_Depth: -1 248 | m_CullingMask: 249 | serializedVersion: 2 250 | m_Bits: 4294967295 251 | m_RenderingPath: -1 252 | m_TargetTexture: {fileID: 0} 253 | m_TargetDisplay: 0 254 | m_TargetEye: 3 255 | m_HDR: 1 256 | m_AllowMSAA: 1 257 | m_AllowDynamicResolution: 0 258 | m_ForceIntoRT: 0 259 | m_OcclusionCulling: 1 260 | m_StereoConvergence: 10 261 | m_StereoSeparation: 0.022 262 | --- !u!4 &1268542956 263 | Transform: 264 | m_ObjectHideFlags: 0 265 | m_CorrespondingSourceObject: {fileID: 0} 266 | m_PrefabInstance: {fileID: 0} 267 | m_PrefabAsset: {fileID: 0} 268 | m_GameObject: {fileID: 1268542953} 269 | m_LocalRotation: {x: 0.01072398, y: -0.9881223, z: 0.12969917, w: 0.08171689} 270 | m_LocalPosition: {x: 0.3405, y: 0.5794789, z: 1.0752962} 271 | m_LocalScale: {x: 1, y: 1, z: 1} 272 | m_Children: [] 273 | m_Father: {fileID: 0} 274 | m_RootOrder: 0 275 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 276 | --- !u!114 &1268542957 277 | MonoBehaviour: 278 | m_ObjectHideFlags: 0 279 | m_CorrespondingSourceObject: {fileID: 0} 280 | m_PrefabInstance: {fileID: 0} 281 | m_PrefabAsset: {fileID: 0} 282 | m_GameObject: {fileID: 1268542953} 283 | m_Enabled: 1 284 | m_EditorHideFlags: 0 285 | m_Script: {fileID: 11500000, guid: 02be186e7791d2248b7e78bc7ccff6e1, type: 3} 286 | m_Name: 287 | m_EditorClassIdentifier: 288 | HorizontalVerticalSensitivity: 0.1 289 | UpDownSensitivity: 0.015 290 | InvertedY: 0 291 | SpeedMultiplyerOnShiftPressed: 4 292 | -------------------------------------------------------------------------------- /Assets/PointCLouds/PointCloud.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea4599bb288c6e44f87ba439e17ce022 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /Assets/PointCLouds/Points.shader: -------------------------------------------------------------------------------- 1 | Shader "Unlit/Points" 2 | { 3 | Properties 4 | { 5 | } 6 | SubShader 7 | { 8 | Tags { "RenderType"="Opaque" } 9 | LOD 100 10 | Cull Off 11 | 12 | Pass 13 | { 14 | CGPROGRAM 15 | #pragma vertex vert 16 | #pragma fragment frag 17 | 18 | #include "UnityCG.cginc" 19 | 20 | struct ParticleData { 21 | float4 Position; 22 | float4 Color; 23 | }; 24 | 25 | StructuredBuffer _ParticleDataBuff; 26 | float4x4 My_Object2World; 27 | float4 _FogColorc; 28 | float _ParticleSize; 29 | struct v2f 30 | { 31 | float4 color : TEXCOORD0; 32 | float4 vertex : SV_POSITION; 33 | }; 34 | 35 | v2f vert (uint id : SV_VertexID, uint inst : SV_InstanceID) 36 | { 37 | v2f o; 38 | ParticleData p = _ParticleDataBuff[inst]; 39 | 40 | float3 pos = p.Position.xyz; 41 | float size = p.Position.w; 42 | size = (1.0-smoothstep(1000., 0.0 , size))*5.5 +2. ; 43 | size *= _ParticleSize; 44 | float3 upDir = float3(0, 1.,0.)*size; 45 | float3 rightDir = float3(0,0,1.)*size; 46 | float3 forwDir = float3(1, 0, 0)*size; 47 | 48 | 49 | [branch] switch (id) { 50 | case 0: pos = pos - forwDir; break; 51 | case 1: pos = pos + upDir; break; 52 | case 2: pos = pos + rightDir; break; 53 | 54 | case 3: pos = pos - forwDir; break; 55 | case 4: pos = pos + upDir; break; 56 | case 5: pos = pos - rightDir; break; 57 | 58 | case 6: pos = pos - forwDir; break; 59 | case 7: pos = pos + rightDir; break; 60 | case 8: pos = pos - rightDir; break; 61 | 62 | case 9: pos = pos + upDir; break; 63 | case 10: pos = pos + rightDir; break; 64 | case 11: pos = pos - rightDir; break; 65 | }; 66 | 67 | 68 | o.vertex = mul(UNITY_MATRIX_VP, mul(My_Object2World, float4(pos.xyz,1.))); 69 | o.color = lerp( p.Color, _FogColorc, smoothstep(5.,2500.,p.Position.w)); 70 | return o; 71 | } 72 | 73 | fixed4 frag (v2f i) : SV_Target 74 | { 75 | // sample the texture 76 | fixed4 col = i.color; 77 | 78 | return col; 79 | } 80 | ENDCG 81 | } 82 | } 83 | } 84 | -------------------------------------------------------------------------------- /Assets/PointCLouds/Points.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 34c5e3215ef60244c9dab3f55ce65158 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PointCLouds/Skybox.shader: -------------------------------------------------------------------------------- 1 | // Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)' 2 | 3 | Shader "Costume/ProSkybox" 4 | { 5 | Properties 6 | { 7 | _SkyColor1("Top Color", Color) = (0.37, 0.52, 0.73, 0) 8 | _SkyExponent1("Top Exponent", Float) = 2 9 | 10 | _SkyColor2("Horizon Color", Color) = (0.89, 0.96, 1, 0) 11 | 12 | _SkyIntensity("Sky Intensity", Float) = 1.75 13 | 14 | /*_MoonVector("Moon Vector", Vector) = (0.269, 0.615, 0.740, 0)*/ 15 | 16 | //_SunColor("Sun Color", Color) = (1, 0.99, 0.87, 1) 17 | //_SunIntensity("Sun Intensity", Range(0.0,20.0)) = 10.0 18 | } 19 | 20 | CGINCLUDE 21 | 22 | #include "UnityCG.cginc" 23 | 24 | struct appdata 25 | { 26 | float4 position : POSITION; 27 | float3 texcoord : TEXCOORD0; 28 | }; 29 | 30 | struct v2f 31 | { 32 | float4 position : SV_POSITION; 33 | float3 texcoord : TEXCOORD0; 34 | }; 35 | 36 | half3 _SkyColor1; 37 | half _SkyExponent1; 38 | 39 | half3 _SkyColor2; 40 | half _SkyIntensity; 41 | 42 | half3 _MoonVector; 43 | 44 | half3 _SunColor; 45 | half _SunIntensity; 46 | 47 | v2f vert(appdata v) 48 | { 49 | v2f o; 50 | o.position = UnityObjectToClipPos(v.position); 51 | o.texcoord = v.texcoord; 52 | return o; 53 | } 54 | 55 | half4 frag(v2f i) : COLOR 56 | { 57 | float3 v = normalize(i.texcoord); 58 | 59 | float p = v.y; 60 | float p1 = 1 - pow(min(1, 1 - p), pow(0.5, v.x*v.z)); 61 | float p2 = 1 - p1; 62 | 63 | half3 c_sky = _SkyColor1 * p1 + _SkyColor2 * p2; 64 | half3 c_sun = _SunColor * min(pow(max(0, dot(v, _WorldSpaceLightPos0.xyz)), 550), 1); 65 | half3 c_moon = pow(max(0, dot(v, -_WorldSpaceLightPos0.xyz)), 550); 66 | 67 | return half4(c_sky * _SkyIntensity /*+ c_sun * _SunIntensity + c_moon */, 0); 68 | } 69 | 70 | ENDCG 71 | 72 | SubShader 73 | { 74 | Tags{ "RenderType" = "Skybox" "Queue" = "Background" } 75 | Pass 76 | { 77 | ZWrite Off 78 | Cull Off 79 | Fog { Mode Off } 80 | CGPROGRAM 81 | #pragma fragmentoption ARB_precision_hint_fastest 82 | #pragma vertex vert 83 | #pragma fragment frag 84 | ENDCG 85 | } 86 | } 87 | } -------------------------------------------------------------------------------- /Assets/PointCLouds/Skybox.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38be7ffb46f515745baf31e076cd1094 3 | ShaderImporter: 4 | externalObjects: {} 5 | defaultTextures: [] 6 | nonModifiableTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/PointCLouds/Unlit_Points.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_CorrespondingSourceObject: {fileID: 0} 8 | m_PrefabInstance: {fileID: 0} 9 | m_PrefabAsset: {fileID: 0} 10 | m_Name: Unlit_Points 11 | m_Shader: {fileID: 4800000, guid: 34c5e3215ef60244c9dab3f55ce65158, type: 3} 12 | m_ShaderKeywords: 13 | m_LightmapFlags: 4 14 | m_EnableInstancingVariants: 0 15 | m_DoubleSidedGI: 0 16 | m_CustomRenderQueue: -1 17 | stringTagMap: {} 18 | disabledShaderPasses: [] 19 | m_SavedProperties: 20 | serializedVersion: 3 21 | m_TexEnvs: [] 22 | m_Floats: [] 23 | m_Colors: [] 24 | -------------------------------------------------------------------------------- /Assets/PointCLouds/Unlit_Points.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5045dae2b9cf5504386a221da2db70ff 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/PointCLouds/pointCloudMain.compute: -------------------------------------------------------------------------------- 1 | // Each #kernel tells which function to compile; you can have many kernels 2 | #pragma kernel CSMain 3 | 4 | 5 | 6 | // DEFINIATIONS --------------------------------------------------------------------------------------------- 7 | struct ParticleData 8 | { 9 | float4 Position; 10 | float4 Color; 11 | }; 12 | 13 | struct MeshData { 14 | float3 Position; 15 | }; 16 | struct MeshDataUV { 17 | float2 UV; 18 | }; 19 | 20 | 21 | // DECLRATIONS --------------------------------------------------------------------------------------------- 22 | //General stuff 23 | float _Time; 24 | float4 _Color1; 25 | float4 _Color2; 26 | float4 _Color3; 27 | float3 CameraPosition; 28 | float3 CameraForward; 29 | StructuredBuffer _inParticleBuffer; 30 | RWStructuredBuffer _outParticleBuffer; 31 | int _NumberOfParticles; 32 | float meshOneTwoTransition; 33 | 34 | 35 | //Mesh One 36 | int _CachePointVertexcoundOne; 37 | float4 _transformInfoOne; 38 | StructuredBuffer _MeshDataOne; 39 | StructuredBuffer _MeshDataUVOne; 40 | 41 | Texture2D _MeshTextureOne; 42 | SamplerState sampler_MeshTextureOne 43 | { 44 | Filter = MIN_MAG_MIP_LINEAR; 45 | AddressU = Clamp; 46 | AddressV = Clamp; 47 | }; 48 | 49 | //Mesh Two 50 | int _CachePointVertexcoundTwo; 51 | float4 _transformInfoTwo; 52 | StructuredBuffer _MeshDataTwo; 53 | StructuredBuffer _MeshDataUVTwo; 54 | 55 | Texture2D _MeshTextureTwo; 56 | SamplerState sampler_MeshTextureTwo 57 | { 58 | Filter = MIN_MAG_MIP_LINEAR; 59 | AddressU = Clamp; 60 | AddressV = Clamp; 61 | }; 62 | 63 | // HELPER FUNCTIONS -------------------------------------------------------------------------------------------- 64 | 65 | 66 | float4 SampleFromColorScheme(float r1, float r2, float4 _Color1, float4 _Color2, float4 _Color3) { 67 | return (1. - sqrt(r1))*_Color1 + (sqrt(r1)*(1. - r2))*_Color2 + (r2*sqrt(r1)) * _Color3; 68 | } 69 | 70 | float randOneD(float seed) { 71 | return frac(sin(seed*21.)*61.); 72 | } 73 | float3 rgb2hsv(float3 c) 74 | { 75 | float4 K = float4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0); 76 | float4 p = lerp(float4(c.bg, K.wz), float4(c.gb, K.xy), step(c.b, c.g)); 77 | float4 q = lerp(float4(p.xyw, c.r), float4(c.r, p.yzx), step(p.x, c.r)); 78 | 79 | float d = q.x - min(q.w, q.y); 80 | float e = 1.0e-10; 81 | return float3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x); 82 | } 83 | 84 | // MAIN PARTICLE LOOP -------------------------------------------------------------------------------------------- 85 | 86 | [numthreads(10,1,1)] 87 | void CSMain (uint3 id : SV_DispatchThreadID) 88 | { 89 | 90 | ParticleData pIn = _inParticleBuffer[id.x]; 91 | float r = frac(float(id.x)); 92 | float c = floor(float(id.x) ); 93 | 94 | // Mesh One 95 | float stride = ((float)_CachePointVertexcoundOne)/((float)_NumberOfParticles); 96 | stride = max(1., stride); 97 | stride = id.x * floor(stride); 98 | float3 cachePosOne = _MeshDataOne[floor(stride)].Position * _transformInfoOne.w + _transformInfoOne.xyz; 99 | float2 uv = _MeshDataUVOne[floor(stride)].UV; 100 | float4 colorOne = _MeshTextureOne.SampleLevel(sampler_MeshTextureOne, uv, 0); 101 | 102 | //Mesh Two 103 | stride = ((float)_CachePointVertexcoundTwo) / ((float)_NumberOfParticles); 104 | stride = max(1., stride); 105 | stride = id.x * floor(stride); 106 | float3 cachePosTwo = _MeshDataTwo[floor(stride)].Position* _transformInfoTwo.w + _transformInfoTwo.xyz; 107 | uv = _MeshDataUVTwo[floor(stride)].UV; 108 | float4 colorTwo = _MeshTextureTwo.SampleLevel(sampler_MeshTextureTwo, uv, 0); 109 | 110 | //Set color and position 111 | pIn.Color = lerp(colorOne, colorTwo, meshOneTwoTransition); 112 | pIn.Position.xyz = lerp(cachePosOne, cachePosTwo, meshOneTwoTransition); 113 | 114 | //Passing info to the vertex shaders of the particles, I was using this to adjust particle size and fog 115 | float dToCam = distance(CameraPosition.xz, pIn.Position.xz); 116 | pIn.Position.w = dToCam; 117 | dToCam = smoothstep(5., 1000., dToCam); 118 | 119 | // Colorazations 120 | colorOne.xyz = rgb2hsv(pIn.Color.xyz); 121 | pIn.Color = lerp(pIn.Color, SampleFromColorScheme(colorOne.y, colorOne.z, _Color1, _Color2, _Color3) , _Color1.a); 122 | 123 | _outParticleBuffer[id.x] = pIn; 124 | } 125 | -------------------------------------------------------------------------------- /Assets/PointCLouds/pointCloudMain.compute.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 373802ad4a06f354da78d46b55eb9c6f 3 | ComputeShaderImporter: 4 | externalObjects: {} 5 | currentAPIMask: 4 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright 2019 Shahriar Shahrabi 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), 4 | to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, 5 | sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 8 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 9 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /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: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: [] 8 | m_configObjects: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Hidden Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Axes: 8 | - serializedVersion: 3 9 | m_Name: Horizontal 10 | descriptiveName: 11 | descriptiveNegativeName: 12 | negativeButton: left 13 | positiveButton: right 14 | altNegativeButton: a 15 | altPositiveButton: d 16 | gravity: 3 17 | dead: 0.001 18 | sensitivity: 3 19 | snap: 1 20 | invert: 0 21 | type: 0 22 | axis: 0 23 | joyNum: 0 24 | - serializedVersion: 3 25 | m_Name: Vertical 26 | descriptiveName: 27 | descriptiveNegativeName: 28 | negativeButton: down 29 | positiveButton: up 30 | altNegativeButton: s 31 | altPositiveButton: w 32 | gravity: 3 33 | dead: 0.001 34 | sensitivity: 3 35 | snap: 1 36 | invert: 0 37 | type: 0 38 | axis: 0 39 | joyNum: 0 40 | - serializedVersion: 3 41 | m_Name: Fire1 42 | descriptiveName: 43 | descriptiveNegativeName: 44 | negativeButton: 45 | positiveButton: left ctrl 46 | altNegativeButton: 47 | altPositiveButton: mouse 0 48 | gravity: 1000 49 | dead: 0.001 50 | sensitivity: 1000 51 | snap: 0 52 | invert: 0 53 | type: 0 54 | axis: 0 55 | joyNum: 0 56 | - serializedVersion: 3 57 | m_Name: Fire2 58 | descriptiveName: 59 | descriptiveNegativeName: 60 | negativeButton: 61 | positiveButton: left alt 62 | altNegativeButton: 63 | altPositiveButton: mouse 1 64 | gravity: 1000 65 | dead: 0.001 66 | sensitivity: 1000 67 | snap: 0 68 | invert: 0 69 | type: 0 70 | axis: 0 71 | joyNum: 0 72 | - serializedVersion: 3 73 | m_Name: Fire3 74 | descriptiveName: 75 | descriptiveNegativeName: 76 | negativeButton: 77 | positiveButton: left shift 78 | altNegativeButton: 79 | altPositiveButton: mouse 2 80 | gravity: 1000 81 | dead: 0.001 82 | sensitivity: 1000 83 | snap: 0 84 | invert: 0 85 | type: 0 86 | axis: 0 87 | joyNum: 0 88 | - serializedVersion: 3 89 | m_Name: Jump 90 | descriptiveName: 91 | descriptiveNegativeName: 92 | negativeButton: 93 | positiveButton: space 94 | altNegativeButton: 95 | altPositiveButton: 96 | gravity: 1000 97 | dead: 0.001 98 | sensitivity: 1000 99 | snap: 0 100 | invert: 0 101 | type: 0 102 | axis: 0 103 | joyNum: 0 104 | - serializedVersion: 3 105 | m_Name: Mouse X 106 | descriptiveName: 107 | descriptiveNegativeName: 108 | negativeButton: 109 | positiveButton: 110 | altNegativeButton: 111 | altPositiveButton: 112 | gravity: 0 113 | dead: 0 114 | sensitivity: 0.1 115 | snap: 0 116 | invert: 0 117 | type: 1 118 | axis: 0 119 | joyNum: 0 120 | - serializedVersion: 3 121 | m_Name: Mouse Y 122 | descriptiveName: 123 | descriptiveNegativeName: 124 | negativeButton: 125 | positiveButton: 126 | altNegativeButton: 127 | altPositiveButton: 128 | gravity: 0 129 | dead: 0 130 | sensitivity: 0.1 131 | snap: 0 132 | invert: 0 133 | type: 1 134 | axis: 1 135 | joyNum: 0 136 | - serializedVersion: 3 137 | m_Name: Mouse ScrollWheel 138 | descriptiveName: 139 | descriptiveNegativeName: 140 | negativeButton: 141 | positiveButton: 142 | altNegativeButton: 143 | altPositiveButton: 144 | gravity: 0 145 | dead: 0 146 | sensitivity: 0.1 147 | snap: 0 148 | invert: 0 149 | type: 1 150 | axis: 2 151 | joyNum: 0 152 | - serializedVersion: 3 153 | m_Name: Horizontal 154 | descriptiveName: 155 | descriptiveNegativeName: 156 | negativeButton: 157 | positiveButton: 158 | altNegativeButton: 159 | altPositiveButton: 160 | gravity: 0 161 | dead: 0.19 162 | sensitivity: 1 163 | snap: 0 164 | invert: 0 165 | type: 2 166 | axis: 0 167 | joyNum: 0 168 | - serializedVersion: 3 169 | m_Name: Vertical 170 | descriptiveName: 171 | descriptiveNegativeName: 172 | negativeButton: 173 | positiveButton: 174 | altNegativeButton: 175 | altPositiveButton: 176 | gravity: 0 177 | dead: 0.19 178 | sensitivity: 1 179 | snap: 0 180 | invert: 1 181 | type: 2 182 | axis: 1 183 | joyNum: 0 184 | - serializedVersion: 3 185 | m_Name: Fire1 186 | descriptiveName: 187 | descriptiveNegativeName: 188 | negativeButton: 189 | positiveButton: joystick button 0 190 | altNegativeButton: 191 | altPositiveButton: 192 | gravity: 1000 193 | dead: 0.001 194 | sensitivity: 1000 195 | snap: 0 196 | invert: 0 197 | type: 0 198 | axis: 0 199 | joyNum: 0 200 | - serializedVersion: 3 201 | m_Name: Fire2 202 | descriptiveName: 203 | descriptiveNegativeName: 204 | negativeButton: 205 | positiveButton: joystick button 1 206 | altNegativeButton: 207 | altPositiveButton: 208 | gravity: 1000 209 | dead: 0.001 210 | sensitivity: 1000 211 | snap: 0 212 | invert: 0 213 | type: 0 214 | axis: 0 215 | joyNum: 0 216 | - serializedVersion: 3 217 | m_Name: Fire3 218 | descriptiveName: 219 | descriptiveNegativeName: 220 | negativeButton: 221 | positiveButton: joystick button 2 222 | altNegativeButton: 223 | altPositiveButton: 224 | gravity: 1000 225 | dead: 0.001 226 | sensitivity: 1000 227 | snap: 0 228 | invert: 0 229 | type: 0 230 | axis: 0 231 | joyNum: 0 232 | - serializedVersion: 3 233 | m_Name: Jump 234 | descriptiveName: 235 | descriptiveNegativeName: 236 | negativeButton: 237 | positiveButton: joystick button 3 238 | altNegativeButton: 239 | altPositiveButton: 240 | gravity: 1000 241 | dead: 0.001 242 | sensitivity: 1000 243 | snap: 0 244 | invert: 0 245 | type: 0 246 | axis: 0 247 | joyNum: 0 248 | - serializedVersion: 3 249 | m_Name: Submit 250 | descriptiveName: 251 | descriptiveNegativeName: 252 | negativeButton: 253 | positiveButton: return 254 | altNegativeButton: 255 | altPositiveButton: joystick button 0 256 | gravity: 1000 257 | dead: 0.001 258 | sensitivity: 1000 259 | snap: 0 260 | invert: 0 261 | type: 0 262 | axis: 0 263 | joyNum: 0 264 | - serializedVersion: 3 265 | m_Name: Submit 266 | descriptiveName: 267 | descriptiveNegativeName: 268 | negativeButton: 269 | positiveButton: enter 270 | altNegativeButton: 271 | altPositiveButton: space 272 | gravity: 1000 273 | dead: 0.001 274 | sensitivity: 1000 275 | snap: 0 276 | invert: 0 277 | type: 0 278 | axis: 0 279 | joyNum: 0 280 | - serializedVersion: 3 281 | m_Name: Cancel 282 | descriptiveName: 283 | descriptiveNegativeName: 284 | negativeButton: 285 | positiveButton: escape 286 | altNegativeButton: 287 | altPositiveButton: joystick button 1 288 | gravity: 1000 289 | dead: 0.001 290 | sensitivity: 1000 291 | snap: 0 292 | invert: 0 293 | type: 0 294 | axis: 0 295 | joyNum: 0 296 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 0 25 | useConsistencySorting: 0 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_ReuseCollisionCallbacks: 1 46 | m_AutoSyncTransforms: 0 47 | m_AlwaysShowColliders: 0 48 | m_ShowColliderSleep: 1 49 | m_ShowColliderContacts: 0 50 | m_ShowColliderAABB: 0 51 | m_ContactArrowScale: 0.2 52 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 53 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 54 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 55 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 56 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 57 | -------------------------------------------------------------------------------- /ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 17 7 | productGUID: 5dde89a98d19c6b4ab2f57785124571c 8 | AndroidProfiler: 0 9 | AndroidFilterTouchesWhenObscured: 0 10 | AndroidEnableSustainedPerformanceMode: 0 11 | defaultScreenOrientation: 4 12 | targetDevice: 2 13 | useOnDemandResources: 0 14 | accelerometerFrequency: 60 15 | companyName: DefaultCompany 16 | productName: ComputeParticles 17 | defaultCursor: {fileID: 0} 18 | cursorHotspot: {x: 0, y: 0} 19 | m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} 20 | m_ShowUnitySplashScreen: 1 21 | m_ShowUnitySplashLogo: 1 22 | m_SplashScreenOverlayOpacity: 1 23 | m_SplashScreenAnimation: 1 24 | m_SplashScreenLogoStyle: 1 25 | m_SplashScreenDrawMode: 0 26 | m_SplashScreenBackgroundAnimationZoom: 1 27 | m_SplashScreenLogoAnimationZoom: 1 28 | m_SplashScreenBackgroundLandscapeAspect: 1 29 | m_SplashScreenBackgroundPortraitAspect: 1 30 | m_SplashScreenBackgroundLandscapeUvs: 31 | serializedVersion: 2 32 | x: 0 33 | y: 0 34 | width: 1 35 | height: 1 36 | m_SplashScreenBackgroundPortraitUvs: 37 | serializedVersion: 2 38 | x: 0 39 | y: 0 40 | width: 1 41 | height: 1 42 | m_SplashScreenLogos: [] 43 | m_VirtualRealitySplashScreen: {fileID: 0} 44 | m_HolographicTrackingLossScreen: {fileID: 0} 45 | defaultScreenWidth: 1024 46 | defaultScreenHeight: 768 47 | defaultScreenWidthWeb: 960 48 | defaultScreenHeightWeb: 600 49 | m_StereoRenderingPath: 0 50 | m_ActiveColorSpace: 0 51 | m_MTRendering: 1 52 | m_StackTraceTypes: 010000000100000001000000010000000100000001000000 53 | iosShowActivityIndicatorOnLoading: -1 54 | androidShowActivityIndicatorOnLoading: -1 55 | iosAppInBackgroundBehavior: 0 56 | displayResolutionDialog: 0 57 | iosAllowHTTPDownload: 1 58 | allowedAutorotateToPortrait: 1 59 | allowedAutorotateToPortraitUpsideDown: 1 60 | allowedAutorotateToLandscapeRight: 1 61 | allowedAutorotateToLandscapeLeft: 1 62 | useOSAutorotation: 1 63 | use32BitDisplayBuffer: 1 64 | preserveFramebufferAlpha: 0 65 | disableDepthAndStencilBuffers: 0 66 | androidStartInFullscreen: 1 67 | androidRenderOutsideSafeArea: 1 68 | androidUseSwappy: 0 69 | androidBlitType: 0 70 | defaultIsNativeResolution: 1 71 | macRetinaSupport: 1 72 | runInBackground: 1 73 | captureSingleScreen: 0 74 | muteOtherAudioSources: 0 75 | Prepare IOS For Recording: 0 76 | Force IOS Speakers When Recording: 0 77 | deferSystemGesturesMode: 0 78 | hideHomeButton: 0 79 | submitAnalytics: 1 80 | usePlayerLog: 1 81 | bakeCollisionMeshes: 0 82 | forceSingleInstance: 0 83 | resizableWindow: 0 84 | useMacAppStoreValidation: 0 85 | macAppStoreCategory: public.app-category.games 86 | gpuSkinning: 1 87 | graphicsJobs: 0 88 | xboxPIXTextureCapture: 0 89 | xboxEnableAvatar: 0 90 | xboxEnableKinect: 0 91 | xboxEnableKinectAutoTracking: 0 92 | xboxEnableFitness: 0 93 | visibleInBackground: 1 94 | allowFullscreenSwitch: 1 95 | graphicsJobMode: 0 96 | fullscreenMode: 1 97 | xboxSpeechDB: 0 98 | xboxEnableHeadOrientation: 0 99 | xboxEnableGuest: 0 100 | xboxEnablePIXSampling: 0 101 | metalFramebufferOnly: 0 102 | xboxOneResolution: 0 103 | xboxOneSResolution: 0 104 | xboxOneXResolution: 3 105 | xboxOneMonoLoggingLevel: 0 106 | xboxOneLoggingLevel: 1 107 | xboxOneDisableEsram: 0 108 | xboxOnePresentImmediateThreshold: 0 109 | switchQueueCommandMemory: 0 110 | switchQueueControlMemory: 16384 111 | switchQueueComputeMemory: 262144 112 | switchNVNShaderPoolsGranularity: 33554432 113 | switchNVNDefaultPoolsGranularity: 16777216 114 | switchNVNOtherPoolsGranularity: 16777216 115 | vulkanEnableSetSRGBWrite: 0 116 | m_SupportedAspectRatios: 117 | 4:3: 1 118 | 5:4: 1 119 | 16:10: 1 120 | 16:9: 1 121 | Others: 1 122 | bundleVersion: 0.1 123 | preloadedAssets: [] 124 | metroInputSource: 0 125 | wsaTransparentSwapchain: 0 126 | m_HolographicPauseOnTrackingLoss: 1 127 | xboxOneDisableKinectGpuReservation: 1 128 | xboxOneEnable7thCore: 1 129 | vrSettings: 130 | cardboard: 131 | depthFormat: 0 132 | enableTransitionView: 0 133 | daydream: 134 | depthFormat: 0 135 | useSustainedPerformanceMode: 0 136 | enableVideoLayer: 0 137 | useProtectedVideoMemory: 0 138 | minimumSupportedHeadTracking: 0 139 | maximumSupportedHeadTracking: 1 140 | hololens: 141 | depthFormat: 1 142 | depthBufferSharingEnabled: 1 143 | lumin: 144 | depthFormat: 0 145 | frameTiming: 2 146 | enableGLCache: 0 147 | glCacheMaxBlobSize: 524288 148 | glCacheMaxFileSize: 8388608 149 | oculus: 150 | sharedDepthBuffer: 1 151 | dashSupport: 1 152 | lowOverheadMode: 0 153 | enable360StereoCapture: 0 154 | isWsaHolographicRemotingEnabled: 0 155 | protectGraphicsMemory: 0 156 | enableFrameTimingStats: 0 157 | useHDRDisplay: 0 158 | m_ColorGamuts: 00000000 159 | targetPixelDensity: 30 160 | resolutionScalingMode: 0 161 | androidSupportedAspectRatio: 1 162 | androidMaxAspectRatio: 2.1 163 | applicationIdentifier: {} 164 | buildNumber: {} 165 | AndroidBundleVersionCode: 1 166 | AndroidMinSdkVersion: 16 167 | AndroidTargetSdkVersion: 0 168 | AndroidPreferredInstallLocation: 1 169 | aotOptions: 170 | stripEngineCode: 1 171 | iPhoneStrippingLevel: 0 172 | iPhoneScriptCallOptimization: 0 173 | ForceInternetPermission: 0 174 | ForceSDCardPermission: 0 175 | CreateWallpaper: 0 176 | APKExpansionFiles: 0 177 | keepLoadedShadersAlive: 0 178 | StripUnusedMeshComponents: 1 179 | VertexChannelCompressionMask: 4054 180 | iPhoneSdkVersion: 988 181 | iOSTargetOSVersionString: 9.0 182 | tvOSSdkVersion: 0 183 | tvOSRequireExtendedGameController: 0 184 | tvOSTargetOSVersionString: 9.0 185 | uIPrerenderedIcon: 0 186 | uIRequiresPersistentWiFi: 0 187 | uIRequiresFullScreen: 1 188 | uIStatusBarHidden: 1 189 | uIExitOnSuspend: 0 190 | uIStatusBarStyle: 0 191 | iPhoneSplashScreen: {fileID: 0} 192 | iPhoneHighResSplashScreen: {fileID: 0} 193 | iPhoneTallHighResSplashScreen: {fileID: 0} 194 | iPhone47inSplashScreen: {fileID: 0} 195 | iPhone55inPortraitSplashScreen: {fileID: 0} 196 | iPhone55inLandscapeSplashScreen: {fileID: 0} 197 | iPhone58inPortraitSplashScreen: {fileID: 0} 198 | iPhone58inLandscapeSplashScreen: {fileID: 0} 199 | iPadPortraitSplashScreen: {fileID: 0} 200 | iPadHighResPortraitSplashScreen: {fileID: 0} 201 | iPadLandscapeSplashScreen: {fileID: 0} 202 | iPadHighResLandscapeSplashScreen: {fileID: 0} 203 | iPhone65inPortraitSplashScreen: {fileID: 0} 204 | iPhone65inLandscapeSplashScreen: {fileID: 0} 205 | iPhone61inPortraitSplashScreen: {fileID: 0} 206 | iPhone61inLandscapeSplashScreen: {fileID: 0} 207 | appleTVSplashScreen: {fileID: 0} 208 | appleTVSplashScreen2x: {fileID: 0} 209 | tvOSSmallIconLayers: [] 210 | tvOSSmallIconLayers2x: [] 211 | tvOSLargeIconLayers: [] 212 | tvOSLargeIconLayers2x: [] 213 | tvOSTopShelfImageLayers: [] 214 | tvOSTopShelfImageLayers2x: [] 215 | tvOSTopShelfImageWideLayers: [] 216 | tvOSTopShelfImageWideLayers2x: [] 217 | iOSLaunchScreenType: 0 218 | iOSLaunchScreenPortrait: {fileID: 0} 219 | iOSLaunchScreenLandscape: {fileID: 0} 220 | iOSLaunchScreenBackgroundColor: 221 | serializedVersion: 2 222 | rgba: 0 223 | iOSLaunchScreenFillPct: 100 224 | iOSLaunchScreenSize: 100 225 | iOSLaunchScreenCustomXibPath: 226 | iOSLaunchScreeniPadType: 0 227 | iOSLaunchScreeniPadImage: {fileID: 0} 228 | iOSLaunchScreeniPadBackgroundColor: 229 | serializedVersion: 2 230 | rgba: 0 231 | iOSLaunchScreeniPadFillPct: 100 232 | iOSLaunchScreeniPadSize: 100 233 | iOSLaunchScreeniPadCustomXibPath: 234 | iOSUseLaunchScreenStoryboard: 0 235 | iOSLaunchScreenCustomStoryboardPath: 236 | iOSDeviceRequirements: [] 237 | iOSURLSchemes: [] 238 | iOSBackgroundModes: 0 239 | iOSMetalForceHardShadows: 0 240 | metalEditorSupport: 1 241 | metalAPIValidation: 1 242 | iOSRenderExtraFrameOnPause: 0 243 | appleDeveloperTeamID: 244 | iOSManualSigningProvisioningProfileID: 245 | tvOSManualSigningProvisioningProfileID: 246 | iOSManualSigningProvisioningProfileType: 0 247 | tvOSManualSigningProvisioningProfileType: 0 248 | appleEnableAutomaticSigning: 0 249 | iOSRequireARKit: 0 250 | iOSAutomaticallyDetectAndAddCapabilities: 1 251 | appleEnableProMotion: 0 252 | clonedFromGUID: c0afd0d1d80e3634a9dac47e8a0426ea 253 | templatePackageId: com.unity.template.3d@3.1.0 254 | templateDefaultScene: Assets/Scenes/SampleScene.unity 255 | AndroidTargetArchitectures: 1 256 | AndroidSplashScreenScale: 0 257 | androidSplashScreen: {fileID: 0} 258 | AndroidKeystoreName: '{inproject}: ' 259 | AndroidKeyaliasName: 260 | AndroidBuildApkPerCpuArchitecture: 0 261 | AndroidTVCompatibility: 0 262 | AndroidIsGame: 1 263 | AndroidEnableTango: 0 264 | androidEnableBanner: 1 265 | androidUseLowAccuracyLocation: 0 266 | androidUseCustomKeystore: 0 267 | m_AndroidBanners: 268 | - width: 320 269 | height: 180 270 | banner: {fileID: 0} 271 | androidGamepadSupportLevel: 0 272 | AndroidValidateAppBundleSize: 1 273 | AndroidAppBundleSizeToValidate: 100 274 | resolutionDialogBanner: {fileID: 0} 275 | m_BuildTargetIcons: [] 276 | m_BuildTargetPlatformIcons: [] 277 | m_BuildTargetBatching: 278 | - m_BuildTarget: Standalone 279 | m_StaticBatching: 1 280 | m_DynamicBatching: 0 281 | - m_BuildTarget: tvOS 282 | m_StaticBatching: 1 283 | m_DynamicBatching: 0 284 | - m_BuildTarget: Android 285 | m_StaticBatching: 1 286 | m_DynamicBatching: 0 287 | - m_BuildTarget: iPhone 288 | m_StaticBatching: 1 289 | m_DynamicBatching: 0 290 | - m_BuildTarget: WebGL 291 | m_StaticBatching: 0 292 | m_DynamicBatching: 0 293 | m_BuildTargetGraphicsAPIs: 294 | - m_BuildTarget: AndroidPlayer 295 | m_APIs: 150000000b000000 296 | m_Automatic: 0 297 | - m_BuildTarget: iOSSupport 298 | m_APIs: 10000000 299 | m_Automatic: 1 300 | - m_BuildTarget: AppleTVSupport 301 | m_APIs: 10000000 302 | m_Automatic: 0 303 | - m_BuildTarget: WebGLSupport 304 | m_APIs: 0b000000 305 | m_Automatic: 1 306 | m_BuildTargetVRSettings: 307 | - m_BuildTarget: Standalone 308 | m_Enabled: 1 309 | m_Devices: 310 | - Oculus 311 | - OpenVR 312 | openGLRequireES31: 0 313 | openGLRequireES31AEP: 0 314 | openGLRequireES32: 0 315 | vuforiaEnabled: 0 316 | m_TemplateCustomTags: {} 317 | mobileMTRendering: 318 | Android: 1 319 | iPhone: 1 320 | tvOS: 1 321 | m_BuildTargetGroupLightmapEncodingQuality: [] 322 | m_BuildTargetGroupLightmapSettings: [] 323 | playModeTestRunnerEnabled: 0 324 | runPlayModeTestAsEditModeTest: 0 325 | actionOnDotNetUnhandledException: 1 326 | enableInternalProfiler: 0 327 | logObjCUncaughtExceptions: 1 328 | enableCrashReportAPI: 0 329 | cameraUsageDescription: 330 | locationUsageDescription: 331 | microphoneUsageDescription: 332 | switchNetLibKey: 333 | switchSocketMemoryPoolSize: 6144 334 | switchSocketAllocatorPoolSize: 128 335 | switchSocketConcurrencyLimit: 14 336 | switchScreenResolutionBehavior: 2 337 | switchUseCPUProfiler: 0 338 | switchApplicationID: 0x01004b9000490000 339 | switchNSODependencies: 340 | switchTitleNames_0: 341 | switchTitleNames_1: 342 | switchTitleNames_2: 343 | switchTitleNames_3: 344 | switchTitleNames_4: 345 | switchTitleNames_5: 346 | switchTitleNames_6: 347 | switchTitleNames_7: 348 | switchTitleNames_8: 349 | switchTitleNames_9: 350 | switchTitleNames_10: 351 | switchTitleNames_11: 352 | switchTitleNames_12: 353 | switchTitleNames_13: 354 | switchTitleNames_14: 355 | switchPublisherNames_0: 356 | switchPublisherNames_1: 357 | switchPublisherNames_2: 358 | switchPublisherNames_3: 359 | switchPublisherNames_4: 360 | switchPublisherNames_5: 361 | switchPublisherNames_6: 362 | switchPublisherNames_7: 363 | switchPublisherNames_8: 364 | switchPublisherNames_9: 365 | switchPublisherNames_10: 366 | switchPublisherNames_11: 367 | switchPublisherNames_12: 368 | switchPublisherNames_13: 369 | switchPublisherNames_14: 370 | switchIcons_0: {fileID: 0} 371 | switchIcons_1: {fileID: 0} 372 | switchIcons_2: {fileID: 0} 373 | switchIcons_3: {fileID: 0} 374 | switchIcons_4: {fileID: 0} 375 | switchIcons_5: {fileID: 0} 376 | switchIcons_6: {fileID: 0} 377 | switchIcons_7: {fileID: 0} 378 | switchIcons_8: {fileID: 0} 379 | switchIcons_9: {fileID: 0} 380 | switchIcons_10: {fileID: 0} 381 | switchIcons_11: {fileID: 0} 382 | switchIcons_12: {fileID: 0} 383 | switchIcons_13: {fileID: 0} 384 | switchIcons_14: {fileID: 0} 385 | switchSmallIcons_0: {fileID: 0} 386 | switchSmallIcons_1: {fileID: 0} 387 | switchSmallIcons_2: {fileID: 0} 388 | switchSmallIcons_3: {fileID: 0} 389 | switchSmallIcons_4: {fileID: 0} 390 | switchSmallIcons_5: {fileID: 0} 391 | switchSmallIcons_6: {fileID: 0} 392 | switchSmallIcons_7: {fileID: 0} 393 | switchSmallIcons_8: {fileID: 0} 394 | switchSmallIcons_9: {fileID: 0} 395 | switchSmallIcons_10: {fileID: 0} 396 | switchSmallIcons_11: {fileID: 0} 397 | switchSmallIcons_12: {fileID: 0} 398 | switchSmallIcons_13: {fileID: 0} 399 | switchSmallIcons_14: {fileID: 0} 400 | switchManualHTML: 401 | switchAccessibleURLs: 402 | switchLegalInformation: 403 | switchMainThreadStackSize: 1048576 404 | switchPresenceGroupId: 405 | switchLogoHandling: 0 406 | switchReleaseVersion: 0 407 | switchDisplayVersion: 1.0.0 408 | switchStartupUserAccount: 0 409 | switchTouchScreenUsage: 0 410 | switchSupportedLanguagesMask: 0 411 | switchLogoType: 0 412 | switchApplicationErrorCodeCategory: 413 | switchUserAccountSaveDataSize: 0 414 | switchUserAccountSaveDataJournalSize: 0 415 | switchApplicationAttribute: 0 416 | switchCardSpecSize: -1 417 | switchCardSpecClock: -1 418 | switchRatingsMask: 0 419 | switchRatingsInt_0: 0 420 | switchRatingsInt_1: 0 421 | switchRatingsInt_2: 0 422 | switchRatingsInt_3: 0 423 | switchRatingsInt_4: 0 424 | switchRatingsInt_5: 0 425 | switchRatingsInt_6: 0 426 | switchRatingsInt_7: 0 427 | switchRatingsInt_8: 0 428 | switchRatingsInt_9: 0 429 | switchRatingsInt_10: 0 430 | switchRatingsInt_11: 0 431 | switchLocalCommunicationIds_0: 432 | switchLocalCommunicationIds_1: 433 | switchLocalCommunicationIds_2: 434 | switchLocalCommunicationIds_3: 435 | switchLocalCommunicationIds_4: 436 | switchLocalCommunicationIds_5: 437 | switchLocalCommunicationIds_6: 438 | switchLocalCommunicationIds_7: 439 | switchParentalControl: 0 440 | switchAllowsScreenshot: 1 441 | switchAllowsVideoCapturing: 1 442 | switchAllowsRuntimeAddOnContentInstall: 0 443 | switchDataLossConfirmation: 0 444 | switchUserAccountLockEnabled: 0 445 | switchSystemResourceMemory: 16777216 446 | switchSupportedNpadStyles: 3 447 | switchNativeFsCacheSize: 32 448 | switchIsHoldTypeHorizontal: 0 449 | switchSupportedNpadCount: 8 450 | switchSocketConfigEnabled: 0 451 | switchTcpInitialSendBufferSize: 32 452 | switchTcpInitialReceiveBufferSize: 64 453 | switchTcpAutoSendBufferSizeMax: 256 454 | switchTcpAutoReceiveBufferSizeMax: 256 455 | switchUdpSendBufferSize: 9 456 | switchUdpReceiveBufferSize: 42 457 | switchSocketBufferEfficiency: 4 458 | switchSocketInitializeEnabled: 1 459 | switchNetworkInterfaceManagerInitializeEnabled: 1 460 | switchPlayerConnectionEnabled: 1 461 | ps4NPAgeRating: 12 462 | ps4NPTitleSecret: 463 | ps4NPTrophyPackPath: 464 | ps4ParentalLevel: 11 465 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 466 | ps4Category: 0 467 | ps4MasterVersion: 01.00 468 | ps4AppVersion: 01.00 469 | ps4AppType: 0 470 | ps4ParamSfxPath: 471 | ps4VideoOutPixelFormat: 0 472 | ps4VideoOutInitialWidth: 1920 473 | ps4VideoOutBaseModeInitialWidth: 1920 474 | ps4VideoOutReprojectionRate: 60 475 | ps4PronunciationXMLPath: 476 | ps4PronunciationSIGPath: 477 | ps4BackgroundImagePath: 478 | ps4StartupImagePath: 479 | ps4StartupImagesFolder: 480 | ps4IconImagesFolder: 481 | ps4SaveDataImagePath: 482 | ps4SdkOverride: 483 | ps4BGMPath: 484 | ps4ShareFilePath: 485 | ps4ShareOverlayImagePath: 486 | ps4PrivacyGuardImagePath: 487 | ps4NPtitleDatPath: 488 | ps4RemotePlayKeyAssignment: -1 489 | ps4RemotePlayKeyMappingDir: 490 | ps4PlayTogetherPlayerCount: 0 491 | ps4EnterButtonAssignment: 1 492 | ps4ApplicationParam1: 0 493 | ps4ApplicationParam2: 0 494 | ps4ApplicationParam3: 0 495 | ps4ApplicationParam4: 0 496 | ps4DownloadDataSize: 0 497 | ps4GarlicHeapSize: 2048 498 | ps4ProGarlicHeapSize: 2560 499 | playerPrefsMaxSize: 32768 500 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 501 | ps4pnSessions: 1 502 | ps4pnPresence: 1 503 | ps4pnFriends: 1 504 | ps4pnGameCustomData: 1 505 | playerPrefsSupport: 0 506 | enableApplicationExit: 0 507 | resetTempFolder: 1 508 | restrictedAudioUsageRights: 0 509 | ps4UseResolutionFallback: 0 510 | ps4ReprojectionSupport: 0 511 | ps4UseAudio3dBackend: 0 512 | ps4SocialScreenEnabled: 0 513 | ps4ScriptOptimizationLevel: 0 514 | ps4Audio3dVirtualSpeakerCount: 14 515 | ps4attribCpuUsage: 0 516 | ps4PatchPkgPath: 517 | ps4PatchLatestPkgPath: 518 | ps4PatchChangeinfoPath: 519 | ps4PatchDayOne: 0 520 | ps4attribUserManagement: 0 521 | ps4attribMoveSupport: 0 522 | ps4attrib3DSupport: 0 523 | ps4attribShareSupport: 0 524 | ps4attribExclusiveVR: 0 525 | ps4disableAutoHideSplash: 0 526 | ps4videoRecordingFeaturesUsed: 0 527 | ps4contentSearchFeaturesUsed: 0 528 | ps4attribEyeToEyeDistanceSettingVR: 0 529 | ps4IncludedModules: [] 530 | monoEnv: 531 | splashScreenBackgroundSourceLandscape: {fileID: 0} 532 | splashScreenBackgroundSourcePortrait: {fileID: 0} 533 | blurSplashScreenBackground: 1 534 | spritePackerPolicy: 535 | webGLMemorySize: 16 536 | webGLExceptionSupport: 1 537 | webGLNameFilesAsHashes: 0 538 | webGLDataCaching: 1 539 | webGLDebugSymbols: 0 540 | webGLEmscriptenArgs: 541 | webGLModulesDirectory: 542 | webGLTemplate: APPLICATION:Default 543 | webGLAnalyzeBuildSize: 0 544 | webGLUseEmbeddedResources: 0 545 | webGLCompressionFormat: 1 546 | webGLLinkerTarget: 1 547 | webGLThreadsSupport: 0 548 | webGLWasmStreaming: 0 549 | scriptingDefineSymbols: 550 | 1: UNITY_POST_PROCESSING_STACK_V2 551 | 7: UNITY_POST_PROCESSING_STACK_V2 552 | 13: UNITY_POST_PROCESSING_STACK_V2 553 | 19: UNITY_POST_PROCESSING_STACK_V2 554 | 21: UNITY_POST_PROCESSING_STACK_V2 555 | 25: UNITY_POST_PROCESSING_STACK_V2 556 | 26: UNITY_POST_PROCESSING_STACK_V2 557 | 27: UNITY_POST_PROCESSING_STACK_V2 558 | 28: UNITY_POST_PROCESSING_STACK_V2 559 | 29: UNITY_POST_PROCESSING_STACK_V2 560 | platformArchitecture: {} 561 | scriptingBackend: {} 562 | il2cppCompilerConfiguration: {} 563 | managedStrippingLevel: {} 564 | incrementalIl2cppBuild: {} 565 | allowUnsafeCode: 0 566 | additionalIl2CppArgs: 567 | scriptingRuntimeVersion: 1 568 | gcIncremental: 0 569 | gcWBarrierValidation: 0 570 | apiCompatibilityLevelPerPlatform: {} 571 | m_RenderingPath: 1 572 | m_MobileRenderingPath: 1 573 | metroPackageName: Template_3D 574 | metroPackageVersion: 575 | metroCertificatePath: 576 | metroCertificatePassword: 577 | metroCertificateSubject: 578 | metroCertificateIssuer: 579 | metroCertificateNotAfter: 0000000000000000 580 | metroApplicationDescription: Template_3D 581 | wsaImages: {} 582 | metroTileShortName: 583 | metroTileShowName: 0 584 | metroMediumTileShowName: 0 585 | metroLargeTileShowName: 0 586 | metroWideTileShowName: 0 587 | metroSupportStreamingInstall: 0 588 | metroLastRequiredScene: 0 589 | metroDefaultTileSize: 1 590 | metroTileForegroundText: 2 591 | metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} 592 | metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, 593 | a: 1} 594 | metroSplashScreenUseBackgroundColor: 0 595 | platformCapabilities: {} 596 | metroTargetDeviceFamilies: {} 597 | metroFTAName: 598 | metroFTAFileTypes: [] 599 | metroProtocolName: 600 | XboxOneProductId: 601 | XboxOneUpdateKey: 602 | XboxOneSandboxId: 603 | XboxOneContentId: 604 | XboxOneTitleId: 605 | XboxOneSCId: 606 | XboxOneGameOsOverridePath: 607 | XboxOnePackagingOverridePath: 608 | XboxOneAppManifestOverridePath: 609 | XboxOneVersion: 1.0.0.0 610 | XboxOnePackageEncryption: 0 611 | XboxOnePackageUpdateGranularity: 2 612 | XboxOneDescription: 613 | XboxOneLanguage: 614 | - enus 615 | XboxOneCapability: [] 616 | XboxOneGameRating: {} 617 | XboxOneIsContentPackage: 0 618 | XboxOneEnableGPUVariability: 1 619 | XboxOneSockets: {} 620 | XboxOneSplashScreen: {fileID: 0} 621 | XboxOneAllowedProductIds: [] 622 | XboxOnePersistentLocalStorageSize: 0 623 | XboxOneXTitleMemory: 8 624 | xboxOneScriptCompiler: 1 625 | XboxOneOverrideIdentityName: 626 | vrEditorSettings: 627 | daydream: 628 | daydreamIconForeground: {fileID: 0} 629 | daydreamIconBackground: {fileID: 0} 630 | cloudServicesEnabled: 631 | UNet: 1 632 | luminIcon: 633 | m_Name: 634 | m_ModelFolderPath: 635 | m_PortalFolderPath: 636 | luminCert: 637 | m_CertPath: 638 | m_SignPackage: 1 639 | luminIsChannelApp: 0 640 | luminVersion: 641 | m_VersionCode: 1 642 | m_VersionName: 643 | facebookSdkVersion: 7.9.4 644 | facebookAppId: 645 | facebookCookies: 1 646 | facebookLogging: 1 647 | facebookStatus: 1 648 | facebookXfbml: 0 649 | facebookFrictionlessRequests: 1 650 | apiCompatibilityLevel: 6 651 | cloudProjectId: 652 | framebufferDepthMemorylessMode: 0 653 | projectName: 654 | organizationId: 655 | cloudEnabled: 0 656 | enableNativePlatformBackendsForNewInputSystem: 0 657 | disableOldInputManagerSupport: 0 658 | legacyClampBlendShapeWeights: 1 659 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2019.1.14f1 2 | m_EditorVersionWithRevision: 2019.1.14f1 (148b5891095a) 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 5 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Very Low 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | shadowNearPlaneOffset: 3 18 | shadowCascade2Split: 0.33333334 19 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 20 | shadowmaskMode: 0 21 | skinWeights: 1 22 | textureQuality: 1 23 | anisotropicTextures: 0 24 | antiAliasing: 0 25 | softParticles: 0 26 | softVegetation: 0 27 | realtimeReflectionProbes: 0 28 | billboardsFaceCameraPosition: 0 29 | vSyncCount: 0 30 | lodBias: 0.3 31 | maximumLODLevel: 0 32 | streamingMipmapsActive: 0 33 | streamingMipmapsAddAllCameras: 1 34 | streamingMipmapsMemoryBudget: 512 35 | streamingMipmapsRenderersPerFrame: 512 36 | streamingMipmapsMaxLevelReduction: 2 37 | streamingMipmapsMaxFileIORequests: 1024 38 | particleRaycastBudget: 4 39 | asyncUploadTimeSlice: 2 40 | asyncUploadBufferSize: 16 41 | asyncUploadPersistentBuffer: 1 42 | resolutionScalingFixedDPIFactor: 1 43 | excludedTargetPlatforms: [] 44 | - serializedVersion: 2 45 | name: Low 46 | pixelLightCount: 0 47 | shadows: 0 48 | shadowResolution: 0 49 | shadowProjection: 1 50 | shadowCascades: 1 51 | shadowDistance: 20 52 | shadowNearPlaneOffset: 3 53 | shadowCascade2Split: 0.33333334 54 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 55 | shadowmaskMode: 0 56 | skinWeights: 2 57 | textureQuality: 0 58 | anisotropicTextures: 0 59 | antiAliasing: 0 60 | softParticles: 0 61 | softVegetation: 0 62 | realtimeReflectionProbes: 0 63 | billboardsFaceCameraPosition: 0 64 | vSyncCount: 0 65 | lodBias: 0.4 66 | maximumLODLevel: 0 67 | streamingMipmapsActive: 0 68 | streamingMipmapsAddAllCameras: 1 69 | streamingMipmapsMemoryBudget: 512 70 | streamingMipmapsRenderersPerFrame: 512 71 | streamingMipmapsMaxLevelReduction: 2 72 | streamingMipmapsMaxFileIORequests: 1024 73 | particleRaycastBudget: 16 74 | asyncUploadTimeSlice: 2 75 | asyncUploadBufferSize: 16 76 | asyncUploadPersistentBuffer: 1 77 | resolutionScalingFixedDPIFactor: 1 78 | excludedTargetPlatforms: [] 79 | - serializedVersion: 2 80 | name: Medium 81 | pixelLightCount: 1 82 | shadows: 1 83 | shadowResolution: 0 84 | shadowProjection: 1 85 | shadowCascades: 1 86 | shadowDistance: 20 87 | shadowNearPlaneOffset: 3 88 | shadowCascade2Split: 0.33333334 89 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 90 | shadowmaskMode: 0 91 | skinWeights: 2 92 | textureQuality: 0 93 | anisotropicTextures: 1 94 | antiAliasing: 0 95 | softParticles: 0 96 | softVegetation: 0 97 | realtimeReflectionProbes: 0 98 | billboardsFaceCameraPosition: 0 99 | vSyncCount: 1 100 | lodBias: 0.7 101 | maximumLODLevel: 0 102 | streamingMipmapsActive: 0 103 | streamingMipmapsAddAllCameras: 1 104 | streamingMipmapsMemoryBudget: 512 105 | streamingMipmapsRenderersPerFrame: 512 106 | streamingMipmapsMaxLevelReduction: 2 107 | streamingMipmapsMaxFileIORequests: 1024 108 | particleRaycastBudget: 64 109 | asyncUploadTimeSlice: 2 110 | asyncUploadBufferSize: 16 111 | asyncUploadPersistentBuffer: 1 112 | resolutionScalingFixedDPIFactor: 1 113 | excludedTargetPlatforms: [] 114 | - serializedVersion: 2 115 | name: High 116 | pixelLightCount: 2 117 | shadows: 2 118 | shadowResolution: 1 119 | shadowProjection: 1 120 | shadowCascades: 2 121 | shadowDistance: 40 122 | shadowNearPlaneOffset: 3 123 | shadowCascade2Split: 0.33333334 124 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 125 | shadowmaskMode: 1 126 | skinWeights: 2 127 | textureQuality: 0 128 | anisotropicTextures: 1 129 | antiAliasing: 0 130 | softParticles: 0 131 | softVegetation: 1 132 | realtimeReflectionProbes: 1 133 | billboardsFaceCameraPosition: 1 134 | vSyncCount: 1 135 | lodBias: 1 136 | maximumLODLevel: 0 137 | streamingMipmapsActive: 0 138 | streamingMipmapsAddAllCameras: 1 139 | streamingMipmapsMemoryBudget: 512 140 | streamingMipmapsRenderersPerFrame: 512 141 | streamingMipmapsMaxLevelReduction: 2 142 | streamingMipmapsMaxFileIORequests: 1024 143 | particleRaycastBudget: 256 144 | asyncUploadTimeSlice: 2 145 | asyncUploadBufferSize: 16 146 | asyncUploadPersistentBuffer: 1 147 | resolutionScalingFixedDPIFactor: 1 148 | excludedTargetPlatforms: [] 149 | - serializedVersion: 2 150 | name: Very High 151 | pixelLightCount: 3 152 | shadows: 2 153 | shadowResolution: 2 154 | shadowProjection: 1 155 | shadowCascades: 2 156 | shadowDistance: 70 157 | shadowNearPlaneOffset: 3 158 | shadowCascade2Split: 0.33333334 159 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 160 | shadowmaskMode: 1 161 | skinWeights: 4 162 | textureQuality: 0 163 | anisotropicTextures: 2 164 | antiAliasing: 2 165 | softParticles: 1 166 | softVegetation: 1 167 | realtimeReflectionProbes: 1 168 | billboardsFaceCameraPosition: 1 169 | vSyncCount: 1 170 | lodBias: 1.5 171 | maximumLODLevel: 0 172 | streamingMipmapsActive: 0 173 | streamingMipmapsAddAllCameras: 1 174 | streamingMipmapsMemoryBudget: 512 175 | streamingMipmapsRenderersPerFrame: 512 176 | streamingMipmapsMaxLevelReduction: 2 177 | streamingMipmapsMaxFileIORequests: 1024 178 | particleRaycastBudget: 1024 179 | asyncUploadTimeSlice: 2 180 | asyncUploadBufferSize: 16 181 | asyncUploadPersistentBuffer: 1 182 | resolutionScalingFixedDPIFactor: 1 183 | excludedTargetPlatforms: [] 184 | - serializedVersion: 2 185 | name: Ultra 186 | pixelLightCount: 4 187 | shadows: 2 188 | shadowResolution: 2 189 | shadowProjection: 1 190 | shadowCascades: 4 191 | shadowDistance: 150 192 | shadowNearPlaneOffset: 3 193 | shadowCascade2Split: 0.33333334 194 | shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} 195 | shadowmaskMode: 1 196 | skinWeights: 4 197 | textureQuality: 0 198 | anisotropicTextures: 2 199 | antiAliasing: 2 200 | softParticles: 1 201 | softVegetation: 1 202 | realtimeReflectionProbes: 1 203 | billboardsFaceCameraPosition: 1 204 | vSyncCount: 1 205 | lodBias: 2 206 | maximumLODLevel: 0 207 | streamingMipmapsActive: 0 208 | streamingMipmapsAddAllCameras: 1 209 | streamingMipmapsMemoryBudget: 512 210 | streamingMipmapsRenderersPerFrame: 512 211 | streamingMipmapsMaxLevelReduction: 2 212 | streamingMipmapsMaxFileIORequests: 1024 213 | particleRaycastBudget: 4096 214 | asyncUploadTimeSlice: 2 215 | asyncUploadBufferSize: 16 216 | asyncUploadPersistentBuffer: 1 217 | resolutionScalingFixedDPIFactor: 1 218 | excludedTargetPlatforms: [] 219 | m_PerPlatformDefaultQuality: {} 220 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - PostProcess 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 1 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_TestInitMode: 0 13 | CrashReportingSettings: 14 | m_EventUrl: https://perf-events.cloud.unity3d.com 15 | m_Enabled: 0 16 | m_LogBufferSize: 10 17 | m_CaptureEditorExceptions: 1 18 | UnityPurchasingSettings: 19 | m_Enabled: 0 20 | m_TestMode: 0 21 | UnityAnalyticsSettings: 22 | m_Enabled: 0 23 | m_TestMode: 0 24 | m_InitializeOnStartup: 1 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_RenderPipeSettingsPath: 10 | m_FixedTimeStep: 0.016666668 11 | m_MaxDeltaTime: 0.05 12 | -------------------------------------------------------------------------------- /ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Pointclouds rendering in Unity with compute shaders 2 | ================= 3 | 4 | This repo contains a compute shader which with the help of some C# scripts spawns particles on the vertices of the meshes. You can use this for point cloudrendering 5 | For more info have a look at this post: https://medium.com/realities-io/point-cloud-rendering-7bd83c6220c8 6 | 7 | ![screenshot](https://i.imgur.com/BxKnx6C.gif) 8 | --------------------------------------------------------------------------------