Hi,
I'm new to Unity and Compute Shaders. I'm trying to implement GPU Flocking using compute shaders in Unity to show that GPU Computing is faster than the CPU . I've managed to write a script and implement the flocking effect in both CPU and GPU. However, the GPU Flocking FPS tends to be slower than the CPU Flocking's FPS. The method I've used is to perform all calculations for each prefab in a Compute Shader and return the value. I've implemented "Ping Pong" effect but the CPU still seems to be faster? Is there any other method I can use to show the GPU is faster?
Thanks in Advance
↧