hello guys,

i follow the shadow mapping tutorial of opengl, but i got some werid image, why the depth projected on the model like this?

the second problems is the projected texture matrix, i use the left hand coordinate, in some tutorial the matrix is like this

some are this,

so i am confused which one is the correct one,

thanks in advance!