Rendering & implementation · 1 / 10
Compute Shader
GPU上で粒子や流体の並列計算を行う。
Compare in motion
Interactive model
数千の粒子
AReference
一列で順番に更新するモデル
BCompute Shader100%
多数の要素の計算をまとめられる
Scrub to pause and inspect. At 0%, B matches A; at 100%, B shows the effect. The scene repeats every 8 seconds.
Look for: GPUで並列に更新 → 一斉に動き出す。
This model simplifies the technique to show its use case and effect. Operation counts describe the model; they are not performance measurements.
Read the storyboard
例: 数千の粒子
1. Start
多くの粒子が止まる
2. Change
GPUで並列に更新
3. Result
一斉に動き出す
How it works
1. Input
大量の要素のデータ
2. Process
GPU の並列プログラムで計算
3. Result
同時更新されたデータ
Further reading
Unity ComputeShader ↗A general reference for this subcategory.