Home

Awesome

NoiseBall6

photo

NoiseBall6 is a Unity sample project that shows how to access vertex/index buffers directly from compute shaders.

This sample uses the new Mesh API (available from Unity 2021.2a19) that exposes vertex/index buffers from a Mesh object via GraphicsBuffer objects. You can directly read/write them from compute shaders without spending CPU-side resources.

For details of the new API, please check out the introductory document.

What's inside

This repository contains a common source code package and multiple projects that work with each render pipeline/feature.

The Common package is automatically referenced from each project. You can simply open these projects without any special care.