Difference between revisions of "GPU Instancer Pro"

From GurBu Wiki
Jump to: navigation, search
(Minimum Requirements)
(Minimum Requirements)
Line 55: Line 55:
 
GPU Instancer Pro requires Unity 2022.3 or higher to take advantage of the latest Unity features.
 
GPU Instancer Pro requires Unity 2022.3 or higher to take advantage of the latest Unity features.
  
To provide the fastest possible performance, GPU Instancer Pro utilizes indirect GPU instancing using Unity's [https://docs.unity3d.com/ScriptReference/Graphics.RenderMeshInstanced.html RenderMeshInstanced] API and [https://docs.unity3d.com/Manual/class-ComputeShader.html Compute Shaders]. The target devices should support GPU instancing ([https://docs.unity3d.com/ScriptReference/SystemInfo-supportsInstancing.html SystemInfo.supportsInstancing]) and Compute Shaders ([https://docs.unity3d.com/ScriptReference/SystemInfo-supportsComputeShaders.html SystemInfo.supportsComputeShaders]).
+
To provide the fastest possible performance, GPU Instancer Pro utilizes indirect GPU instancing using Unity's [https://docs.unity3d.com/ScriptReference/Graphics.RenderMeshIndirect.html RenderMeshIndirect] API and [https://docs.unity3d.com/Manual/class-ComputeShader.html Compute Shaders]. The target devices should support GPU instancing ([https://docs.unity3d.com/ScriptReference/SystemInfo-supportsInstancing.html SystemInfo.supportsInstancing]) and Compute Shaders ([https://docs.unity3d.com/ScriptReference/SystemInfo-supportsComputeShaders.html SystemInfo.supportsComputeShaders]).
  
 
Please also note that even though some integrated graphics cards may satisfy these requirements, they may not provide the boost you can get from GPU Instancing. Therefore, hardware with a dedicated GPU is recommended.
 
Please also note that even though some integrated graphics cards may satisfy these requirements, they may not provide the boost you can get from GPU Instancing. Therefore, hardware with a dedicated GPU is recommended.

Revision as of 03:36, 18 April 2024

About GPU Instance Pro | Getting Started | Terminology | Best Practices | API Documentation | F.A.Q. | Support


Built upon the foundation of GPU instancing technology, GPU Instancer Pro empowers users to efficiently manage and render large quantities of objects within Unity scenes, significantly reducing draw calls and optimizing performance.



Features

With GPU Instancer Pro, developers can seamlessly integrate vast arrays of objects into their projects, whether they're working with Unity terrain systems, Prefabs, or without GameObjects. It enables developers to easily manage and render massive amounts of objects such as trees, grass, rocks, or any other type of prefab with minimal performance overhead. The asset provides advanced features and customization options, allowing users to optimize culling techniques, fine-tune LOD settings, and tailor rendering parameters to suit the unique requirements of their projects. To provide the fastest possible performance, GPU Instancer Pro utilizes Indirect GPU Instancing using Unity's RenderMeshInstanced method and Compute Shaders.


GPU Instancer Pro comprises several modules tailored to enhance rendering efficiency and streamline workflow:


Core Module

This foundational module encompasses essential functionality such as rendering, culling, LOD management, billboard creation, and debugging tools. While it lacks a Manager class, developers can utilize GPU Instancer Pro's rendering system through the API, enabling the creation of custom managers. Features include:

  • GPU-based Distance, Frustum, and Occlusion culling.
  • LOD calculation performed on the GPU and Cross-fading support.
  • Built-in support for multiple cameras.
  • Billboard generation capability.
  • API methods for rendering instances with a Matrix4x4 array.
  • Statistical insights such as visible LOD and vertex counts.


Prefab Module

Equipped with the Prefab Manager, this module offers an intuitive interface for rendering and managing a multitude of prefab instances in scenes. Developers can easily control the addition, removal, and transformation data updates of prefab instances in GPU memory. Key features include:

  • Automatic addition and removal of prefab instances.
  • Automatic runtime update of transform data.
  • Prefab and scene analysis for optimization opportunities.
  • HDRP motion vectors support.


Terrain Module

This module facilitates the rendering of Terrain details and trees using GPU Instancer Pro. It includes the Detail Manager and Tree Manager, providing the following capabilities:

  • Support for multiple terrains with minimal draw calls.
  • Unlimited rendering distance for details and trees.
  • Support for Instance Count and Coverage Mode options in the Detail Scatter Mode terrain setting.
  • Density reduction of details based on distance.
  • Terrain details LOD support.


Minimum Requirements

GPU Instancer Pro requires Unity 2022.3 or higher to take advantage of the latest Unity features.

To provide the fastest possible performance, GPU Instancer Pro utilizes indirect GPU instancing using Unity's RenderMeshIndirect API and Compute Shaders. The target devices should support GPU instancing (SystemInfo.supportsInstancing) and Compute Shaders (SystemInfo.supportsComputeShaders).

Please also note that even though some integrated graphics cards may satisfy these requirements, they may not provide the boost you can get from GPU Instancing. Therefore, hardware with a dedicated GPU is recommended.