Advanced: Compute shaders and graphics
Particle system
Update particles with a compute shader.
Learning steps
Compute shaders are for general-purpose computation, not just drawing.
Characteristics:
- Optimized for parallel work.
- Great for large data sets.
- Independent of the graphics pipeline.
Workgroups:
- Group multiple threads together.
- Shared memory within a group.
- Can have a 3D size.
Task
Update particle positions in a compute shader.
Progress 0 / 3 completed
コンソール