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

Matrix multiplication in compute shader ?

$
0
0
I get a type mismatch error from the following line in my compute shader: float3 p = result.location + vertex * result.rotation; result.location as well as vertex are float3, result.rotation is a float3x3. How would I go about matrix multiplication in direct compute in unity ?

Viewing all articles
Browse latest Browse all 287

Trending Articles



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