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

My mesh is spagetti??!

$
0
0
Hey! So I decided to calculate noise on a compute shader for my infinite terrain. My issue is when I get the data the mesh I get in return is spaggetti. Like they arent connecting to the correct vertices. What I do is give the shader the vertices and it returns the vertices with the height data. I know that it wont return the vertices in order so I made a triangle struct to make sure they return correctly but it doesn't seem to work. Is there something I'm missing that I need to take in to account while working with compute shaders? Thanks

Viewing all articles
Browse latest Browse all 287

Trending Articles



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