vfx logo

Github ArtStation ShaderToy HMI LinkedIn

# Indirect Rendering and GPU Culling This sample implementes a procedural (indirect) Scriptable Render Pass, which is instantiated and enequeued within the Univesral Render Pipeline: https://github.com/eldnach/indirect-rendering

DrawIndirect

Indirect Drawing allows to procedurally generate geometry and drawing parameter data using compute shaders. This technique can be used in order to massively-parallelize the transformation, culling, and rendering of complex geometries. In this example, a compute shader is used in order to procedurally generate and transform a large amount of vertices and mesh instances. A final instance-based culling dispatch is executed once per frame, in order to procedurally render any visible instances:

GPUCullling

## Renderer Feature You can enable and configure the procedural rendering pass by adding a "Procedural Rendering Feature" to the active UniversalRenderer.asset:

RendererFeature

The renderer feature's settings can be used to load an input mesh, configure the per-instance mesh count, and set the total instance count. Optional heightmap, wind deformation and camera-based repulsion can be enabled.

About Me

Realtime graphics enthusiant, currently working as a Technical Product Manager for the Unity Engine.

In this blog, I share some useful tools and personal projects to assist with Unity and realtime graphics development.