GPU Instancing & Compute Shader Demo
Features
- can render over a million quads
- uses the Graphics.RenderMeshPrimitives API
- enable/disable billboarding (mesh will always face the camera)
- position and rotation are updated in a compute shader
- applies frustum culling by passing in the bounds of the render area
- generates random points within a sphere and random rotation axes
- list of speeds and sizes to be chosen at random