Fast Instanced Renderer
Renders many instances of a single mesh on top of a ground mesh using the GPU. It is EXTREMELY optimized and offers easy and intuitive customization.
by Ragnox
Price History +
This package helps you achieve peak performance where it counts most with near-zero effort. It works in two steps:
- Set parameters about how the object looks and behave
- Provide a ground mesh (Mesh, Terrain, or SkinnedMesh) on which the instances are placed
You can split this asset roughly into two parts:
parameters that affect looks and behaviour,
and parameters that optimize for performance.
Looks and behaviour
- Control where instances are placed (height, steepness)
- Orient instances along ground-surface normals
- Size variation (noise parameters)
- Extensive wind parameters for vertex animations
- Lighting, color, texture, transparency, alpha cutout
- Placement mask (place instances only in painted regions)
- Interaction (blending instances away from a volume)
- ...
Optimizations
- GPU frustum culling
- Dynamic GPU occlusion culling (hierarchical Z-culling)
- Distance-based culling with fade-in
- Backface rendering
- Partial billboarding for increased foliage density
- Culling based on ground-mesh backfaces
- Shadow sampling parameters
- Custom cull volumes
- Advanced GPU algorithms and bit-packing
- Use of Unity’s Native Mesh Buffers
- ...