#include "VertexShader.h" ;------------------------------------------------------------------------------ ; Vertex transformation ;------------------------------------------------------------------------------ mov r0, c10 mad OPOS, vPos, r0, c11 FIXUP_OPOS ;------------------------------------------------------------------------------ ; Lighting calculation ;------------------------------------------------------------------------------ ; Combine vertex color and material color mul oD0, vDiffuse, C_MATERIAL_COLOR ;------------------------------------------------------------------------------ ; Texture coordinates ;------------------------------------------------------------------------------ mov oT0, vTexCoords