Quantcast
Viewing all articles
Browse latest Browse all 69

Passing values from Shader to C# script

Hello Guys, I am making a program in which I need to Raycast in the shader and pass values of collision(distance from camera) to the C# script. I need to cast 1000 rays from camera to distance of 50 metres. Each ray angle is different by 0.25 degrees. Please help. Any help is appreciated

Viewing all articles
Browse latest Browse all 69

Trending Articles



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