vs_2_0 dcl_position v0 dcl_color v2 dcl_texcoord0 v3 #include "VertexShader.h" ;------------------------------------------------------------------------------ ; Geometry transform ;------------------------------------------------------------------------------ ; Transform position to projection space m4x4 OPOS, vPos, C_PROJECTION_MATRIX FIXUP_OPOS ;------------------------------------------------------------------------------ ; Diffuse color ;------------------------------------------------------------------------------ ; Set the diffuse color mov oD0, vDiffuse ;------------------------------------------------------------------------------ ; Texture coordinates ;------------------------------------------------------------------------------ mov oT0, vTexCoords