It can replace multiple Static Mesh Actors with single, combined Static Mesh Actor at long view distances. This helps reduce the number of Actors that need to be rendered for the scene, increasing performance by lowering the number of draw calls per frame.
Render image | Show draw calls | Show draw calls of HLOD |
---|---|---|
![]() |
![]() |
![]() |
Here is the result what the HLODSystem how can be helped it.
DrawCalls | Tris | |
---|---|---|
Normal | 5642 | 8.0M |
HLOD | 952 | 3.9M |
Rate | 16.87% | 48.75% |
Unity Version: 2021.3.3f1
Currently, I developed in 2021.2.19f1. Probably it works on the 2020.3 but I can't guarantee.
You need Git Client which can work with GitHub.
If you don't have Git installed on your machine, download and install it from Git Home.
To clone the project, your Git must be configured to work with SSH Authentication, as HLODSystem uses SSH Authentication to work with Git Submodules. Check this link to set up your git to use SSH to connect to GitHub.
The project uses a number of other projects as dependencies, and they are included into it as Git Submodules. To have a fully working project, you should those submodules included into the project after you clone the project.
First, run the following command to clone the project:
$ git clone [email protected]:Unity-Technologies/HLODSystem.git
After cloning is finished, navigate to the root folder of the project, and run the following command to initialize and clone all submodules:
$ git submodule update --init --recursive
Please refer to this document: https://docs.google.com/document/d/18HgBIr8oJweKaXtsIHZlh0s5HuXvQVmVfVcMPHAYS1A/edit#
Also, you can see this project to how to apply to 3D game kit.
Copyright (c) 2019 Unity Technologies ApS Licensed under the Unity Companion License for Unity-dependent projects see Unity Companion License. Unless expressly provided otherwise, the Software under this license is made available strictly on an βAS ISβ BASIS WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. Please review the license for details on these and other terms and conditions.
Document: https://docs.google.com/document/d/1OPYDNpwGFpkBorZ3GCpL9Z4ck-6qRRD1tzelUQ0UvFc