3

HLSL, for the love of all that is holy, this is now the THIRD time you made me waste hours trying to debug a shader because of stupid implicit conversions

Turns out that multiplying a float3 by a float4x4 silently truncates the matrix to float3x3, dropping the translation part 😐

Thank you dxc, very cool

Comments
Add Comment