GsSetLightMatrixSets the light matrix | |||
Arguments
Return ValueNone.ExplanationThe local screen light matrix pointed to by mp is multiplied by the matrix of three light vectors and the result is set as the light matrix in GTE.The light matrix needs to be set in GTE prior to performing light source calculations. Depending on the type of model data, the GsSortObject4() function may perform light source calculation at the time of execution. In this case, the light matrix needs to be preset using GsSetLightMatrix(). The matrix mp specified as the argument to GsSetLightMatrix() is normally a local world matrix. See AlsoGsSortObject4(), GsGetLw(), MATRIX |