├── .gitattributes ├── SeamlessVirtualGeometry-2025-14-5--11-26-44.part1.rar ├── SeamlessVirtualGeometry-2025-14-5--11-26-44.part2.rar ├── SeamlessVirtualGeometry-2025-14-5--11-26-44.part3.rar ├── LICENSE └── README.md /.gitattributes: -------------------------------------------------------------------------------- 1 | *.package filter=lfs diff=lfs merge=lfs -text 2 | *.rar filter=lfs diff=lfs merge=lfs -text 3 | -------------------------------------------------------------------------------- /SeamlessVirtualGeometry-2025-14-5--11-26-44.part1.rar: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:57c0213c5d8b722c47c85be10ff6781761548f591f97eb1b3184eaa70b86d3e8 3 | size 1073741824 4 | -------------------------------------------------------------------------------- /SeamlessVirtualGeometry-2025-14-5--11-26-44.part2.rar: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:b1b8cc5246064e3ce219290a6b8c76cec299ac4d291f2c253d8b893739e1bad6 3 | size 1073741824 4 | -------------------------------------------------------------------------------- /SeamlessVirtualGeometry-2025-14-5--11-26-44.part3.rar: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:a21fbec51222af18ae361802c101933428a5703234386dcb444c250b4717c747 3 | size 201391444 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2025 ZEngineStudios 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Unity-Nanite-Seamless-Virtual-Geometry 2 | 3 | Nanite in Unity Now! 4 | 📘 Online Document: https://zenginestudios.github.io/ 5 | 6 | ## 🎥 YouTube Demos 7 | 8 | [![Video 1](https://img.youtube.com/vi/BfrKjMJbpjc/0.jpg)](https://www.youtube.com/watch?v=BfrKjMJbpjc) 9 | [![Video 2](https://img.youtube.com/vi/Mvty08Og7Lo/0.jpg)](https://www.youtube.com/watch?v=Mvty08Og7Lo) 10 | [![Video 3](https://img.youtube.com/vi/BMM8glnEb9o/0.jpg)](https://www.youtube.com/watch?v=BMM8glnEb9o) 11 | [![Video 4](https://img.youtube.com/vi/wklo_K_ixQI/0.jpg)](https://www.youtube.com/watch?v=wklo_K_ixQI) 12 | [![Video 5](https://img.youtube.com/vi/yaKzL0-Msgo/0.jpg)](https://www.youtube.com/watch?v=yaKzL0-Msgo) 13 | 14 | ## 🧾 Summary 15 | 16 | A Unity package inspired by Virtual Geometry, enabling massive, detailed asset rendering with seamless LOD management and virtualized geometry. It is a fully GPU-driven solution. 17 | 18 | Seamless Virtual Geometry is a package similar to Unreal's Virtual Geometry. This package allows developers to render massive amounts of detailed assets with unparalleled efficiency, leveraging advanced level-of-detail (LOD) management. Some source code is provided, while the core code and shaders are provided in the form of DLLs and Asset Bundles. 19 | 20 | ## ⚙️ Description 21 | 22 | ### ✅ Supported Features: 23 | 24 | - Meshlet LOD and BVH node generation 25 | - Meshlet LOD hierarchy 26 | - BVH tree 27 | - Instance GPU frustum and occlusion culling 28 | - BVH node GPU frustum and occlusion culling with LOD traversal 29 | - Meshlet GPU frustum and occlusion culling 30 | - Hardware rasterizer 31 | - Visibility buffer 32 | - Shadow support, including point light shadows and directional light shadows (CSM) 33 | - Deferred material 34 | - Per-chunk material culling 35 | - Single-phase Occlusion Culling 36 | - Programmable rasterizer (Alpha Test) 37 | - Skinned mesh 38 | - Rendering layer supported 39 | - Deferred shading only 40 | - Per-object GI is supported (per-object light probe, reflection probe and Lightmap) 41 | - Meshlet generation speed up 42 | 43 | ### ❌ Not Supported Yet: 44 | 45 | - No software rasterizer 46 | - No two phase Occlusion Culling 47 | - No Streaming 48 | - No Compression currently 49 | - Not Support Unity Terrain (no plan to support) 50 | 51 | ## 📖 User Guide 52 | 53 | - Try the package with an empty URP Core project and enter the demo scene. 54 | - The demo folder can be safely deleted. 55 | - If you encounter any issues, please send me an email with your Unity version, URP version, and a detailed description of the problem. If possible, provide the simplest reproducible version of the issue. Or commit a GitHub issue. 56 | - 📧 Email: [zenginestudios@hotmail.com](mailto:zenginestudios@hotmail.com) 57 | 58 | ## 📄 License 59 | 60 | This software is licensed under the MIT License, with the following additional condition: 61 | 62 | > If you use this software in a released game or product, you must: 63 | > - Allow your product to be listed publicly as a user of this software; 64 | > - Include a visible reference to this repository in your product’s “About” or “Credits” page. 65 | 66 | ❗Failure to comply with these terms terminates your right to use this software. 67 | 68 | ## ☕ Support This Project 69 | 70 | If you like this project, please consider buying me a coffee: 71 | 72 | 73 | Buy Me a Coffee 74 | 75 | 76 | ## 📦 Dependencies 77 | 78 | This project makes use of the following open-source or external libraries: 79 | 80 | - **Meshoptimizer** (used for meshlet generation) — [https://github.com/zeux/meshoptimizer](https://github.com/zeux/meshoptimizer) 81 | - **METIS** (BVH build) — [https://github.com/KarypisLab/METIS](https://github.com/KarypisLab/METIS) 82 | - **nanite-webgpu** (Inspired strongly by) — [https://github.com/Scthe/nanite-webgpu](https://github.com/Scthe/nanite-webgpu) 83 | --------------------------------------------------------------------------------