Emit particle from center of triangle

As far as I know, the operation of input a Matrix as a Buffer StructuredBuffer<float4x4> does not work. If you want to use it as a Matrix in your shader, you can use GpuStruct via StructuredBuffer or reconstruct the Matrix from three float3.

TransformBuffer_2.zip (35.9 KB)

2 Likes