Quantcast
Channel: Questions in topic: "compute shader"
Viewing all articles
Browse latest Browse all 287

ComputeShader version of Physics.Raycast

$
0
0
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

Viewing all articles
Browse latest Browse all 287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>