drumath2237 / Boids-Unity-ComputeShader-Sandbox

Boids simulation implemented with Compute Shader and VFX Graph.
Apache License 2.0
9 stars 0 forks source link

pos, vel, accの配列ではなくBoid構造体の配列を作ってそこでデータを管理する #10

Closed drumath2237 closed 6 months ago

drumath2237 commented 6 months ago

VFXGraphが独自定義の構造体をとるGraphicsBufferをサンプリングできることが分かったので、サンプリングしやすいようにデータをまとめる