Hello guys !
I try reading the source code of DrNSeven's ESP and found that he get the MVP matrix by
Code:
pDevice->GetVertexShaderConstantF(13, Matrix, 4);
And there are some lines in the source code like this:
Code:
// Registers:
//
// Name Reg Size
// --------------- ----- ----
// PointLightAttr c0 5
// world c5 4
// ShadowLightAttr c9 4
// wvp c13 4
// texTrans0 c17 3
// FogInfo c20 1
// CameraPos c21 1
So how does he get these lines ? I try googling but I dont know what keyword to search for, so hope you guys can help me, thanks in advance.