learnd3d11 icon indicating copy to clipboard operation
learnd3d11 copied to clipboard

Fix vertex shader

Open deccer opened this issue 3 years ago • 0 comments
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

deccer avatar Mar 28 '22 17:03 deccer