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

Issue with Compute Shader

$
0
0
Hey, I'm working on converting some code I have to a compute shader but am getting weird results and am not sure why. the code is *supposed* to create a sphere with some deformation for height but its like the shader is only running for every nth vertices. image?![here is an image of it](https://i.imgur.com/P2rwPpe.png "planet gen image"). I've attached the compute shader and the script that calls it (as txt files cause that all you can upload here apparently). I have a feeling the issue is with my lack of understanding of compute shader threads. but who knows [link text][1] [1]: /storage/temp/189230-terrainface.txt

Viewing all articles
Browse latest Browse all 287

Trending Articles



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