- Home /
Question by
dkaloger · Mar 30, 2021 at 08:59 PM ·
compute shaderhlsl
remove empty values from computebuffer in computeshaders
i have a 3d computeshader that transfers a large float3 computebuffer with locations to the cpu to make draw calls and a float4 one with the colors , but this also ends up creating uneccesery draw calls for posisitons with an apha of zero .Also i have to solve this in Hlsl as it would be too slow on the cpu
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613031528im_/https://answers.unity.com/themes/thub/images/avi.jpg)