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 ?
↧