vs.2.0

dcl_position v0
dcl_color v1
dcl_normal v2
dcl_texcoord0 v3 

def c50, 0, 0, 0, 0
def c51, 1, 1, 1, 1
def c52, 0.5, 0.5, 0.5, 0.5
def c53, 16, 16, 16, 16
                            
m4x4 r0, v0, c0
m4x4 r1, r0, c4               
m4x4 r0, r1, c8
mov oPos, r0  


mov r1, v2         ;for diffuse/specular
mov r1.w, c50.x
m4x4 oT7, r1, c12

m4x4 r0, v0, c12   ;for specular
add r1, c32, -r0
nrm r0, r1
mov oT6, r0  

mov oT0, v3