Instancing Compute Shader Issues

Hi Guys,
i’m trying to resurrect some workshop material from Node20, “Stride Deep Dive”
In particular the Image instancer example. It looks fine to me, no red nodes and the shader compiles, but i don’t get it working on recent gamma builds.

Any help would be great.

Deep (25.9 KB)

The only problem is that you have used buffers that aren’t writable on the GPU. Dynamic buffers are only for uploading fast-changing data from the CPU to GPU. The correct buffer is ComputeBuffer, see the Buffer and Texture overview help patch:

The Buffers patch should then look like: (52.2 KB)

1 Like

Little update, would it be right like that?

yes, absolutely, forgot about that. you can also set it to 0 or -1, then it gets discovered from the element size of the initial data.

1 Like

Updated version.
Deep (19.0 KB)


2 flavours


This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.