Skip to content

keijiro/NoiseBall6

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
June 9, 2021 13:30
DXR
August 15, 2023 21:33
August 15, 2023 21:52
URP
August 15, 2023 22:47
June 7, 2021 18:25
June 9, 2021 13:30
June 11, 2021 09:40

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.

  • Common: C# scripts & compute shaders
  • DXR: HDRP + DXR sample project (requires ray-tracing hardware)
  • HDRP: HDRP sample project (runs on desktop/console)
  • URP: URP sample project (compatible with all platforms)

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

About

Unity sample project: Direct mesh data access from compute shaders

Resources

Stars

Watchers

Forks

Languages