mbohun
1/25/2013 - 5:27 AM

ARBvp1.0 simple

ARBvp1.0 simple

!!ARBvp1.0

PARAM mvp[4] = { state.matrix.mvp };

DP4 result.position.x, mvp[0], vertex.position;
DP4 result.position.y, mvp[1], vertex.position;
DP4 result.position.z, mvp[2], vertex.position;
DP4 result.position.w, mvp[3], vertex.position;
  
MOV result.texcoord[0], vertex.texcoord[0];
MOV result.texcoord[1], vertex.texcoord[1];

END