#include "..\..\VertexShader.h" ;------------------------------------------------------------------------------ ; Texture coordinates ;------------------------------------------------------------------------------ ; Scale and offset the base texture coordinates mov r0, c12 mul r0, r0, C_TEXCOORD_DECOMPRESS mad r0, vTexCoords, r0, c13 mov oT0.xy, r0 ; Detail map coordinates mul oT1.xy, r0, C_DETAIL_FACTOR