GPU Driven Instance Plugin

Created
Jan 19, 2024 03:05 AM
Software
Unreal
Key Words
C++, Rendering
Category
Plugin
Program Tool

Pics and Vids

notion image
 

Description

Full GPU-driven mesh rendering pipeline in a single plugin. With culling, customized buffer and materials handled together in UE 4.26.2.
 

Technical Brief

Using an indirect-draw interface to achieve this. Customized mesh components and vertex factories for rendering the vertex buffers. Compute shaders implemented for sampling textures to generate instance positions and culling. The depth buffer is acquired using the ViewExtension. All features are implemented in a plugin for easy deployment for the project.
 

Related Links

I wrote Chinese tutorials for this
Code is available here: