learnd3d11
learnd3d11 copied to clipboard
Fix vertex shader
trafficstars
in all chapters Assets/Main.vs.hlsl
instead of
const matrix modelViewProjection = mul(ProjectionMatrix, mul(ViewMatrix, WorldMatrix));
do
const matrix modelViewProjection = mul(WorldMatrix, mul(ViewMatrix, ProjectionMatrix));
with row_major matrixes instead of matrix