



















































































































	
	
	



































































































;------------------------------------------------------------------------------
; Texture coordinates
;------------------------------------------------------------------------------

; Scale and offset the base texture coordinates
mov		r0, c12
mul		r0, r0, c94
mad		r0, v3, r0, c13
mov		oT0.xy, r0

; Detail map coordinates
mul		oT1.xy, r0, c5
