Hi all,
I am new on ComputeShader.
In my application, I wrote a script that contains many may (>10,000) times of Physics.Raycast
However, it is well-known that Physics.Raycast is CPU, and thus slow.
I look into google, and found that ComputeShader Unity is something similar to CUDA
And I would like to write a ComputeShader version of Physics.Raycast.
I will be glad if any friends here can give me advise or reference about this.
Thanks a lot! and have a nice day.
William
↧