Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
ArthurBrussee's avatar
ArthurBrussee
Honored Guest
11 years ago

DX11 Compute buffers broken?

Hi There,

developer of TC Particles here, the one that makes the sparkes in MotM (http://rustltd.com/projects/the-museum-of-the-microstar)


Recently got my hands on a DK2, and it's awesome but I can't get TC Particles to work on it. After much digging I found the reason why stuff doesn't show up.

The particles are stored in a compute buffer (http://docs.unity3d.com/ScriptReference/ComputeBuffer.html). In editor this works fine. In a build however, it seems that only the very first element is set of the buffer, but the rest is just set to default values.

I tried Shader.SetGlobalBuffer and Material.SetBuffer variants. Both RWStructureBuffer and StructuredBuffers aren't working. This only is the case when I'm rendering with the OVR camera.

Any thoughts are much appreciated :) Hope this can be fixed in 0.4.2

Hardware:
Malibal Lotus - i7-3740QM 2.7ghz
16gb ram
Nvidia 680m 4gb
Using HDMI out to DirectMode only

23 Replies

Replies have been turned off for this discussion