!!ARBvp1.0
# Constant Parameters
# Constant Parameters
PARAM mvp[4] = { program.local[0..3] }; # modelviewprojection matrix
# Per-vertex inputs
ATTRIB inPos = vertex.position;
ATTRIB inTex0 = vertex.texcoord[0];
# Per-vertex outputs
OUTPUT outPosition = result.position;
OUTPUT outTex0 = result.texcoord[0];
# Transform
DP4 outPosition.x, mvp[0], inPos; # Transform the x component of the per-vertex position into clip-space
DP4 outPosition.y, mvp[1], inPos; # Transform the y component of the per-vertex position into clip-space
DP4 outPosition.z, mvp[2], inPos; # Transform the z component of the per-vertex position into clip-space
DP4 outPosition.w, mvp[3], inPos; # Transform the w component of the per-vertex position into clip-space
MOV outTex0, inTex0;
END